Commit Graph

99180 Commits

Author SHA1 Message Date
christos dad84218d6 Fix iplog problem on sparc64 [from Tomi Nylund]
1. size_t is 64 bits, so use a u_32_t for iplused
	2. microtime() and friends expect a struct timeval,
	   passing the first of two unsigned longs will not cut it.
2002-07-01 13:55:35 +00:00
christos 2a01227008 Add example use of WSDISPLAY_CHARFUNCS, from Julio Merino 2002-07-01 13:19:05 +00:00
christos 63a19c881d more cleanups from Julio Merino. 2002-07-01 13:17:48 +00:00
itojun 9922c987a9 make more pedantic check on strtoul. from deraadt, sync w/kame 2002-07-01 07:42:49 +00:00
itojun 124313224f install ssh-keysign non-setuid for the moment.
(HostbasedAuthentication does not work for a while)
2002-07-01 06:19:22 +00:00
itojun 8d3378688a pednatic check on command line args. correct signed/unsigned mixup.
sync w/ openbsd
2002-07-01 06:17:11 +00:00
itojun 84559971ee make use of xfree() consistent. from openbsd 2002-07-01 05:56:45 +00:00
itojun 11792b93b1 don't use freed memory. sync w/openbsd 2002-07-01 05:54:03 +00:00
thorpej 0ba2c1b425 When delivering a signal, arrange for the signal handler to be invoked
directly, using the trampoline only for the return path.
2002-07-01 03:10:01 +00:00
sommerfeld 83ec04ebe8 Revise 20010803 since i386 gas is no longer built where that entry
said it was.
2002-07-01 02:12:11 +00:00
thorpej 40a83c5329 Add kttcp device. Fix systrace major number. 2002-06-30 23:31:59 +00:00
thorpej 47506c123a Add kttcp device. 2002-06-30 23:30:07 +00:00
dbj c88ccea33d commit fix from pr bin/15449
this fixes FS_42POSTBLFMT compatibility
2002-06-30 22:57:30 +00:00
thorpej 10c252ba47 Changes to allow the IPv4 and IPv6 layers to align headers themseves,
as necessary:
* Implement a new mbuf utility routine, m_copyup(), is is like
  m_pullup(), except that it always prepends and copies, rather
  than only doing so if the desired length is larger than m->m_len.
  m_copyup() also allows an offset into the destination mbuf, which
  allows space for packet headers, in the forwarding case.
* Add *_HDR_ALIGNED_P() macros for IP, IPv6, ICMP, and IGMP.  These
  macros expand to 1 if __NO_STRICT_ALIGNMENT is defined, so that
  architectures which do not have strict alignment constraints don't
  pay for the test or visit the new align-if-needed path.
* Use the new macros to check if a header needs to be aligned, or to
  assert that it already is, as appropriate.

Note: This code is still somewhat experimental.  However, the new
code path won't be visited if individual device drivers continue
to guarantee that packets are delivered to layer 3 already properly
aligned (which are rules that are already in use).
2002-06-30 22:40:32 +00:00
heinz 16264d3f6d include polish keymaps in xserver sets 2002-06-30 22:05:16 +00:00
thorpej 8eb0145183 Add a table of known-64-bit DP83820-based cards. Use this table
to enable 64-bit data transfers on 64-bit cards when plugged into
a 64-bit slot.  Right know the Asante GigaNIX is listed in that
table.

Sigh, there is an EEPROM bit that can be used to detect 64-bit vs
32-bit cards.  Unfortunately, at least 2 vendors of 32-bit cards
fail to clear the "DATA64_EN" bit in the EEPROM, which causes the
card to lose badly, because it still manages to detect that it's
plugged into a 64-bit PCI slot.  Yay, stupid hardware vendors.
2002-06-30 20:36:06 +00:00
thorpej 145fa4de8a Load configuration data from the EEPROM on the DP83820 differently: rather
than grovel the EEPROM directly, initiate an "EEPROM load" in the PCI
test register, and fetch the values from the CFG register.
2002-06-30 20:04:43 +00:00
thorpej b77065a9a2 Update the TODO list: We have some Tx interrupt mitigation now, so
we need to do Rx interrupt mitigation next.
2002-06-30 19:13:46 +00:00
thorpej c9983ba67f Be more aggressive in giving descriptors to the chip in the transmit
path: Instead of waiting for the if_snd queue to be drained before
giving ownership of the frist descriptor to the chip, do it after
sync'ing all the descriptors for a single packet.
2002-06-30 19:11:40 +00:00
thorpej 6caa2f6db1 Implement a sliding interrupt delay window for Tx interrupts. 2002-06-30 18:52:21 +00:00
thorpej 0f2cbd0361 * Give symbolic names to the CFG bits in the EEPROM.
* Get CFG_M64ADDR, CFG_T64ADDR, and CFG_DATA64_EN from the EEPROM.
  Note, we still disable CFG_M64ADDR and CFG_T64ADDR later (XXX need
  PCI bus capability flags for these).
