svn commit: r346692 - in head/sys: arm/allwinner modules/allwinner modules/allwinner/aw_thermal
Emmanuel Vadot
manu at FreeBSD.org
Thu Apr 25 18:39:43 UTC 2019
Author: manu
Date: Thu Apr 25 18:39:41 2019
New Revision: 346692
URL: https://svnweb.freebsd.org/changeset/base/346692
Log:
arm: allwinner: Add pnp info to aw_thermal and compile it as module too
MFC after: 1 month
Added:
head/sys/modules/allwinner/aw_thermal/
head/sys/modules/allwinner/aw_thermal/Makefile (contents, props changed)
Modified:
head/sys/arm/allwinner/aw_thermal.c
head/sys/modules/allwinner/Makefile
Modified: head/sys/arm/allwinner/aw_thermal.c
==============================================================================
--- head/sys/arm/allwinner/aw_thermal.c Thu Apr 25 18:38:38 2019 (r346691)
+++ head/sys/arm/allwinner/aw_thermal.c Thu Apr 25 18:39:41 2019 (r346692)
@@ -728,3 +728,5 @@ static devclass_t aw_thermal_devclass;
DRIVER_MODULE(aw_thermal, simplebus, aw_thermal_driver, aw_thermal_devclass,
0, 0);
MODULE_VERSION(aw_thermal, 1);
+MODULE_DEPEND(aw_thermal, aw_sid, 1, 1, 1);
+SIMPLEBUS_PNP_INFO(compat_data);
Modified: head/sys/modules/allwinner/Makefile
==============================================================================
--- head/sys/modules/allwinner/Makefile Thu Apr 25 18:38:38 2019 (r346691)
+++ head/sys/modules/allwinner/Makefile Thu Apr 25 18:39:41 2019 (r346692)
@@ -4,5 +4,6 @@
SUBDIR = \
aw_sid \
aw_spi \
+ aw_thermal
.include <bsd.subdir.mk>
Added: head/sys/modules/allwinner/aw_thermal/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sys/modules/allwinner/aw_thermal/Makefile Thu Apr 25 18:39:41 2019 (r346692)
@@ -0,0 +1,14 @@
+# $FreeBSD$
+
+.PATH: ${SRCTOP}/sys/arm/allwinner
+
+KMOD= aw_thermal
+SRCS= aw_thermal.c
+
+SRCS+= \
+ bus_if.h \
+ clknode_if.h \
+ device_if.h \
+ ofw_bus_if.h \
+
+.include <bsd.kmod.mk>
More information about the svn-src-all
mailing list