Commit Graph

49805 Commits

Author SHA1 Message Date
Julian Elischer
561e4fb9f6 Don't forget to set our MAC address into packets we wre sending out via
netgraph. Eventually we may need to have a separate hook for packets
that already have a source AMC address but for now just drop it in.
Should fix PPPoE.
2000-07-06 15:35:59 +00:00
Nick Hibma
1d3e7ea3dd Properly fix world.
Sorry for breaking things in the first place.
2000-07-06 13:23:35 +00:00
Kris Kennaway
7c99dc5eaa Unbreak heimdal build: we can no longer #include <netinet6/in6.h> 2000-07-06 10:09:59 +00:00
Ollivier Robert
ee76ce7fa5 Fix buildworld. 2000-07-06 08:37:34 +00:00
Daniel C. Sobral
f943749dcd I hate signed chars.^W^W^W^W^WCast to unsigned char before using signed
chars as array indices.
2000-07-06 06:37:30 +00:00
Daniel C. Sobral
9868274b74 Correct comment to work with test code.
Prevent out of bounds array access in some specific cases.
2000-07-06 06:34:15 +00:00
Bill Paul
95674596b9 Add support for the National Semiconductor DP83815 fast ethernet
controller chip. This chip is currently being used on the NetGear
FA312-TX adapter, which I guess is a replacement for the FA310-TX
(PNIC-based).

I added support for this chip by modifying the sis driver since
the SiS 900 and the NS DP83815 have almost the same programming
interface (the RX filter programming and PHY access methods are
different, but the general configuration, DMA scheme and register
layout are identical).

I would have had this done a lot sooner, but getting the damn MAC
address out of the EEPROM proved to be more complicated than expected.
2000-07-06 06:02:04 +00:00
Bill Fumerola
18c8a61a47 minor brucification. 2000-07-06 05:46:37 +00:00
Daniel C. Sobral
03b59f2038 Use UCHAR_MAX consistently. 2000-07-06 05:19:29 +00:00
Kris Kennaway
9ac104e443 Add two files missing from the KAME sync
Submitted by:	Eric Sabban <esabban@pacbell.net>
2000-07-06 04:01:37 +00:00
Kirk McKusick
142d8d2f40 Teach fsck about snapshot files. These changes should have no
effect on operation of fsck on filesystems without snapshots.
If you get compilation errors, be sure that you have copies of
/usr/include/sys/mount.h (1.94), /usr/include/sys/stat.h (1.21),
and /usr/include/ufs/ffs/fs.h (1.16) as of July 4, 2000 or later.
2000-07-06 02:03:11 +00:00
Kris Kennaway
8b15840355 Correct style bugs 2000-07-06 02:00:18 +00:00
Kris Kennaway
2dd1ffc97d Correct style bugs in previous commit 2000-07-06 01:55:21 +00:00
John Baldwin
8dfe6fb59c - Inline all the functions that are only called once. This results in a
savings of 68 bytes in boot2.
- Also add a comment warning that you can't remove the empty exit()
  function.
2000-07-06 01:51:27 +00:00
Kirk McKusick
115f72d0d8 Add the snapshot option to mount_ufs. 2000-07-06 01:50:05 +00:00
Kris Kennaway
5bca844f39 Sync with latest KAME code.
Obtained from:	KAME
2000-07-06 01:48:08 +00:00
Kris Kennaway
375477fbf6 Sync with latest KAME
Obtained from:	KAME
2000-07-06 00:38:07 +00:00
John Baldwin
54ff3ae038 Doh. The disklabel is not 0x200 bytes of zeros, but it is 0x200 bytes long. 2000-07-06 00:29:40 +00:00
Andrey A. Chernov
26c4c891be Fix .Fx usage (causing error diagnositc) 2000-07-06 00:25:05 +00:00
John Baldwin
a6bef20793 Clarify the comments in here a bit. The first sector of boot2 is not just
zeros, it is actually the disklabel itself.  boot2.ldr is simply a
placeholder in the boot2 binary.
2000-07-06 00:22:50 +00:00
John Baldwin
bd61ce880f Emulate the WBINVD instruction when it is called by the BIOS. 2000-07-06 00:13:21 +00:00
Kris Kennaway
b26e03e907 Sync with latest KAME
Obtained from:	KAME
2000-07-05 22:09:50 +00:00
Kris Kennaway
d81c3dbd42 Sync with latest KAME.
Obtained from:	KAME
2000-07-05 21:54:07 +00:00
Bill Paul
1be1972c4b Close PR# 19617: add support for VIA VT6102 NICs to VIA Rhine driver. 2000-07-05 21:37:21 +00:00
Andrey A. Chernov
36f579a27f Fix alt months
Submitted by:	Ri?ardas ?epas <rch@richard.eu.org>
2000-07-05 21:02:45 +00:00
Hajimu UMEMOTO
f7c67fc880 IPv6 support.
This is required for forthcoming IPv6 ready installer.

