diff options
author | brian <brian@FreeBSD.org> | 2000-01-24 20:39:02 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-01-24 20:39:02 +0000 |
commit | 26fcba4c5a7ef6f95d130417d6ee6470eb0c7263 (patch) | |
tree | e9ac1c6bbc9bf92fe70fb1e226ece21e411aa386 /sys/modules | |
parent | ff67a728896198b2e1e203c6b280755f7bdcd480 (diff) | |
download | FreeBSD-src-26fcba4c5a7ef6f95d130417d6ee6470eb0c7263.zip FreeBSD-src-26fcba4c5a7ef6f95d130417d6ee6470eb0c7263.tar.gz |
Move the *intrq variables into net/intrq.c and unconditionally
include this in all kernels. Declare some const *intrq_present
variables that can be checked by a module prior to using *intrq
to queue data.
Make the if_tun module capable of processing atm, ip, ip6, ipx,
natm and netatalk packets when TUNSIFHEAD is ioctl()d on.
Review not required by: freebsd-hackers
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/if_tun/Makefile | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/sys/modules/if_tun/Makefile b/sys/modules/if_tun/Makefile index afd05c2..8d97cce 100644 --- a/sys/modules/if_tun/Makefile +++ b/sys/modules/if_tun/Makefile @@ -2,8 +2,8 @@ .PATH: ${.CURDIR}/../../net KMOD= if_tun -SRCS= if_tun.c opt_devfs.h opt_inet.h opt_inet6.h opt_atalk.h opt_ipx.h \ - vnode_if.h +SRCS= if_tun.c opt_devfs.h opt_atalk.h opt_atm.h opt_inet.h opt_inet6.h \ + opt_ipx.h opt_natm.h vnode_if.h NOMAN= NBPF?= 1 @@ -11,16 +11,22 @@ NTUN?= 2 CFLAGS+= ${PROTOS} +opt_atalk.h: + echo "#define NETATALK 1" > opt_atalk.h + +opt_atm.h: + echo "#define ATM_CORE 1" > opt_atm.h + opt_inet.h: echo "#define INET 1" > opt_inet.h opt_inet6.h: - echo "#undef INET6" > opt_inet6.h - -opt_atalk.h: - echo "#undef NETATALK" > opt_atalk.h + echo "#define INET6 1" > opt_inet6.h opt_ipx.h: - echo "#undef IPX" > opt_ipx.h + echo "#define IPX 1" > opt_ipx.h + +opt_natm.h: + echo "#define NATM 1" > opt_natm.h .include <bsd.kmod.mk> |