summaryrefslogtreecommitdiffstats
path: root/sys/modules/netgraph
diff options
context:
space:
mode:
authorjhay <jhay@FreeBSD.org>2001-01-30 10:20:43 +0000
committerjhay <jhay@FreeBSD.org>2001-01-30 10:20:43 +0000
commitd2d8355cd9b65f11f74a20927f62b58cc0d019f3 (patch)
tree9275c1d0d223d6fa03edc8b2017a0a1c67dd90d3 /sys/modules/netgraph
parent8a594fc12fb5af6f5b5a098a493027be150ae5b5 (diff)
downloadFreeBSD-src-d2d8355cd9b65f11f74a20927f62b58cc0d019f3.zip
FreeBSD-src-d2d8355cd9b65f11f74a20927f62b58cc0d019f3.tar.gz
Make klds for the ar and sr devices and hook them up.
The normal versions are called if_ar.ko and if_sr.ko and the netgraph versions ng_sync_ar.ko and ng_sync_sr.ko.
Diffstat (limited to 'sys/modules/netgraph')
-rw-r--r--sys/modules/netgraph/Makefile3
-rw-r--r--sys/modules/netgraph/sync_ar/Makefile11
-rw-r--r--sys/modules/netgraph/sync_sr/Makefile11
3 files changed, 24 insertions, 1 deletions
diff --git a/sys/modules/netgraph/Makefile b/sys/modules/netgraph/Makefile
index c47386c..8e5c342 100644
--- a/sys/modules/netgraph/Makefile
+++ b/sys/modules/netgraph/Makefile
@@ -2,7 +2,8 @@
# $FreeBSD$
SUBDIR= async bpf bridge cisco echo ether frame_relay hole iface ksocket lmi \
- netgraph one2many ppp pppoe pptpgre rfc1490 socket tee tty UI vjc
+ netgraph one2many ppp pppoe pptpgre rfc1490 socket sync_ar sync_sr \
+ tee tty UI vjc
.if !defined(NOCRYPT) && exists(${.CURDIR}/../../crypto/rc4/rc4.c)
SUBDIR+= mppc
diff --git a/sys/modules/netgraph/sync_ar/Makefile b/sys/modules/netgraph/sync_ar/Makefile
new file mode 100644
index 0000000..9e5afd5
--- /dev/null
+++ b/sys/modules/netgraph/sync_ar/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../dev/ar
+KMOD = ng_sync_ar
+SRCS = if_ar.c if_ar_pci.c
+SRCS += device_if.h bus_if.h pci_if.h isa_if.h opt_netgraph.h
+
+opt_netgraph.h:
+ echo "#define NETGRAPH" > opt_netgraph.h
+
+.include <bsd.kmod.mk>
diff --git a/sys/modules/netgraph/sync_sr/Makefile b/sys/modules/netgraph/sync_sr/Makefile
new file mode 100644
index 0000000..16a291c
--- /dev/null
+++ b/sys/modules/netgraph/sync_sr/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../../dev/sr
+KMOD = ng_sync_sr
+SRCS = if_sr.c if_sr_isa.c if_sr_pci.c
+SRCS += device_if.h bus_if.h pci_if.h isa_if.h opt_netgraph.h
+
+opt_netgraph.h:
+ echo "#define NETGRAPH" > opt_netgraph.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud