Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/modules Add modules for strip and slip
details: https://anonhg.NetBSD.org/src/rev/48d28497e244
branches: trunk
changeset: 346903:48d28497e244
user: christos <christos%NetBSD.org@localhost>
date: Sat Aug 06 12:44:03 2016 +0000
description:
Add modules for strip and slip
diffstat:
sys/modules/Makefile | 4 +++-
sys/modules/if_sl/Makefile | 13 +++++++++++++
sys/modules/if_sl/sl.ioconf | 7 +++++++
sys/modules/if_strip/Makefile | 13 +++++++++++++
sys/modules/if_strip/strip.ioconf | 7 +++++++
5 files changed, 43 insertions(+), 1 deletions(-)
diffs (75 lines):
diff -r 2214e08cd525 -r 48d28497e244 sys/modules/Makefile
--- a/sys/modules/Makefile Sat Aug 06 12:42:40 2016 +0000
+++ b/sys/modules/Makefile Sat Aug 06 12:44:03 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.171 2016/08/06 06:06:54 christos Exp $
+# $NetBSD: Makefile,v 1.172 2016/08/06 12:44:03 christos Exp $
.include <bsd.own.mk>
@@ -49,7 +49,9 @@
SUBDIR+= if_axen
SUBDIR+= if_npflog
SUBDIR+= if_ppp
+SUBDIR+= if_sl
SUBDIR+= if_smsc
+SUBDIR+= if_strip
SUBDIR+= iic
SUBDIR+= ipl
SUBDIR+= kernfs
diff -r 2214e08cd525 -r 48d28497e244 sys/modules/if_sl/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/if_sl/Makefile Sat Aug 06 12:44:03 2016 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2016/08/06 12:44:03 christos Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/net
+
+KMOD= if_sl
+IOCONF= sl.ioconf
+SRCS= if_sl.c
+
+CPPFLAGS+= -DINET
+
+.include <bsd.kmodule.mk>
diff -r 2214e08cd525 -r 48d28497e244 sys/modules/if_sl/sl.ioconf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/if_sl/sl.ioconf Sat Aug 06 12:44:03 2016 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: sl.ioconf,v 1.1 2016/08/06 12:44:03 christos Exp $
+
+ioconf sl
+
+include "conf/files"
+
+pseudo-device sl
diff -r 2214e08cd525 -r 48d28497e244 sys/modules/if_strip/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/if_strip/Makefile Sat Aug 06 12:44:03 2016 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2016/08/06 12:44:03 christos Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/net
+
+KMOD= if_strip
+IOCONF= strip.ioconf
+SRCS= if_strip.c
+
+CPPFLAGS+= -DINET
+
+.include <bsd.kmodule.mk>
diff -r 2214e08cd525 -r 48d28497e244 sys/modules/if_strip/strip.ioconf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/if_strip/strip.ioconf Sat Aug 06 12:44:03 2016 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: strip.ioconf,v 1.1 2016/08/06 12:44:03 christos Exp $
+
+ioconf strip
+
+include "conf/files"
+
+pseudo-device strip
Home |
Main Index |
Thread Index |
Old Index