72ef722b2a
Add DPAA2 console support for MC and AIOP (latter untested) for FDT systems. ACPI systems are prepared but need some proper bus function in order to get the address from MC (and likely a file splitup then). This will come at a later stage once other ACPI/FDT bus parts are cleared up. The work was originally done in July 2022 and finally switched to bus_space[1] lately to be ready for main. Suggested by: andrew [1] Reviewed by: dsl MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D38592
43 lines
814 B
Makefile
43 lines
814 B
Makefile
.PATH: ${SRCTOP}/sys/dev/dpaa2
|
|
|
|
KMOD= dpaa2
|
|
|
|
SRCS= dpaa2_mc.c
|
|
SRCS+= dpaa2_rc.c
|
|
SRCS+= dpaa2_io.c
|
|
SRCS+= dpaa2_bp.c
|
|
SRCS+= dpaa2_ni.c
|
|
SRCS+= dpaa2_mcp.c
|
|
SRCS+= dpaa2_swp.c
|
|
SRCS+= dpaa2_mac.c
|
|
SRCS+= dpaa2_con.c
|
|
|
|
SRCS+= dpaa2_cmd_if.c dpaa2_cmd_if.h
|
|
SRCS+= dpaa2_swp_if.c dpaa2_swp_if.h
|
|
SRCS+= dpaa2_mc_if.c dpaa2_mc_if.h
|
|
SRCS+= memac_mdio_common.c memac_mdio_if.c memac_mdio_if.h
|
|
|
|
SRCS+= dpaa2_console.c
|
|
|
|
SRCS+= bus_if.h device_if.h miibus_if.h
|
|
SRCS+= pcib_if.h pci_if.h
|
|
SRCS+= opt_acpi.h opt_platform.h
|
|
|
|
SRCS.DEV_ACPI= dpaa2_mc_acpi.c \
|
|
memac_mdio_acpi.c \
|
|
acpi_if.h \
|
|
acpi_bus_if.h
|
|
|
|
.if !empty(OPT_FDT)
|
|
SRCS+= dpaa2_mc_fdt.c \
|
|
memac_mdio_fdt.c \
|
|
ofw_bus_if.h
|
|
.endif
|
|
|
|
MFILES= dev/dpaa2/dpaa2_cmd_if.m \
|
|
dev/dpaa2/dpaa2_swp_if.m \
|
|
dev/dpaa2/dpaa2_mc_if.m \
|
|
dev/dpaa2/memac_mdio_if.m
|
|
|
|
.include <bsd.kmod.mk>
|