aboutsummaryrefslogtreecommitdiff
path: root/sys/modules
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2003-06-23 14:46:12 +0000
committerHartmut Brandt <harti@FreeBSD.org>2003-06-23 14:46:12 +0000
commitfb24f088ae9a1bf49cf9a6fcfa3cbc34221c836f (patch)
treeb0e6e8378df894dbda8022943e32b7199fe5c28d /sys/modules
parenta97ec0069ec91111e0294e24a3740e86f45a5a01 (diff)
downloadsrc-fb24f088ae9a1bf49cf9a6fcfa3cbc34221c836f.tar.gz
src-fb24f088ae9a1bf49cf9a6fcfa3cbc34221c836f.zip
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.
Notes
Notes: svn path=/head/; revision=116735
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 e0aaf6d1f929..5d9d89ee2921 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 000000000000..f1c5940423dd
--- /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>