summaryrefslogtreecommitdiffstats
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
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.
-rw-r--r--sys/modules/Makefile4
-rw-r--r--sys/modules/ar/Makefile11
-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
-rw-r--r--sys/modules/sr/Makefile11
6 files changed, 48 insertions, 3 deletions
diff --git a/sys/modules/Makefile b/sys/modules/Makefile
index efd6aa5..ec6810a 100644
--- a/sys/modules/Makefile
+++ b/sys/modules/Makefile
@@ -18,8 +18,8 @@ SUBDIR= 3dfx accf_data accf_http agp aha amr an aue \
# XXX some of these can move to the general case when de-i386'ed
.if ${MACHINE_ARCH} == "i386"
-SUBDIR+=aac aic asr bktr coff el fpu gnufpu ibcs2 linprocfs mly pecoff ray \
- s3 splash streams vesa wi
+SUBDIR+=aac aic ar asr bktr coff el fpu gnufpu ibcs2 linprocfs mly \
+ pecoff ray s3 splash sr streams vesa wi
.endif
.if ${MACHINE} == "pc98"
diff --git a/sys/modules/ar/Makefile b/sys/modules/ar/Makefile
new file mode 100644
index 0000000..1fa18a9
--- /dev/null
+++ b/sys/modules/ar/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/ar
+KMOD = if_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:
+ touch opt_netgraph.h
+
+.include <bsd.kmod.mk>
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>
diff --git a/sys/modules/sr/Makefile b/sys/modules/sr/Makefile
new file mode 100644
index 0000000..243ff9d
--- /dev/null
+++ b/sys/modules/sr/Makefile
@@ -0,0 +1,11 @@
+# $FreeBSD$
+
+.PATH: ${.CURDIR}/../../dev/sr
+KMOD = if_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:
+ touch opt_netgraph.h
+
+.include <bsd.kmod.mk>
OpenPOWER on IntegriCloud