diff options
author | adrian <adrian@FreeBSD.org> | 2016-05-23 03:47:44 +0000 |
---|---|---|
committer | adrian <adrian@FreeBSD.org> | 2016-05-23 03:47:44 +0000 |
commit | 81c5de57d49f1e89bc0f80838f0c4d0d38ba0ba5 (patch) | |
tree | c34a6fb76ca3e662a3096fd8c53a6d1757a3eac9 /sys/modules/bhnd/bhndb/Makefile | |
parent | 3561b45e67ca42b4cda1a768077ef782a565db4e (diff) | |
download | FreeBSD-src-81c5de57d49f1e89bc0f80838f0c4d0d38ba0ba5.zip FreeBSD-src-81c5de57d49f1e89bc0f80838f0c4d0d38ba0ba5.tar.gz |
[bhnd] Add support for querying the attachment type of the bhnd bus.
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
Diffstat (limited to 'sys/modules/bhnd/bhndb/Makefile')
-rw-r--r-- | sys/modules/bhnd/bhndb/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/modules/bhnd/bhndb/Makefile b/sys/modules/bhnd/bhndb/Makefile index 7188009..0535864 100644 --- a/sys/modules/bhnd/bhndb/Makefile +++ b/sys/modules/bhnd/bhndb/Makefile @@ -4,6 +4,7 @@ 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 \ |