Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/modules/if_udav Build an if_udav module (untested)



details:   https://anonhg.NetBSD.org/src/rev/a5560044a12f
branches:  trunk
changeset: 964602:a5560044a12f
user:      skrll <skrll%NetBSD.org@localhost>
date:      Thu Aug 08 16:06:14 2019 +0000

description:
Build an if_udav module (untested)

diffstat:

 distrib/sets/lists/modules/mi      |   4 +++-
 sys/modules/Makefile               |   3 ++-
 sys/modules/if_udav/Makefile       |  11 +++++++++++
 sys/modules/if_udav/if_udav.ioconf |  10 ++++++++++
 4 files changed, 26 insertions(+), 2 deletions(-)

diffs (64 lines):

diff -r 4a1fa99f9904 -r a5560044a12f distrib/sets/lists/modules/mi
--- a/distrib/sets/lists/modules/mi     Thu Aug 08 14:38:53 2019 +0000
+++ b/distrib/sets/lists/modules/mi     Thu Aug 08 16:06:14 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.123 2019/07/31 09:13:16 mrg Exp $
+# $NetBSD: mi,v 1.124 2019/08/08 16:06:14 skrll Exp $
 #
 # Note: don't delete entries from here - mark them as "obsolete" instead.
 #
@@ -232,6 +232,8 @@
 ./@MODULEDIR@/if_tap/if_tap.kmod               base-kernel-modules     kmod
 ./@MODULEDIR@/if_tun                           base-kernel-modules     kmod
 ./@MODULEDIR@/if_tun/if_tun.kmod               base-kernel-modules     kmod
+./@MODULEDIR@/if_udav                          base-kernel-modules     kmod
+./@MODULEDIR@/if_udav/if_udav.kmod             base-kernel-modules     kmod
 ./@MODULEDIR@/if_ure                           base-kernel-modules     kmod
 ./@MODULEDIR@/if_ure/if_ure.kmod               base-kernel-modules     kmod
 ./@MODULEDIR@/if_vioif                         base-obsolete           obsolete
diff -r 4a1fa99f9904 -r a5560044a12f sys/modules/Makefile
--- a/sys/modules/Makefile      Thu Aug 08 14:38:53 2019 +0000
+++ b/sys/modules/Makefile      Thu Aug 08 16:06:14 2019 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.223 2019/07/31 09:13:16 mrg Exp $
+#      $NetBSD: Makefile,v 1.224 2019/08/08 16:06:14 skrll Exp $
 
 .include <bsd.own.mk>
 
@@ -89,6 +89,7 @@
 SUBDIR+=       if_strip
 SUBDIR+=       if_tap tap
 SUBDIR+=       if_tun tun
+SUBDIR+=       if_udav
 SUBDIR+=       if_ure
 SUBDIR+=       if_vlan
 SUBDIR+=       iic
diff -r 4a1fa99f9904 -r a5560044a12f sys/modules/if_udav/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/if_udav/Makefile      Thu Aug 08 16:06:14 2019 +0000
@@ -0,0 +1,11 @@
+# $NetBSD: Makefile,v 1.1 2019/08/08 16:06:14 skrll Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev/usb
+
+KMOD=  if_udav
+IOCONF=        if_udav.ioconf
+SRCS=  if_udav.c
+
+.include <bsd.kmodule.mk>
diff -r 4a1fa99f9904 -r a5560044a12f sys/modules/if_udav/if_udav.ioconf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/if_udav/if_udav.ioconf        Thu Aug 08 16:06:14 2019 +0000
@@ -0,0 +1,10 @@
+# $NetBSD: if_udav.ioconf,v 1.1 2019/08/08 16:06:14 skrll Exp $
+
+ioconf udav
+
+include "conf/files"
+include "dev/usb/files.usb"
+
+pseudo-root usbdevif*
+
+udav* at usbdevif?



Home | Main Index | Thread Index | Old Index