summaryrefslogtreecommitdiffstats
path: root/sys/modules
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2003-06-23 14:46:12 +0000
committerharti <harti@FreeBSD.org>2003-06-23 14:46:12 +0000
commitc1fe1ae28e833cf74f590e714bd3af3e243ed4ae (patch)
treeb0e6e8378df894dbda8022943e32b7199fe5c28d /sys/modules
parent2b26d4422f5f6254f34998250f00cdac8285e47a (diff)
downloadFreeBSD-src-c1fe1ae28e833cf74f590e714bd3af3e243ed4ae.zip
FreeBSD-src-c1fe1ae28e833cf74f590e714bd3af3e243ed4ae.tar.gz
This is a driver for Fore PCA200E cards that uses busdma and works on
little endian and big endian and with 32 and 64 bit pointers. It already has the hooks to be used for HARP, NATM and ngATM.
Diffstat (limited to 'sys/modules')
-rw-r--r--sys/modules/Makefile1
-rw-r--r--sys/modules/fatm/Makefile19
2 files changed, 20 insertions, 0 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index e0aaf6d..5d9d89e 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -30,6 +30,7 @@ SUBDIR= accf_data \
digi \
dummynet \
en \
+ fatm \
fdc \
fdescfs \
firewire \
diff --git a/sys/modules/fatm/Makefile b/sys/modules/fatm/Makefile
new file mode 100644
index 0000000..f1c5940
--- /dev/null
+++ b/sys/modules/fatm/Makefile
@@ -0,0 +1,19 @@
+# $FreeBSD$
+#
+# Author: Harti Brandt <harti@freebsd.org>
+#
+.PATH: ${.CURDIR}/../../dev/fatm
+
+KMOD= if_fatm
+SRCS= if_fatm.c device_if.h bus_if.h pci_if.h opt_inet.h opt_natm.h
+
+# CFLAGS+= -DFATM_DEBUG=0 -DINVARIANT_SUPPORT -DINVARIANTS -g
+# LDFLAGS+= -g
+
+opt_inet.h:
+ echo "#define INET 1" > opt_inet.h
+
+opt_natm.h:
+ echo "#define NATM 1" > opt_natm.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud