From d963135a0bae02457d1879aa073750f0cac31796 Mon Sep 17 00:00:00 2001 From: wpaul Date: Mon, 6 Sep 1999 06:14:30 +0000 Subject: 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. --- sys/modules/dm/Makefile | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 sys/modules/dm/Makefile (limited to 'sys/modules/dm/Makefile') 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 -- cgit v1.1