8e35bf8319
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 |
||
---|---|---|
.. | ||
bcm_bmips_exts.h | ||
bcm_bmips.c | ||
bcm_bmipsreg.h | ||
bcm_machdep.c | ||
bcm_machdep.h | ||
bcm_mips74k.c | ||
bcm_mips74kreg.h | ||
bcm_nvram_cfe.c | ||
bcm_nvram_cfevar.h | ||
bcm_pmu.c | ||
bcma_nexus.c | ||
bhnd_nexus.c | ||
bhnd_nexusvar.h | ||
files.broadcom | ||
siba_nexus.c | ||
std.broadcom | ||
uart_bus_chipc.c | ||
uart_cpu_chipc.c |