summaryrefslogtreecommitdiffstats
path: root/sys/modules/dm/Makefile
diff options
context:
space:
mode:
authorwpaul <wpaul@FreeBSD.org>1999-09-06 06:14:30 +0000
committerwpaul <wpaul@FreeBSD.org>1999-09-06 06:14:30 +0000
commitd963135a0bae02457d1879aa073750f0cac31796 (patch)
tree2e45f841bc47b7f9c3b57192744f793a2293f6fb /sys/modules/dm/Makefile
parentfc46bb827501a8a945e2a061bbd01609ac67b100 (diff)
downloadFreeBSD-src-d963135a0bae02457d1879aa073750f0cac31796.zip
FreeBSD-src-d963135a0bae02457d1879aa073750f0cac31796.tar.gz
This commit adds driver support for PCI fast ethernet NICs based on
the Davicom DM9100 and DM9102 chipsets, including the Jaton Corporation XPressNet. Datasheet is available from www.davicom8.com. The DM910x chips are still more tulip clones. The API is reproduced pretty faithfully, unfortunately the performance is pretty bad. The transmitter seems to have a lot of problems DMAing multi-fragment packets. The only way to make it work reliably is to coalesce transmitted packets into a single contiguous buffer. The Linux driver (written by Davicom) actually does something similar to this. I can't recomment this NIC as anything more than a "connectivity solution." This driver uses newbus and miibus and is supported on both i386 and alpha platforms.
Diffstat (limited to 'sys/modules/dm/Makefile')
-rw-r--r--sys/modules/dm/Makefile33
1 files changed, 33 insertions, 0 deletions
diff --git a/sys/modules/dm/Makefile b/sys/modules/dm/Makefile
new file mode 100644
index 0000000..bd96130
--- /dev/null
+++ b/sys/modules/dm/Makefile
@@ -0,0 +1,33 @@
+# $FreeBSD$
+
+S = ${.CURDIR}/../..
+.PATH: $S/pci
+KMOD = dm
+SRCS = if_dm.c dm.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
+SRCS += miibus_if.h
+CLEANFILES += dm.h bpf.h opt_bdg.h device_if.h bus_if.h pci_if.h
+CLEANFILES += miibus_if.h
+CFLAGS += ${DEBUG_FLAGS}
+
+dm.h:
+ echo "#define NDM 1" > dm.h
+
+bpf.h:
+ echo "#define NBPF 1" > bpf.h
+
+opt_bdg.h:
+ touch opt_bdg.h
+
+device_if.h: $S/kern/makedevops.pl $S/kern/device_if.m
+ perl $S/kern/makedevops.pl -h $S/kern/device_if.m
+
+bus_if.h: $S/kern/makedevops.pl $S/kern/bus_if.m
+ perl $S/kern/makedevops.pl -h $S/kern/bus_if.m
+
+pci_if.h: $S/kern/makedevops.pl $S/pci/pci_if.m
+ perl $S/kern/makedevops.pl -h $S/pci/pci_if.m
+
+miibus_if.h: $S/kern/makedevops.pl $S/dev/mii/miibus_if.m
+ perl $S/kern/makedevops.pl -h $S/dev/mii/miibus_if.m
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud