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.
This commit is contained in:
John Hay 2001-01-30 10:20:43 +00:00
parent 48b8568826
commit 01b96fdf9e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71832
6 changed files with 48 additions and 3 deletions

View File

@ -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"

11
sys/modules/ar/Makefile Normal file
View File

@ -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>

View File

@ -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

View File

@ -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>

View File

@ -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>

11
sys/modules/sr/Makefile Normal file
View File

@ -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>