freebsd-dev/sys/mips/broadcom
Landon J. Fuller 8e35bf8319 bhnd: Implement bhnd(4) platform device registration.
Add bhnd(4) API for explicitly registering BHND platform devices (ChipCommon,
PMU, NVRAM, etc) with the bus, rather than walking the newbus hierarchy to
discover platform devices. These devices are now also refcounted; attempting
to deregister an actively used platform device will return EBUSY.

This resolves a lock ordering incompatibility with bwn(4)'s firmware loading
threads; previously it was necessary to acquire Giant to protect newbus access
when locating and querying the NVRAM device.

Approved by:	adrian (mentor)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D12392
2017-09-27 19:44:23 +00:00
..
bcm_bmips_exts.h Split bcm_mipscore.c into bcm_bmips (BMIPS32/BMIPS3300) and bcm_mips74k 2016-09-18 21:28:09 +00:00
bcm_bmips.c Split bcm_mipscore.c into bcm_bmips (BMIPS32/BMIPS3300) and bcm_mips74k 2016-09-18 21:28:09 +00:00
bcm_bmipsreg.h Split bcm_mipscore.c into bcm_bmips (BMIPS32/BMIPS3300) and bcm_mips74k 2016-09-18 21:28:09 +00:00
bcm_machdep.c bhnd: Implement bhnd(4) platform device registration. 2017-09-27 19:44:23 +00:00
bcm_machdep.h bhnd: Implement bhnd(4) platform device registration. 2017-09-27 19:44:23 +00:00
bcm_mips74k.c Split bcm_mipscore.c into bcm_bmips (BMIPS32/BMIPS3300) and bcm_mips74k 2016-09-18 21:28:09 +00:00
bcm_mips74kreg.h Split bcm_mipscore.c into bcm_bmips (BMIPS32/BMIPS3300) and bcm_mips74k 2016-09-18 21:28:09 +00:00
bcm_nvram_cfe.c bhnd: Implement bhnd(4) platform device registration. 2017-09-27 19:44:23 +00:00
bcm_nvram_cfevar.h [mips/broadcom]: Early boot NVRAM support 2017-03-23 19:29:12 +00:00
bcm_pmu.c [mips] [bhnd] Support of old PMU for BMIPS and siba SoC 2017-05-28 12:05:16 +00:00
bcma_nexus.c [mips/broadcom] Move MIPS-specific bhnd(4) nexus drivers to 2017-02-13 19:58:55 +00:00
bhnd_nexus.c bhnd: Implement bhnd(4) platform device registration. 2017-09-27 19:44:23 +00:00
bhnd_nexusvar.h [mips/broadcom] Move MIPS-specific bhnd(4) nexus drivers to 2017-02-13 19:58:55 +00:00
files.broadcom [mips/broadcom] Move MIPS-specific bhnd(4) nexus drivers to 2017-02-13 19:58:55 +00:00
siba_nexus.c [mips/broadcom] Move MIPS-specific bhnd(4) nexus drivers to 2017-02-13 19:58:55 +00:00
std.broadcom Replace mips/sentry5 with mips/broadcom 2016-06-25 04:34:54 +00:00
uart_bus_chipc.c Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
uart_cpu_chipc.c [mips/broadcom]: Replace static frequency table with generic PMU clock 2016-08-27 00:06:20 +00:00