Source-Changes-HG archive

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

[src/trunk]: src/sys/modules PR/52848: Brad Spencer: Add module glue for AM23...



details:   https://anonhg.NetBSD.org/src/rev/e3f9f65cf8cb
branches:  trunk
changeset: 828732:e3f9f65cf8cb
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Dec 29 02:14:25 2017 +0000

description:
PR/52848: Brad Spencer: Add module glue for AM2315 and SI70xx drivers

diffstat:

 sys/modules/Makefile                     |  4 +++-
 sys/modules/am2315temp/Makefile          |  9 +++++++++
 sys/modules/am2315temp/am2315temp.ioconf |  7 +++++++
 sys/modules/si70xxtemp/Makefile          |  9 +++++++++
 sys/modules/si70xxtemp/si70xxtemp.ioconf |  7 +++++++
 5 files changed, 35 insertions(+), 1 deletions(-)

diffs (66 lines):

diff -r 1a45a06fc330 -r e3f9f65cf8cb sys/modules/Makefile
--- a/sys/modules/Makefile      Thu Dec 28 23:31:07 2017 +0000
+++ b/sys/modules/Makefile      Fri Dec 29 02:14:25 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.196 2017/12/09 08:03:07 pgoyette Exp $
+#      $NetBSD: Makefile,v 1.197 2017/12/29 02:14:25 christos Exp $
 
 .include <bsd.own.mk>
 
@@ -48,6 +48,8 @@
 SUBDIR+=       gpiosim
 SUBDIR+=       hfs
 SUBDIR+=       hythygtemp
+SUBDIR+=       si70xxtemp
+SUBDIR+=       am2315temp
 SUBDIR+=       i2cexec
 SUBDIR+=       i2c_bitbang
 SUBDIR+=       if_agr
diff -r 1a45a06fc330 -r e3f9f65cf8cb sys/modules/am2315temp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/am2315temp/Makefile   Fri Dec 29 02:14:25 2017 +0000
@@ -0,0 +1,9 @@
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev/i2c
+
+KMOD=  am2315temp
+IOCONF=        am2315temp.ioconf
+SRCS=  am2315.c
+
+.include <bsd.kmodule.mk>
diff -r 1a45a06fc330 -r e3f9f65cf8cb sys/modules/am2315temp/am2315temp.ioconf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/am2315temp/am2315temp.ioconf  Fri Dec 29 02:14:25 2017 +0000
@@ -0,0 +1,7 @@
+ioconf am2315temp
+
+include "conf/files"
+
+pseudo-root iic*
+
+am2315temp* at iic? addr 0x5c
diff -r 1a45a06fc330 -r e3f9f65cf8cb sys/modules/si70xxtemp/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/si70xxtemp/Makefile   Fri Dec 29 02:14:25 2017 +0000
@@ -0,0 +1,9 @@
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev/i2c
+
+KMOD=  si70xxtemp
+IOCONF=        si70xxtemp.ioconf
+SRCS=  si70xx.c
+
+.include <bsd.kmodule.mk>
diff -r 1a45a06fc330 -r e3f9f65cf8cb sys/modules/si70xxtemp/si70xxtemp.ioconf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/si70xxtemp/si70xxtemp.ioconf  Fri Dec 29 02:14:25 2017 +0000
@@ -0,0 +1,7 @@
+ioconf si70xxtemp
+
+include "conf/files"
+
+pseudo-root iic*
+
+si70xxtemp* at iic? addr 0x40



Home | Main Index | Thread Index | Old Index