Obtained from:	KAME
2000-07-05 19:34:43 +00:00
Jun-ichiro itojun Hagino
b2874e0082 add list of KAME files - may not be 100% correct 2000-07-05 19:05:19 +00:00
Sheldon Hearn
57a2836fed The previous commit changed the df(1) units flag from -k to -h, which
produced human-readable output.  I like this, but it's certainly not
something to change willy-nilly without discussion.  Revert to -k.

Anyway, the new variable allows folks to pick any units flag that
fits their fancy.
2000-07-05 17:48:23 +00:00
Brian S. Dean
f2b5eea7aa Plug the hole where rshd would bypass a proper .rhosts check if the
password was empty.

Reviewed by:	Warner Losh <imp@freebsd.org>
2000-07-05 17:47:17 +00:00
Nick Hibma
09d308a828 Add the usbhidctl utility, from NetBSD, by Lennart Augusst 2000-07-05 17:43:33 +00:00
Jason Evans
e21fa6847e Remove DEBUG_FLAGS=-g3, which never should have been committed. 2000-07-05 16:21:42 +00:00
Thomas Gellekum
f873f0c768 Now that the scripts in our ports support this, call the scripts
in ${local_startup} with the `stop' option on shutdown.
2000-07-05 12:40:26 +00:00
Dag-Erling Smørgrav
114c3c1ab8 Add MIT copyright 2000-07-05 12:04:31 +00:00
Kris Kennaway
434d523b2d Sync with latest KAME.
Obtained from:	KAME
2000-07-05 11:12:53 +00:00
Kris Kennaway
de68a0dac8 Sync with latest KAME code.
Obtained from:	KAME
2000-07-05 11:00:58 +00:00
Sheldon Hearn
afc3b53891 Introduce a new option, daily_status_disks_df_flags, which specifies
the command-line arguments to be used for the call to df(1) when
daily_status_disks_enable is set to YES.

The name of the new variable was chosen by the maintainer of our
periodic hierarchy, Brian Somers.

PR:		19631
2000-07-05 10:47:01 +00:00
Sheldon Hearn
8c24e2aa35 Correct the usage printed for --exclude, which takes a globbing pattern
and not a file name.

PR:		19698
Reported by:	Jeff Blaine <jblaine@mitre.org>
2000-07-05 10:31:16 +00:00
Jun-ichiro itojun Hagino
93709ddb08 simplify and correct name resolution in tn().
XXX what is the goal of af_switch()?  it seems to me it is not necessary
any more with getaddrinfo(3) fix for correct name-resolution ordering.
comments? >shin
2000-07-05 10:15:23 +00:00
Kris Kennaway
259df286b9 Sync with latest KAME.
Obtained from:	KAME
2000-07-05 10:14:11 +00:00
Sheldon Hearn
6aec4e0c37 Fix typo: "managment" -> "management".
PR:		19689
Submitted by:	SUGIMURA Takashi <sugimura@jp.FreeBSD.org>
2000-07-05 10:07:30 +00:00
Kris Kennaway
9c5fbccb11 Sync with KAME
Obtained from:	KAME
2000-07-05 09:48:43 +00:00
Kris Kennaway
ccc58874e7 Sync with KAME
Obtained from:	KAME
2000-07-05 09:37:52 +00:00
Kris Kennaway
0adc52c853 Sync with latest KAME code.
Obtained from:	KAME
2000-07-05 09:34:10 +00:00
Jun-ichiro itojun Hagino
5c2fe5afaa sync with more recent KAME tree. handles scoped IPv6 notation.
supports "delete" subcommand.
corrects PR 19663.
2000-07-05 08:42:07 +00:00
Jun-ichiro itojun Hagino
024cdeff7a sync with more recent kame tree.
- correct scoped notation separator (s/@/%/)
- include example and more references
2000-07-05 08:27:50 +00:00
Jun-ichiro itojun Hagino
f60386610a sync with kame. more security warnings 2000-07-05 08:15:05 +00:00
Nick Hibma
0c880a36fb Use the packed attribute for the descriptor on the wire 2000-07-05 08:11:43 +00:00
John Baldwin
9701cd40b4 Support for unsigned integer and long sysctl variables. Update the
SYSCTL_LONG macro to be consistent with other integer sysctl variables
and require an initial value instead of assuming 0.  Update several
sysctl variables to use the unsigned types.

PR:		15251
Submitted by:	Kelly Yancey <kbyanc@posi.net>
2000-07-05 07:46:41 +00:00
Jordan K. Hubbard
632116832b Replace phk's commit with code from my local tree which I happen
to like better (it's commented and easier to read).
2000-07-05 07:15:57 +00:00
Matt Jacob
1fcf5deb4a Oops! If we're deciding a command is now really dead, make *darned*
sure that it really is by issuing a ISPCTL_ABORT_CMD just on the
off chance the f/w will start it up again and, ha ha, start using
the DMA resources we gave it but are now taking away.
2000-07-05 06:44:17 +00:00