summaryrefslogtreecommitdiffstats
path: root/sys/modules/lmc
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2005-10-03 07:05:34 +0000
committerscottl <scottl@FreeBSD.org>2005-10-03 07:05:34 +0000
commitd39a762fb7f3b6ea3df528e0ffc3259123d225cc (patch)
treeb27cd7ba5a306d23510b8cb37c4036f2efc7405a /sys/modules/lmc
parent68576cc8135a9a0be69c7ef6cb184d1143fdd483 (diff)
downloadFreeBSD-src-d39a762fb7f3b6ea3df528e0ffc3259123d225cc.zip
FreeBSD-src-d39a762fb7f3b6ea3df528e0ffc3259123d225cc.tar.gz
Reintroduce the lmc T1/E1/T3 WAN driver. This version is locked, supports
interface polling, compiles on 64-bit platforms, and compiles on NetBSD, OpenBSD, BSD/OS, and Linux. Woo! Thanks to David Boggs for providing this driver. Altq, sppp, netgraph, and bpf are required for this driver to operate. Userland tools and man pages will be committed next. Submitted by: David Boggs
Diffstat (limited to 'sys/modules/lmc')
-rw-r--r--sys/modules/lmc/Makefile25
1 files changed, 25 insertions, 0 deletions
diff --git a/sys/modules/lmc/Makefile b/sys/modules/lmc/Makefile
new file mode 100644
index 0000000..fa56579
--- /dev/null
+++ b/sys/modules/lmc/Makefile
@@ -0,0 +1,25 @@
+# $FreeBSD$
+
+KMOD = if_lmc
+.PATH: ${.CURDIR}/../../dev/lmc
+
+SRCS = if_lmc.c if_lmc.h
+SRCS += device_if.h bus_if.h pci_if.h
+SRCS += opt_inet.h opt_inet6.h
+SRCS += opt_netgraph.h
+SRCS += opt_global.h
+SRCS += opt_bpf.h
+
+opt_inet.h:
+ echo "#define INET 1" > ${.TARGET}
+opt_inet6.h:
+ echo "#define INET6 0" > ${.TARGET}
+opt_netgraph.h:
+ echo "#define NETGRAPH 1" > ${.TARGET}
+opt_global.h:
+ echo "#define ALTQ 1" > ${.TARGET}
+ echo "#define DEVICE_POLLING 1" >> ${.TARGET}
+opt_bpf.h: # FreeBSD-5:
+ echo "#define DEV_BPF 1" > ${.TARGET}
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud