Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2019 17:54:41 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r355499 - in head/sys/modules/gpio: . gpioths
Message-ID:  <201912071754.xB7Hsfx3041570@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sat Dec  7 17:54:40 2019
New Revision: 355499
URL: https://svnweb.freebsd.org/changeset/base/355499

Log:
  Add module build stuff for gpioths(4), a driver for DHT11/DHT22 sensors.

Added:
  head/sys/modules/gpio/gpioths/
  head/sys/modules/gpio/gpioths/Makefile   (contents, props changed)
Modified:
  head/sys/modules/gpio/Makefile

Modified: head/sys/modules/gpio/Makefile
==============================================================================
--- head/sys/modules/gpio/Makefile	Sat Dec  7 17:46:32 2019	(r355498)
+++ head/sys/modules/gpio/Makefile	Sat Dec  7 17:54:40 2019	(r355499)
@@ -25,7 +25,7 @@
 # SUCH DAMAGE.
 #
 
-SUBDIR = gpiobus gpioiic gpioled gpiospi
+SUBDIR = gpiobus gpioiic gpioled gpiospi gpioths
 
 .if !empty(OPT_FDT)
 SUBDIR += gpiokeys gpiopps

Added: head/sys/modules/gpio/gpioths/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sys/modules/gpio/gpioths/Makefile	Sat Dec  7 17:54:40 2019	(r355499)
@@ -0,0 +1,19 @@
+# $FreeBSD$
+#
+
+.PATH:	${SRCTOP}/sys/dev/gpio/
+
+KMOD=	gpioths
+SRCS=	gpioths.c
+
+SRCS+=	\
+	bus_if.h \
+	device_if.h \
+	gpio_if.h \
+	gpiobus_if.h \
+	ofw_bus_if.h \
+	opt_platform.h \
+
+CFLAGS+=  -I. -I${SRCTOP}/sys/dev/gpio/
+
+.include <bsd.kmod.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912071754.xB7Hsfx3041570>