Commit Graph

20 Commits

Author SHA1 Message Date
Peter Wemm
18e2e348fb Minor tidy up of PPP_FILTER and NBPF stuff. Don't generate bpf.h in the
module and don't #include "bpf.h".
1999-09-26 18:44:29 +00:00
Peter Wemm
c3aac50f28 $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
Dag-Erling Smørgrav
6b5ca0d83e Rename bpfilter to bpf. 1999-07-06 19:23:32 +00:00
Mike Smith
f8dc47162a Allow loadable interface drivers with BPF support to be loaded into a kernel
that doesn't have it.  This is achieved by having minimal do-nothing stubs
enabled when there are no bpfilter devices configured.

Driver modules should be built with BPF enabled for maximum
convenience (but can be built without it for maximum performance).
1999-04-28 01:18:13 +00:00
Peter Wemm
8e203b83a7 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.
1999-01-17 20:53:48 +00:00
Peter Wemm
a654d07295 Sample initial set of kld-ified modules. Not all have been completely
converted yet.  These are more of a starting point.  This is NOT connected
to the parent Makefile.

OK'ed by jkh (who is ever so patiently waiting)
1998-10-16 04:30:52 +00:00
Peter Wemm
cbd71a62bb Give this a shot at actually working as an LKM.. 1998-03-27 04:05:08 +00:00
Bruce Evans
98f3fd4b49 Don't put "-I." in ${CFLAGS} here. bsd.kmod.mk now puts an absolute
path to the obj directory in ${CFLAGS}.  This is actually equivalent
to "-I." since bsd.kmod.mk also puts -I- in ${CFLAGS}.
1998-02-01 18:12:15 +00:00
Eivind Eklund
9e1d8a7b92 Minor fixups after INET option change. 1998-01-09 01:01:21 +00:00
Eivind Eklund
aa1b929b8b Make the LKMs compile with the INET option as a newstyle option in
opt_inet.h.
1998-01-08 23:50:27 +00:00
Eivind Eklund
b449fccbbc Fix my typo.
Submitted by: helbig
1997-12-16 22:50:18 +00:00
Eivind Eklund
f9b59e80d5 Whoops - fix this after yesterday's IPX option changes. Also fix
minor buglet when neither bsdcomp, deflate or filter is used.

Pointed out by:	Chris Timmons <skynyrd@opus.cts.cwu.edu>
1997-12-16 18:28:07 +00:00
Peter Wemm
de2c92bf40 Update Makefile to know about PPP_FILTER and fix the PPP_BSDCOMP and
PPP_DEFLATE options... The code uses #if defined(PPP_DEFLATE) etc, so the
original method of "#define PPP_DEFLATE 0" did not actually disable
anything.  It was not possible to configure out bsdcomp or zlib
compression.  Also, join the settings for PPP_FILTER and NBPFILTER together
since they are related here (can't have PPP_FILTER without NBPFILTER).
1997-10-18 01:37:52 +00:00
John-Mark Gurney
eead822a4b make lkm/if_ppp build again.. opt_ppp.h is needed again...
similar fix to one provided in pr4348

Closes PR#4348
1997-08-21 10:17:29 +00:00
Peter Wemm
4a0f765fbf Revert $FreeBSD$ back to $Id$ 1997-02-22 12:49:29 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
Peter Wemm
ba886c3099 Update if_ppp lkm to pull in the new files... 1995-10-31 20:54:15 +00:00
Andreas Schulz
5d2cacaa26 Put vnode_if.h and vnode_if.c into CLEANFILES that are automatically
generated. Should this lkm set VFS_LKM ?
1995-04-15 17:36:53 +00:00
Garrett Wollman
cea0f2a090 Forgot pppcompress.c in PPP module. 1995-03-20 19:33:35 +00:00
Garrett Wollman
f065639f29 The discard, tunnel, SLIP, and PPP network interface pseudo-devices
are now dynamically loadable.  It doesn't make sense to do the same
for the loopback.
1995-03-20 19:25:49 +00:00