arm: allwinner: Add pnp info to aw_rsb and compile it as module too

MFC after:	1 month
This commit is contained in:
Emmanuel Vadot 2019-04-25 18:43:01 +00:00
parent 56c37d89b8
commit 3de3007594
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346697
3 changed files with 18 additions and 0 deletions

View File

@ -496,3 +496,5 @@ EARLY_DRIVER_MODULE(iicbus, rsb, iicbus_driver, iicbus_devclass, 0, 0,
EARLY_DRIVER_MODULE(rsb, simplebus, rsb_driver, rsb_devclass, 0, 0,
BUS_PASS_RESOURCE + BUS_PASS_ORDER_MIDDLE);
MODULE_VERSION(rsb, 1);
MODULE_DEPEND(rsb, iicbus, 1, 1, 1);
SIMPLEBUS_PNP_INFO(compat_data);

View File

@ -3,6 +3,7 @@
SUBDIR = \
aw_rtc \
aw_rsb \
aw_sid \
aw_spi \
aw_thermal \

View File

@ -0,0 +1,15 @@
# $FreeBSD$
.PATH: ${SRCTOP}/sys/arm/allwinner
KMOD= aw_rsb
SRCS= aw_rsb.c
SRCS+= \
bus_if.h \
clknode_if.h \
device_if.h \
ofw_bus_if.h \
iicbus_if.h
.include <bsd.kmod.mk>