Commit Graph

55051 Commits

Author SHA1 Message Date
itojun e33da94c5b configure IPsec policy on sending/receiving socket for bypassing IPsec.
If IPsec default policy is configured for destination
traceroute will never success (because encrypted icmp timexceeded
is unrecognizable).
1999-09-03 03:10:38 +00:00
itojun 1c73836310 do not bark even if IPsec is turned off in kernel. 1999-09-03 01:49:16 +00:00
thorpej 6a2319b969 Byte swap the EEPROM words on the PNIC. From Stephen Ma. 1999-09-03 00:24:56 +00:00
ross ac269a8a7e Make the kernel selectable and the strip action optional. 1999-09-02 23:39:43 +00:00
thorpej 8772062270 Make /proc/self a symlink to /proc/curproc. I've observed Linux programs
that expect /proc/self/cmdline to exist.
1999-09-02 23:33:45 +00:00
thorpej 8386184524 Deal with some more Winbond differences, after a more-thorough-than-before
reading of its manual.
1999-09-02 23:25:28 +00:00
ross 533b6088cd Make it compile. 1999-09-02 23:23:03 +00:00
augustss d7a4829d27 Regen. 1999-09-02 22:07:43 +00:00
augustss 1fed6ca851 Add Logitech QuickCam. 1999-09-02 22:07:29 +00:00
ross dc7ca6a110 Don't get confused when pci function != 0. 1999-09-02 22:04:41 +00:00
tron fe2def9133 Add mktemp(1). 1999-09-02 20:50:29 +00:00
tron 8bdd9799a5 Build and install "mktemp". 1999-09-02 20:48:27 +00:00
tron bd999492f6 Import FreeBSD's mktemp(1) utility. 1999-09-02 20:46:17 +00:00
augustss ba551e0c6a Regen. 1999-09-02 19:17:57 +00:00
augustss f6ae3ac6a9 Add some Entrega and Belkin serial adapters. 1999-09-02 19:13:43 +00:00
augustss 60179e2a13 Avoid null reference, from Nick Hibma, FreeBSD. 1999-09-02 18:13:50 +00:00
augustss 46fd81350a Rewrite interrupt routine from clarity. From Nick Hibma, FreeBSD. 1999-09-02 18:11:41 +00:00
kleink 9c10799ac4 Use the approximated sampling rate to compute the filter rate. 1999-09-02 17:26:15 +00:00
fvdl 5c875f66d0 Select the right transceiver type when configuring the driver. Change the
timing for the mii code a bit. From Robert Elz / the FreeBSD xl driver.
1999-09-01 21:03:02 +00:00
thorpej cfbc8a82fb Make Tulip-style filter setup interrupt-driven. 1999-09-01 20:56:15 +00:00
fvdl a6aa19699f Don't assume that an -FX card has MII (because it doesn't). 1999-09-01 20:26:43 +00:00
thorpej e75ce8c0df Don't attempt to do transmit threshold tuning on the Lite-On PNCI; just
put it in Store-and-Forward mode right from the get-go.  This eliminates
the DMA underrun errors that prevented the receive filter setup from working
and caused smashed packets to go out onto the wire.

My NetGear FA310-TX board now works.

There are still "filter setup failed to complete" messages, however they
don't appear to indicate that the filter setup actually failed, since
unicast and multicast packet reception work fine.  I will address this
problem shortly.

