Commit Graph

61420 Commits

Author SHA1 Message Date
hubertf 2336090e01 fix typo: legaty -> legacy 2000-03-01 16:28:34 +00:00
itojun 8f2f22b47c increase kernel version to 1.4U (5 more to 1.4Z!) 2000-03-01 12:52:11 +00:00
itojun 04ac848d6f introduce m->m_pkthdr.aux to hold random data which needs to be passed
between protocol handlers.

ipsec socket pointers, ipsec decryption/auth information, tunnel
decapsulation information are in my mind - there can be several other usage.
at this moment, we use this for ipsec socket pointer passing.  this will
avoid reuse of m->m_pkthdr.rcvif in ipsec code.

due to the change, MHLEN will be decreased by sizeof(void *) - for example,
for i386, MHLEN was 100 bytes, but is now 96 bytes.
we may want to increase MSIZE from 128 to 256 for some of our architectures.

take caution if you use it for keeping some data item for long period
of time - use extra caution on M_PREPEND() or m_adj(), as they may result
in loss of m->m_pkthdr.aux pointer (and mbuf leak).

this will bump kernel version.

(as discussed in tech-net, tested in kame tree)
2000-03-01 12:49:27 +00:00
joda d8c128f4a5 use NULL 2000-03-01 12:46:36 +00:00
itojun 627898817e sync with etc/namedb change (IPv6 loopback reverse database file) 2000-03-01 11:21:13 +00:00
itojun ca7ee807d5 change filename for IPv6 loopback address (::1).
many found it ugly, and I found that I've made a mistake in old name.
there needs to be 4 more "0"s!

this commit renames
etc/namedb/0000:0000:0000:0000:0000:0000:000 into etc/namedb/loopback.v6.
(based on recent discussion I did not use cvsmove)
2000-03-01 11:06:27 +00:00
itojun 548cc318ca do not try to use BIND4 code in libc.
dig/host/whatever assumes that it is using BIND8 code.  mixing BIND4 in
libc with BIND8 code will result in very strange behavior, or program panics.

it is not necessary for dig/host/whatever to obey /etc/nsswitch.conf, actually
dig(1) is explicit about it.

now dist/bind is almost clean BIND822p5, with the following exception:
- /etc/irs.conf will never be visited when running BIND8 toolchain,
  to make it less complex.  the search order for BIND8 toolchain is
  defined in dist/bind/lib/irs/gen.c:default_map_rules().
and usr.sbin/bind compiles them in BSD make framework, with no tricks at all.
2000-03-01 10:49:58 +00:00
enami 13d92f98ce Remove unnecessary asterisk in comment (probably it was comment leader of
multiline comment).
2000-03-01 03:51:29 +00:00
enami 543db3a000 Cosmetic changes. 2000-03-01 03:50:04 +00:00
itojun 94e731e9d2 fix "ip host foo" or "ip6 host foo" where foo has
both A and AAAA.  fix from Bill Fenner, FreeBSD PR: 17083.
2000-03-01 03:47:48 +00:00
enami 6059f8bc37 Fix typo. 2000-03-01 03:32:55 +00:00
enami eb6c30723e Salvage the better comment appeared in rev 1.51 but gone in 1.53. 2000-03-01 03:21:56 +00:00
thorpej 908f6bc4cd Infrastructure for lazy istream sync in the pmap module:
- Add a bitmask for the CPUs which need an isync before this pmap returns
  to userspace on that CPU.
- Define PMAP_USERRET(), a utility macro for userret() to use to process
  the deferred isync, and call it as appropriate in userret().
2000-03-01 02:22:03 +00:00
ross b4dbebce1a alpha port is now ross + jason 2000-03-01 02:08:28 +00:00
thorpej a192dc9c5b PMAP_ISACTIVE() now takes the cpu_id. This serves two purposes:
- Everywhere it was used, the cpu_id was already computed, so this
  saves computing it again.
- This will be needed for lazy istream sync.
2000-03-01 01:32:45 +00:00
ad 14050f197e Make this compile in DEBUG/DIAGNOSTIC case. 2000-03-01 00:44:53 +00:00
augustss ba4e755a9c Change the cmd argument in {audio,mixer}_ioctl() to u_long. 2000-03-01 00:44:35 +00:00
thorpej 64911f1d2e Use cpu_number() here instead of alpha_pal_whami(). 2000-03-01 00:43:34 +00:00
matt a1a05c5cf9 include <sys/cdefs.h> since <net/netisr_dispatch.h> needs __CONCAT 2000-03-01 00:17:17 +00:00
thorpej fac7fc369f Put machine check info in cpu_info in the multiprocessor case, and
just have one statically allocate machine check info structure in the
single processor config case.
2000-02-29 22:19:53 +00:00
sjg 90c80377e5 Fixed the oodate test to include the check of gn->cmtime == 0 without
breaking the original intent.

