mirror of
https://github.com/opnsense/src.git
synced 2026-04-29 10:11:09 -04:00
This adds a BHND_BUS_GET_ATTACH_TYPE(); the primary use-case is to let chipc make a coarse-grained determination as to whether UART, SPI, etc drivers ought to be attached, and on fullmac devices, whether a real CPU driver ought to be skipped for the ARM core, etc. Tested: * BCM4331 (BHND) * BCM4312 (SIBA) Submitted by: Landon Fuller <landonf@landonf.org> Differential Revision: https://reviews.freebsd.org/D6492
16 lines
305 B
Makefile
16 lines
305 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../../dev/bhnd/bhndb
|
|
|
|
KMOD= bhndb
|
|
SRCS= bhndb.c bhndb_subr.c bhndb_hwdata.c \
|
|
bhnd_bhndb.c \
|
|
bhndb_bus_if.c bhndb_bus_if.h \
|
|
bhndb_if.c bhndb_if.h
|
|
SRCS+= bhnd_bus_if.h \
|
|
bhnd_chipc_if.h \
|
|
bhnd_nvram_if.h
|
|
|
|
SRCS+= device_if.h bus_if.h pci_if.h
|
|
|
|
.include <bsd.kmod.mk>
|