Date: Thu, 25 Apr 2019 18:40:24 +0000 (UTC) From: Emmanuel Vadot <manu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r346693 - in head/sys: arm/allwinner modules/allwinner modules/allwinner/axp81x Message-ID: <201904251840.x3PIeObh091048@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: manu Date: Thu Apr 25 18:40:23 2019 New Revision: 346693 URL: https://svnweb.freebsd.org/changeset/base/346693 Log: arm: allwinner: Add pnp info to axp81x and compile it as module too MFC after: 1 month Added: head/sys/modules/allwinner/axp81x/ head/sys/modules/allwinner/axp81x/Makefile (contents, props changed) Modified: head/sys/arm/allwinner/axp81x.c head/sys/modules/allwinner/Makefile Modified: head/sys/arm/allwinner/axp81x.c ============================================================================== --- head/sys/arm/allwinner/axp81x.c Thu Apr 25 18:39:41 2019 (r346692) +++ head/sys/arm/allwinner/axp81x.c Thu Apr 25 18:40:23 2019 (r346693) @@ -1619,3 +1619,4 @@ EARLY_DRIVER_MODULE(ofw_gpiobus, axp8xx_pmu, ofw_gpiob DRIVER_MODULE(gpioc, axp8xx_pmu, gpioc_driver, gpioc_devclass, 0, 0); MODULE_VERSION(axp8xx, 1); MODULE_DEPEND(axp8xx, iicbus, 1, 1, 1); +SIMPLEBUS_PNP_INFO(compat_data); Modified: head/sys/modules/allwinner/Makefile ============================================================================== --- head/sys/modules/allwinner/Makefile Thu Apr 25 18:39:41 2019 (r346692) +++ head/sys/modules/allwinner/Makefile Thu Apr 25 18:40:23 2019 (r346693) @@ -4,6 +4,7 @@ SUBDIR = \ aw_sid \ aw_spi \ - aw_thermal + aw_thermal \ + axp81x .include <bsd.subdir.mk> Added: head/sys/modules/allwinner/axp81x/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/modules/allwinner/axp81x/Makefile Thu Apr 25 18:40:23 2019 (r346693) @@ -0,0 +1,15 @@ +# $FreeBSD$ + +.PATH: ${SRCTOP}/sys/arm/allwinner + +KMOD= axp81x +SRCS= axp81x.c + +SRCS+= \ + bus_if.h \ + clknode_if.h \ + device_if.h \ + ofw_bus_if.h \ + iicbus_if.h + +.include <bsd.kmod.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201904251840.x3PIeObh091048>