Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/modules Modules for iic(4) and gpioiic(4).
details: https://anonhg.NetBSD.org/src/rev/ba11cf519ea6
branches: trunk
changeset: 770050:ba11cf519ea6
user: mbalmer <mbalmer%NetBSD.org@localhost>
date: Sun Oct 02 11:43:30 2011 +0000
description:
Modules for iic(4) and gpioiic(4).
diffstat:
sys/modules/gpioiic/Makefile | 13 +++++++++++++
sys/modules/gpioiic/gpioiic.ioconf | 8 ++++++++
sys/modules/iic/Makefile | 13 +++++++++++++
sys/modules/iic/i2c.ioconf | 9 +++++++++
4 files changed, 43 insertions(+), 0 deletions(-)
diffs (59 lines):
diff -r 2ee7172594df -r ba11cf519ea6 sys/modules/gpioiic/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/gpioiic/Makefile Sun Oct 02 11:43:30 2011 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2011/10/02 11:43:30 mbalmer Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev/gpio
+
+KMOD= gpioiic
+IOCONF= gpioiic.ioconf
+SRCS= gpioiic.c
+
+CPPFLAGS+= -I${S}/gpio
+
+.include <bsd.kmodule.mk>
diff -r 2ee7172594df -r ba11cf519ea6 sys/modules/gpioiic/gpioiic.ioconf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/gpioiic/gpioiic.ioconf Sun Oct 02 11:43:30 2011 +0000
@@ -0,0 +1,8 @@
+# $NetBSD: gpioiic.ioconf,v 1.1 2011/10/02 11:43:30 mbalmer Exp $
+
+ioconf gpioiic
+
+include "conf/files"
+
+pseudo-root gpio*
+gpioiic* at gpio? offset ? mask ?
diff -r 2ee7172594df -r ba11cf519ea6 sys/modules/iic/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/iic/Makefile Sun Oct 02 11:43:30 2011 +0000
@@ -0,0 +1,13 @@
+# $NetBSD: Makefile,v 1.1 2011/10/02 11:43:30 mbalmer Exp $
+
+.include "../Makefile.inc"
+
+.PATH: ${S}/dev/i2c
+
+KMOD= iic
+IOCONF= i2c.ioconf
+SRCS= i2c.c i2c_bitbang.c
+
+CPPFLAGS+= -I${S}/i2c
+
+.include <bsd.kmodule.mk>
diff -r 2ee7172594df -r ba11cf519ea6 sys/modules/iic/i2c.ioconf
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/sys/modules/iic/i2c.ioconf Sun Oct 02 11:43:30 2011 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: i2c.ioconf,v 1.1 2011/10/02 11:43:30 mbalmer Exp $
+
+ioconf i2c
+
+include "conf/files"
+include "dev/i2c/files.i2c"
+
+pseudo-root i2cbus*
+iic* at i2cbus?
Home |
Main Index |
Thread Index |
Old Index