arm: allwinner: Add pnp info to if_awg and compile it as module too
While here make it depend on aw_sid as it's needed for mac generation. MFC after: 1 month
This commit is contained in:
parent
83bf5ec367
commit
56c37d89b8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=346696
@ -1967,6 +1967,7 @@ static devclass_t awg_devclass;
|
||||
|
||||
DRIVER_MODULE(awg, simplebus, awg_driver, awg_devclass, 0, 0);
|
||||
DRIVER_MODULE(miibus, awg, miibus_driver, miibus_devclass, 0, 0);
|
||||
|
||||
MODULE_DEPEND(awg, ether, 1, 1, 1);
|
||||
MODULE_DEPEND(awg, miibus, 1, 1, 1);
|
||||
MODULE_DEPEND(awg, aw_sid, 1, 1, 1);
|
||||
SIMPLEBUS_PNP_INFO(compat_data);
|
||||
|
@ -6,6 +6,7 @@ SUBDIR = \
|
||||
aw_sid \
|
||||
aw_spi \
|
||||
aw_thermal \
|
||||
axp81x
|
||||
axp81x \
|
||||
if_awg
|
||||
|
||||
.include <bsd.subdir.mk>
|
||||
|
14
sys/modules/allwinner/if_awg/Makefile
Normal file
14
sys/modules/allwinner/if_awg/Makefile
Normal file
@ -0,0 +1,14 @@
|
||||
# $FreeBSD$
|
||||
|
||||
.PATH: ${SRCTOP}/sys/arm/allwinner
|
||||
|
||||
KMOD= if_awg
|
||||
SRCS= if_awg.c
|
||||
|
||||
SRCS+= \
|
||||
bus_if.h \
|
||||
clknode_if.h \
|
||||
device_if.h \
|
||||
ofw_bus_if.h \
|
||||
|
||||
.include <bsd.kmod.mk>
|
Loading…
Reference in New Issue
Block a user