PR/52848: Brad Spencer: Add module glue for AM2315 and SI70xx drivers
This commit is contained in:
parent
7571435c34
commit
8ad407c2b7
|
@ -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+= gpioow
|
|||
SUBDIR+= gpiosim
|
||||
SUBDIR+= hfs
|
||||
SUBDIR+= hythygtemp
|
||||
SUBDIR+= si70xxtemp
|
||||
SUBDIR+= am2315temp
|
||||
SUBDIR+= i2cexec
|
||||
SUBDIR+= i2c_bitbang
|
||||
SUBDIR+= if_agr
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
.include "../Makefile.inc"
|
||||
|
||||
.PATH: ${S}/dev/i2c
|
||||
|
||||
KMOD= am2315temp
|
||||
IOCONF= am2315temp.ioconf
|
||||
SRCS= am2315.c
|
||||
|
||||
.include <bsd.kmodule.mk>
|
|
@ -0,0 +1,7 @@
|
|||
ioconf am2315temp
|
||||
|
||||
include "conf/files"
|
||||
|
||||
pseudo-root iic*
|
||||
|
||||
am2315temp* at iic? addr 0x5c
|
|
@ -0,0 +1,9 @@
|
|||
.include "../Makefile.inc"
|
||||
|
||||
.PATH: ${S}/dev/i2c
|
||||
|
||||
KMOD= si70xxtemp
|
||||
IOCONF= si70xxtemp.ioconf
|
||||
SRCS= si70xx.c
|
||||
|
||||
.include <bsd.kmodule.mk>
|
|
@ -0,0 +1,7 @@
|
|||
ioconf si70xxtemp
|
||||
|
||||
include "conf/files"
|
||||
|
||||
pseudo-root iic*
|
||||
|
||||
si70xxtemp* at iic? addr 0x40
|
Loading…
Reference in New Issue