arm: allwinner: Add pnp info to aw_rsb and compile it as module too
MFC after: 1 month
This commit is contained in:
parent
56c37d89b8
commit
3de3007594
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346697
@ -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);
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
SUBDIR = \
|
||||
aw_rtc \
|
||||
aw_rsb \
|
||||
aw_sid \
|
||||
aw_spi \
|
||||
aw_thermal \
|
||||
|
15
sys/modules/allwinner/aw_rsb/Makefile
Normal file
15
sys/modules/allwinner/aw_rsb/Makefile
Normal 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>
|
Loading…
Reference in New Issue
Block a user