PR: 9503
2000-02-29 22:00:02 +00:00
erh 671a37a17f Add a buildmsg target for build to depend upon instead of using an ifmake block. "make snapshot" now echos the start of build time. 2000-02-29 21:54:03 +00:00
thorpej 04d9239b1e Reset mc_received after we've done a badaddr probe. 2000-02-29 21:42:54 +00:00
augustss 7d05674ba7 Distinguish between device and interface classes.
(I finally found a document that said that they were different.)
2000-02-29 21:37:00 +00:00
itojun d74f882e9b sync comment for sourceroute() to reality 2000-02-29 19:36:43 +00:00
hubertf f6754feada add 3com homeconnect (3c460) 2000-02-29 19:23:23 +00:00
itojun c47506aed1 more fix to ancillary data alignment. we need padding after
last cmsg_data item (see the figure on RFC2292 page 18).
2000-02-29 19:14:59 +00:00
augustss 806ca507b5 Add 3Com 3c460 2000-02-29 19:14:43 +00:00
augustss 8cc92d88cf Add USB tty device. 2000-02-29 19:08:54 +00:00
hubertf a6a5be8ccf This driver also handles the 3COM 3COM HomeConnect Ethernet USB Adapter
(3C460), rev 1.00/2.05
2000-02-29 19:08:09 +00:00
augustss ab5e19cc9f Make /dev/usb, a node where USB events can be read.
Also add ttyU to hpcmips.
2000-02-29 19:07:41 +00:00
hubertf b95fbdaeb7 Regen 2000-02-29 19:07:33 +00:00
hubertf eff003f7ce add product ID for 3COM 3COM HomeConnect Ethernet USB Adapter (3C460),
rev 1.00/2.05
2000-02-29 19:06:40 +00:00
augustss 66ee7c2e15 No need to make audio devices twice in all. 2000-02-29 18:48:05 +00:00
itojun fe31f96aea fix alignment constraint in IPv6 routing header manipulation (ancillary data).
documented in RFC2292.
from: shin@kame.net
2000-02-29 18:24:31 +00:00
matt 352a87f7bd fix a too agressive s/CIA/UBA/ (e.g change SPEUBAL back to SPECIAL) in the
header.
2000-02-29 17:42:32 +00:00
matt 8aaab5c387 add missing cpu dependencies 2000-02-29 17:13:27 +00:00
oster 8cde772948 Oops.. Need to note the parity status when we unconfigure.
Noted by Aaron J. Grier. (Thanks!)
2000-02-29 16:54:29 +00:00
itojun 5c1b7efe97 avoid copy-overwrite-copy on incoming udp4 checksum. use in4_cksum
which takes care of pseudo header checksum without overwrites.
2000-02-29 16:21:56 +00:00
nonaka 37eb9eebc2 Initial import prep port. 2000-02-29 15:21:20 +00:00
ad c09a9a072f Oops, pasto. 2000-02-29 11:14:46 +00:00
nisimura 6f5dadba1c Cleanup warning comment which is now irrelevant. Reorder codes. 2000-02-29 09:03:30 +00:00
nisimura d93aaefb84 - Have SYS_DEV_xxx device cookie symbols to select and install proper
interrupt handlers into intrtab[] array, rather than the idea of devices
  in 'psuedo' TURBOchannel slots.
- Nuke symbols for psuedo TC slots.
- Abandon never/unlikely used intr_disestablish()s.
2000-02-29 07:20:21 +00:00
simonb 4eb55e447c Do the "<space><tab>" thing with the RAID_AUTOCONFIG option. 2000-02-29 06:32:20 +00:00
itojun 82ab98145f ensure tcp window size does not overflow (16bit unsigned after window scale).
FreeBSD PR: 16914
2000-02-29 05:25:49 +00:00
nisimura a6e403e50b Remove unnecessary cast for kernend variable when grabbing proc0 USPACE. 2000-02-29 04:55:54 +00:00
nisimura 7eeaa2a1fa NLE_PMAX symbol in le_pmax.h has gone. 2000-02-29 04:44:29 +00:00
nisimura 582e9de235 - Have SYS_DEV_xxx device cookie symbols to select and install proper
interrupt handlers into intrtab[] array, rather than the idea of devices
  in 'psuedo' TURBOchannel slots.
- Nuke symbols for psuedo TC slots.
- Abandon never/unlikely used intr_disestablish()s.
2000-02-29 04:41:47 +00:00
mhitch 19c22771f3 Check and clear the appropriate IOASIC SCSI interrupt bits when in polled
I/O mode.  Kernel dumps will now work with the IOASIC SCSI devices.
2000-02-28 18:51:25 +00:00
thorpej d788e0dbad Make sure to initialize xs->req_sense_length (to 0). This appears to be
a historical leftover, and very few drivers actually look at it.  But the
PCI `ncr' driver does, and if this field is not initialized to its default
value, that driver will fall over flat on its face when it attempts to get
sense data from a target.
2000-02-28 17:44:20 +00:00