1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00

arm: allwinner: Add pnpinfo for aw_sid and add module Makefile

MFC after:	1 month
This commit is contained in:
Emmanuel Vadot 2019-04-25 18:38:38 +00:00
parent e3a883c386
commit db0e5bf390
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346691
3 changed files with 16 additions and 0 deletions

View File

@ -414,3 +414,4 @@ static devclass_t aw_sid_devclass;
EARLY_DRIVER_MODULE(aw_sid, simplebus, aw_sid_driver, aw_sid_devclass, 0, 0,
BUS_PASS_RESOURCE + BUS_PASS_ORDER_FIRST);
MODULE_VERSION(aw_sid, 1);
SIMPLEBUS_PNP_INFO(compat_data);

View File

@ -2,6 +2,7 @@
# Build modules specific to Allwinner.
SUBDIR = \
aw_sid \
aw_spi \
.include <bsd.subdir.mk>

View File

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