Source-Changes-HG archive

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

[src/trunk]: src/sys/modules Descend into subdirectory to create the module f...



details:   https://anonhg.NetBSD.org/src/rev/97251211e63b
branches:  trunk
changeset: 830128:97251211e63b
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Mon Feb 26 07:29:24 2018 +0000

description:
Descend into subdirectory to create the module for ichsmb(4) driver.

diffstat:

 sys/modules/Makefile             |   3 ++-
 sys/modules/ichsmb/Makefile      |  13 +++++++++++++
 sys/modules/ichsmb/ichsmb.ioconf |  10 ++++++++++
 3 files changed, 25 insertions(+), 1 deletions(-)

diffs (48 lines):

diff -r 58d8cb95703c -r 97251211e63b sys/modules/Makefile
--- a/sys/modules/Makefile      Mon Feb 26 07:28:02 2018 +0000
+++ b/sys/modules/Makefile      Mon Feb 26 07:29:24 2018 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.201 2018/02/25 10:17:12 kamil Exp $
+#      $NetBSD: Makefile,v 1.202 2018/02/26 07:29:24 pgoyette Exp $
 
 .include <bsd.own.mk>
 
@@ -191,6 +191,7 @@
 SUBDIR+=       hdaudio_pci
 SUBDIR+=       hdaudioverbose
 SUBDIR+=       hpet
+SUBDIR+=       ichsmb
 SUBDIR+=       odcm
 SUBDIR+=       powernow
 SUBDIR+=       tco
diff -r 58d8cb95703c -r 97251211e63b sys/modules/ichsmb/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/ichsmb/Makefile       Mon Feb 26 07:29:24 2018 +0000
@@ -0,0 +1,13 @@
+#      $NetBSD: Makefile,v 1.1 2018/02/26 07:29:25 pgoyette Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev
+.PATH: ${S}/dev/pci
+
+KMOD=  ichsmb
+IOCONF= ichsmb.ioconf
+
+SRCS+= ichsmb.c
+
+.include <bsd.kmodule.mk>
diff -r 58d8cb95703c -r 97251211e63b sys/modules/ichsmb/ichsmb.ioconf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/ichsmb/ichsmb.ioconf  Mon Feb 26 07:29:24 2018 +0000
@@ -0,0 +1,10 @@
+#       $NetBSD: ichsmb.ioconf,v 1.1 2018/02/26 07:29:25 pgoyette Exp $
+
+ioconf ichsmb
+
+include "conf/files"
+include "dev/pci/files.pci"
+
+pseudo-root pci*
+
+ichsmb* at pci? dev ? func ?



Home | Main Index | Thread Index | Old Index