diff options
author | wpaul <wpaul@FreeBSD.org> | 2000-09-20 17:30:22 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2000-09-20 17:30:22 +0000 |
commit | 58201930eb5bad51e80a88e2b7ab336e3b90bec8 (patch) | |
tree | 542f1eed909150a7a09141755d59bd6cfadaf676 /sys/modules | |
parent | 8a56e23d582ac2d0d59257d973aef3d02db3b6ba (diff) | |
download | FreeBSD-src-58201930eb5bad51e80a88e2b7ab336e3b90bec8.zip FreeBSD-src-58201930eb5bad51e80a88e2b7ab336e3b90bec8.tar.gz |
Add a new driver for the AMD PCnet/FAST, FAST+ and Home PCI adapters.
Previously, these cards were supported by the lnc driver (and they
still are, but the pcn driver will claim them first), which is fine
except the lnc driver runs them in 16-bit LANCE compatibility mode.
The pcn driver runs these chips in 32-bit mode and uses the RX alignment
feature to achieve zero-copy receive. (Which puts it in the same
class as the xl, fxp and tl chipsets.) This driver is also MI, so it
will work on the x86 and alpha platforms. (The lnc driver is still
needed to support non-PCI cards. At some point, I'll need to newbusify
it so that it too will me MI.)
The Am79c978 HomePNA adapter is also supported.
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/Makefile | 2 | ||||
-rw-r--r-- | sys/modules/pcn/Makefile | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 8b8806a..7c56147 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -10,7 +10,7 @@ SUBDIR= 3dfx accf_data accf_http agp aha amr an aue \ cam ccd cd9660 coda cue dc fdesc fxp if_disc if_ef \ if_ppp if_sl if_tap if_tun ipfilter ipfw ispfw joy kernfs kue \ md mfs mii mlx msdos ncp netgraph nfs ntfs nullfs \ - nwfs portal procfs ${_randomdev} \ + nwfs pcn portal procfs ${_randomdev} \ rl rp sf sis sk sn sound ste syscons ti tl twe tx \ udbp ugen uhid ukbd ulpt umapfs umass umodem ums union urio usb \ vinum vn vpo vr wb wx xl diff --git a/sys/modules/pcn/Makefile b/sys/modules/pcn/Makefile new file mode 100644 index 0000000..0ef6fae --- /dev/null +++ b/sys/modules/pcn/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../pci +KMOD = if_pcn +SRCS = if_pcn.c opt_bdg.h device_if.h bus_if.h pci_if.h +SRCS += miibus_if.h + +.include <bsd.kmod.mk> |