Source-Changes-HG archive

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

[src/trunk]: src/sys/modules Add module build for aq(4)



details:   https://anonhg.NetBSD.org/src/rev/77ee193db794
branches:  trunk
changeset: 968039:77ee193db794
user:      ryo <ryo%NetBSD.org@localhost>
date:      Wed Jan 01 10:13:16 2020 +0000

description:
Add module build for aq(4)

diffstat:

 sys/modules/Makefile           |   3 ++-
 sys/modules/if_aq/Makefile     |  14 ++++++++++++++
 sys/modules/if_aq/if_aq.ioconf |  10 ++++++++++
 3 files changed, 26 insertions(+), 1 deletions(-)

diffs (49 lines):

diff -r fbdf0f79c5f6 -r 77ee193db794 sys/modules/Makefile
--- a/sys/modules/Makefile      Wed Jan 01 10:11:21 2020 +0000
+++ b/sys/modules/Makefile      Wed Jan 01 10:13:16 2020 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.233 2019/12/23 06:45:38 maxv Exp $
+#      $NetBSD: Makefile,v 1.234 2020/01/01 10:13:16 ryo Exp $
 
 .include <bsd.own.mk>
 
@@ -439,6 +439,7 @@
 SUBDIR+=       cac
 SUBDIR+=       cac_eisa
 SUBDIR+=       cac_pci
+SUBDIR+=       if_aq
 SUBDIR+=       if_ixl
 SUBDIR+=       if_vioif
 SUBDIR+=       ld
diff -r fbdf0f79c5f6 -r 77ee193db794 sys/modules/if_aq/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/if_aq/Makefile        Wed Jan 01 10:13:16 2020 +0000
@@ -0,0 +1,14 @@
+#      $NetBSD: Makefile,v 1.1 2020/01/01 10:13:16 ryo Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev/pci
+
+KMOD=  if_aq
+IOCONF=        if_aq.ioconf
+
+SRCS=  if_aq.c
+
+CPPFLAGS+=     -DINET -DNVLAN=1
+
+.include <bsd.kmodule.mk>
diff -r fbdf0f79c5f6 -r 77ee193db794 sys/modules/if_aq/if_aq.ioconf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/if_aq/if_aq.ioconf    Wed Jan 01 10:13:16 2020 +0000
@@ -0,0 +1,10 @@
+#      $NetBSD: if_aq.ioconf,v 1.1 2020/01/01 10:13:16 ryo Exp $
+
+ioconf if_aq
+
+include "conf/files"
+include "dev/pci/files.pci"
+
+pseudo-root pci*
+
+aq* at pci? dev ? function ?



Home | Main Index | Thread Index | Old Index