* Print a message if we're in a 64-bit slot and 64-bit data is
  disabled in the EEPROM.  Make sure CFG_DATA64_EN is disabled if
  we're not in a 64-bit slot.
2002-06-30 18:04:12 +00:00
lukem 71764f4db5 KNF, remove unnecessary crap, ... 2002-06-30 14:17:44 +00:00
lukem 5f212d76c6 use strnode_add() to implement add_before() 2002-06-30 13:31:15 +00:00
lukem 8fa83f4011 consistently use Ic for sysinst 2002-06-30 13:10:16 +00:00
lukem cebe6c909f clean up whitespace, formatting, copyrights 2002-06-30 13:06:05 +00:00
lukem aaa70508d4 clean up whitespace and formatting 2002-06-30 12:57:29 +00:00
wiz 059d2bb6c4 Mdoc nit. 2002-06-30 12:49:29 +00:00
lukem 8cc4b67328 clean up whitespace and formatting 2002-06-30 12:48:46 +00:00
lukem 17ae171521 clean up whitespace and formatting 2002-06-30 12:34:38 +00:00
lukem d563844456 clean up formatting 2002-06-30 12:30:20 +00:00
lukem 0012b1d7a8 consistently use Ic for sysinst 2002-06-30 12:28:55 +00:00
lukem b980ea3e8a clean up whitespace, formatting, copyrights 2002-06-30 12:22:25 +00:00
lukem 5acad45822 clean up whitespace, formatting, copyrights 2002-06-30 12:07:35 +00:00
lukem d89d1d6e44 clean up formatting 2002-06-30 11:53:35 +00:00
bjh21 d2a5e4a9e6 libc.so.12.85 2002-06-30 09:47:20 +00:00
bjh21 5d315d04c8 Bump minor to 12.85: __times13() addition. 2002-06-30 09:46:18 +00:00
bjh21 c1ba727b47 Version times() so that programs compiled before the recent change to make
sysconf(_SC_CLK_TCK) return hz will work.

In detail:
__times13() returns values scaled by hz.
times() returns values scaled by 100.
<sys/times.h> renames times() to __times13().

_SC_CLK_TCK has changed from 3 to 39.
sysconf(3) returns 100.
sysconf(39) returns hz.
CLK_TCK is defined as sysconf(39).
2002-06-30 09:45:39 +00:00
lukem a88aa33faf - be consistent with formatting, and use FSTYPE instead of <fs>
- remove sparc and sun[23] BUGS that aren't relevant in this version
2002-06-30 08:10:40 +00:00
tv bfa5cd6608 We really, actually, positively want to apply the ftpd.conf "passive"
option to all possible *PSV commands.  Some ftp servers are simply not
capable of passive connections, hence the option....
2002-06-30 04:54:43 +00:00
grant 724345d941 update to reflect current state of reality for alpha, pmax, sparc,
sparc64, sun2, sun3 and vax.
clean up examples.
include bugs/caveats from the (now removed) arch installboot man pages.
2002-06-30 04:39:05 +00:00
scottr fc9da5f33b If a valid file system type is found for a particular partition but no
mount point was specified, make sure to add only a commented-out entry for
that partition when building fstab. This prevents sysinst from generating
an otherwise invalid fstab. This problem was originally reported by
Frederick Bruckman and fixed by Bob Nestor.
2002-06-30 04:02:47 +00:00
scottr 23b6b38874 Correct fsck_num() implementation; return the fs_passno value as defined
in fstab(5). Noticed by Frederick Bruckman.
2002-06-30 03:57:46 +00:00
tsutsui 490896d4c4 Include <limits.h> for SIZE_T_MAX since time.h no longer
includes <machine/limits.h>.
2002-06-30 03:26:59 +00:00
gendalia b0556cec94 ISAGN added, "I see a great need" 2002-06-30 03:05:53 +00:00
tsutsui a3a42ea084 Fix typo in rev 1.10. 2002-06-30 02:57:05 +00:00
lukem 2ce4c4de5e clean up formatting 2002-06-30 00:46:48 +00:00
lukem 31f7b8e74e clean up formatting 2002-06-30 00:25:04 +00:00
dmcmahill 407c072091 include /usr/ucblib in the list of places where shared libs should be
copied from.  This was needed for getting citrix_ica to install as
it linked against libucb.
2002-06-30 00:21:16 +00:00
sommerfeld f80c7eebd7 Since the KERN_CP_TIME sysctl reports total clock ticks across all
cpus and hz is measured in ticks per cpu, divide tick count by ncpu to
determine elapsed time since last sample.

Fixes I/O rate deflation observed on multiprocessors.
2002-06-30 00:10:33 +00:00
lukem 28d4530e33 clean up whitespace and formatting 2002-06-29 23:54:05 +00:00