aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/if_sl
diff options
context:
space:
mode:
authorGarrett Wollman <wollman@FreeBSD.org>1995-03-20 19:25:49 +0000
committerGarrett Wollman <wollman@FreeBSD.org>1995-03-20 19:25:49 +0000
commitf065639f29a6bf9a0375e05e58346a9e37c4b59a (patch)
treec2c7098a216ff371ba3b348605c769118282a33f /sys/modules/if_sl
parent69244b69dbc1506e9da7f5e193993252f755efe7 (diff)
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.
Notes
Notes: svn path=/head/; revision=7194
Diffstat (limited to 'sys/modules/if_sl')
-rw-r--r--sys/modules/if_sl/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys/modules/if_sl/Makefile b/sys/modules/if_sl/Makefile
new file mode 100644
index 000000000000..49b1a743af49
--- /dev/null
+++ b/sys/modules/if_sl/Makefile
@@ -0,0 +1,23 @@
+# $Id: Makefile,v 1.1 1994/09/22 22:12:59 wollman Exp $
+
+.PATH: ${.CURDIR}/../../sys/net
+KMOD= if_sl_mod
+SRCS= if_sl.c bpfilter.h sl.h
+NOMAN=
+PSEUDO_LKM=
+CFLAGS+= -I.
+
+NBPFILTER?= 0
+NSL?= 2
+PROTOS?= -DINET
+
+CFLAGS+= ${PROTOS}
+CLEANFILES+= bpfilter.h sl.h
+
+bpfilter.h:
+ echo "#define NBPFILTER ${NBPFILTER}" > bpfilter.h
+
+sl.h:
+ echo "#define NSL ${NSL}" > sl.h
+
+.include <bsd.kmod.mk>