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:
parent
48b8568826
commit
01b96fdf9e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71832
@ -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
11
sys/modules/ar/Makefile
Normal 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>
|
@ -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
|
||||
|
11
sys/modules/netgraph/sync_ar/Makefile
Normal file
11
sys/modules/netgraph/sync_ar/Makefile
Normal 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>
|
11
sys/modules/netgraph/sync_sr/Makefile
Normal file
11
sys/modules/netgraph/sync_sr/Makefile
Normal 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
11
sys/modules/sr/Makefile
Normal 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>
|
Loading…
Reference in New Issue
Block a user