diff options
author | wpaul <wpaul@FreeBSD.org> | 1999-05-21 04:37:48 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1999-05-21 04:37:48 +0000 |
commit | 60b2d4c5bd953a4966f6ae52dc0a386ab3ed3be6 (patch) | |
tree | e728108af8e5deaa14eab3320cd1c46b95bd7fbb /usr.sbin/sade/devices.c | |
parent | 810c2d455753d9eb8fac94582c7234582cc93130 (diff) | |
download | FreeBSD-src-60b2d4c5bd953a4966f6ae52dc0a386ab3ed3be6.zip FreeBSD-src-60b2d4c5bd953a4966f6ae52dc0a386ab3ed3be6.tar.gz |
This commit adds driver support for PCI fast ethernet cards based on the
ADMtek AL981 "Comet" chipset. The AL981 is yet another DEC tulip clone,
except with simpler receive filter options. The AL981 has a built-in
transceiver, power management support, wake on LAN and flow control.
This chip performs extremely well; it's on par with the ASIX chipset
in terms of speed, which is pretty good (it can do 11.5MB/sec with TCP
easily).
I would have committed this driver sooner, except I ran into one problem
with the AL981 that required a workaround. When the chip is transmitting
at full speed, it will sometimes wedge if you queue a series of packets
that wrap from the end of the transmit descriptor list back to the
beginning. I can't explain why this happens, and none of the other tulip
clones behave this way. The workaround this is to just watch for the end
of the transmit ring and make sure that al_start() breaks out of its
packet queuing loop and waiting until the current batch of transmissions
completes before wrapping back to the start of the ring. Fortunately, this
does not significantly impact transmit performance.
This is one of those things that takes weeks of analysis just to come
up with two or three lines of code changes.
Diffstat (limited to 'usr.sbin/sade/devices.c')
-rw-r--r-- | usr.sbin/sade/devices.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/sade/devices.c b/usr.sbin/sade/devices.c index bf4af72..be7a729 100644 --- a/usr.sbin/sade/devices.c +++ b/usr.sbin/sade/devices.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: devices.c,v 1.89 1999/04/06 08:25:52 jkh Exp $ + * $Id: devices.c,v 1.90 1999/04/06 17:08:29 wpaul Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -80,6 +80,7 @@ static struct _devname { { DEVICE_TYPE_FLOPPY, "fd%d", "floppy drive unit A", 2, 0, 64, 4, 'b' }, { DEVICE_TYPE_FLOPPY, "wfd%d", "ATAPI floppy drive unit A", 1, 0, 8, 4, 'b' }, { DEVICE_TYPE_FLOPPY, "worm%d", "SCSI optical disk / CDR", 23, 0, 1, 4, 'b' }, + { DEVICE_TYPE_NETWORK, "al", "ADMtek AL981 PCI ethernet card" }, { DEVICE_TYPE_NETWORK, "ax", "ASIX AX88140A PCI ethernet card" }, { DEVICE_TYPE_NETWORK, "fpa", "DEC DEFPA PCI FDDI card" }, { DEVICE_TYPE_NETWORK, "sr", "SDL T1/E1 sync serial PCI card" }, |