summaryrefslogtreecommitdiffstats
path: root/sys/modules/pcn
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>2000-09-20 17:30:22 +0000
committerwpaul <wpaul@FreeBSD.org>2000-09-20 17:30:22 +0000
commit58201930eb5bad51e80a88e2b7ab336e3b90bec8 (patch)
tree542f1eed909150a7a09141755d59bd6cfadaf676 /sys/modules/pcn
parent8a56e23d582ac2d0d59257d973aef3d02db3b6ba (diff)
downloadFreeBSD-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/pcn')
-rw-r--r--sys/modules/pcn/Makefile8
1 files changed, 8 insertions, 0 deletions
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>
OpenPOWER on IntegriCloud