Reading the log for the FreeBSD `pn' driver suggests that these chips are,
in fact, pretty crappy, riddled with hardware bugs (for which more workarounds
are coming).
1999-09-01 20:11:19 +00:00
kleink 480e8a1a1c No longer requires mpuvar.h. 1999-09-01 18:03:10 +00:00
bouyer ce80d27933 Don't try to unmap unmapped space in case of failure in
pciide_mapregs_compat(). From OpenBSD.
1999-09-01 15:17:07 +00:00
drochner 7c34574b94 add "ti" - Alteon Gigabit Ethernet 1999-09-01 11:54:32 +00:00
drochner 45e5d743af quick 'n dirty port of FreeBSD's Alteon Gigabit Ethernet driver.
todo:
-IPv6
-clean up jumbo buffer allocation - NetBSD provides an opaque argument
 to the free function, thus doesn't need the hack done here
-deal correctly with the mapping of the shared memory
1999-09-01 11:47:46 +00:00
drochner 7eaa4e57fd regen 1999-09-01 11:42:32 +00:00
drochner 7c2d8bc001 -add some incarnations of the Alteon gigabit Ethernet adapter
-sort some entries which were put in by legasthenics
1999-09-01 11:40:42 +00:00
kleink e5d76dce61 Don't make a human-readable device description being printed at attach time
depend on PCIVERBOSE.
1999-09-01 07:32:31 +00:00
thorpej 5d7f25011b Some of the Tulip clone chips (like the Winbond and ASIX) want the
IC bit set in the *first* descriptor of the outgoing packet.  Appease
them.
1999-09-01 05:07:03 +00:00
itojun b59b162709 ftpd(8): Copy sin6_scope_id from control connection to active data
connection destination, hoping this to help ftpd's behavior with
scoped IPv6 addresses.
I'm not sure if it is the right way, but it is the best way available to us.
LPRT or EPRT command gives no information about which interface (or scope)
to be used for new data connection.

ftp(1): On data connection establishment, warn if scoped address is used.
If peer (ftp daemon) does not handle scoped address, data connection
may not work right.

This seems to be sort of protocol spec hole, not implementation issue.
1999-09-01 05:03:41 +00:00
sommerfeld 0ec90c839f resync supported mii phy's with GENERIC 1999-09-01 03:10:04 +00:00
ross ad3beb5695 Fix read retry error case. Closes kern/8300.
While here, add automatic error retry up to 3 times.
1999-09-01 02:32:26 +00:00
thorpej e293024ffa This is the long-awaited "new Tulip driver", a complete, from-scratch
rewrite of the driver for the DECchip 21x4x Ethernet chips, and a variety
of clones.

Currently, the driver supports the Winbond 89C840F (this works pretty
well), and the Lite-On PNIC (e.g. NetGear PCI boards), however Lite-On
support may be broken [I may simply have a busted test board].

Eventually, support for the Macronix and ASIX chips will filter into
this driver, and then, slowly, support for the genuine DEC chips,
and maybe even the DE-425 EISA model.
1999-09-01 00:32:41 +00:00
thorpej b99d7572d6 Add some missing usb glue. 1999-09-01 00:05:01 +00:00
soren b1f625e524 Per the documented behaviour in the man page, default to
serving UDP requests if none of the -t or -u options are
given.

Previously, nfsd wouldn't actually do anything at all
if it was not told to do UDP and/or TCP, which could be
confusing.

Note that at least Solaris and IRIX default to both TCP
and UDP when nfsd is run without options. This might be
useful for NetBSD as well.

Fixes PR bin/7358.
1999-08-31 23:28:34 +00:00
soren 1811ec440c Order arguments in sample usage. 1999-08-31 23:19:50 +00:00
soren a668519a3d Do not rely on implicit '-n' in sample usage. 1999-08-31 22:50:21 +00:00
christos 915a67c083 The port number might have changed in the proxy case. Re-evaluate it. 1999-08-31 22:05:22 +00:00
christos 0f5eb412c3 fix proxy code. strtol() does not work very well for parsing port names. 1999-08-31 21:30:25 +00:00
kleink 3e325adc1a Nuke unused V8 regexp. 1999-08-31 21:05:07 +00:00
itojun 1e8c736a70 Apply IPv6 support patch.
Note that all IPv6 address must be wrapped with square bracket, like:
	ALL: [::1/128] 127.0.0.1/255.255.255.255
Increase shlib minor.

ftp://ftp.kame.net/pub/kame/misc/tcp_wrappers-76-v6-19990831.diff.gz
1999-08-31 13:58:58 +00:00
simonb 343d06b5f6 Makefile: define SHLIB_VERSION_FILE if SRCS defined.
arm32/Makefile.inc: don't need to set .PATH
i386/Makefile.inc: don't need to set .PATH, SHLIB_VERSION_FILE

Fixes PR lib/8298 from Richard Earnshaw in a more general way.
1999-08-31 13:50:47 +00:00
bouyer 051211ffa9 Add a new flag, used by vn_open() which prevent symlinks from being followed
at open time. Use this to prevent coredump to follow symlinks when the
kernel opens/creates the file.
1999-08-31 12:30:35 +00:00
ad 78d4510ba0 Pass color value through ri->ri_devcmap before writing. 1999-08-31 10:11:52 +00:00
mycroft 2806df576c It turns out that the code disabled in revision 1.30 *does* have an important
function (which nobody was able to explain): it's critical to allowing a
complex command run from an interactive shell to be terminated.  So, reinstate
it and fix it correctly.  See the comment if you really want the gory details.
1999-08-31 08:58:47 +00:00
rh dd265cb089 Remove bogus information about ${INSTALL_TARGET}. 1999-08-31 08:41:57 +00:00
simonb 0676f7a9b7 Handle the MTOFFL request to actually offline a tape rather than just
rewinding it.  Tested with an Exabyte 8500 on a 5900/260 (the asc scsi
driver).
1999-08-31 01:12:51 +00:00
ragge 56f0f92bef Add some external variables. 1999-08-30 21:18:17 +00:00
mycroft c3e1f6741d A foolish consistency. 1999-08-30 18:58:01 +00:00