diff options
author | peter <peter@FreeBSD.org> | 1999-01-17 20:53:48 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-01-17 20:53:48 +0000 |
commit | a33b0a11f43f771866680f1971483ea15bcbd92a (patch) | |
tree | 6d7b3127a3588330fc35dcb177d36fde65ceb475 /sys/modules | |
parent | cb99881fc978223e309dce69a5a0e7ab3eb190d3 (diff) | |
download | FreeBSD-src-a33b0a11f43f771866680f1971483ea15bcbd92a.zip FreeBSD-src-a33b0a11f43f771866680f1971483ea15bcbd92a.tar.gz |
Undo #undef KERNEL hack for vnode.h to avoid vnode_if.h.
XXX It probably makes sense to have a flag for bsd.kern.mk to avoid these
rules.
XXX IO_NDELAY seems to be the main reason for it, when used in a cdevsw
read or write "flag" context. Perhaps a redundant declaration
somewhere like sys/conf.h might help remove the need for vnode.h in
these device drivers in the first place.
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/if_ppp/Makefile | 5 | ||||
-rw-r--r-- | sys/modules/if_tun/Makefile | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/sys/modules/if_ppp/Makefile b/sys/modules/if_ppp/Makefile index 34b90d8..97c3b3c 100644 --- a/sys/modules/if_ppp/Makefile +++ b/sys/modules/if_ppp/Makefile @@ -1,10 +1,11 @@ -# $Id: Makefile,v 1.14 1998/03/27 04:05:08 peter Exp $ +# $Id: Makefile,v 1.15 1998/10/16 04:30:44 peter Exp $ .PATH: ${.CURDIR}/../../net KMOD= if_ppp SRCS= if_ppp.c ppp_tty.c slcompress.c \ - bpfilter.h ppp.h opt_inet.h opt_ipx.h opt_ppp.h + bpfilter.h ppp.h opt_inet.h opt_ipx.h opt_ppp.h vnode_if.h NOMAN= +CLEANFILES+= vnode_if.c vnode_if.h NPPP?= 2 PPP_BSDCOMP?= 1 # 0/1 diff --git a/sys/modules/if_tun/Makefile b/sys/modules/if_tun/Makefile index 2581e36..7fadb7f 100644 --- a/sys/modules/if_tun/Makefile +++ b/sys/modules/if_tun/Makefile @@ -1,9 +1,10 @@ -# $Id: Makefile,v 1.6 1998/02/01 18:12:14 bde Exp $ +# $Id: Makefile,v 1.7 1998/10/16 04:30:45 peter Exp $ .PATH: ${.CURDIR}/../../net KMOD= if_tun -SRCS= if_tun.c bpfilter.h opt_devfs.h opt_inet.h tun.h +SRCS= if_tun.c bpfilter.h opt_devfs.h opt_inet.h tun.h vnode_if.h NOMAN= +CLEANFILES+= vnode_if.h vnode_if.c NBPFILTER?= 0 NTUN?= 2 |