freebsd-dev/sys/mips
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
..
adm5120 Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
alchemy Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
atheros arge: correct bzero sizeof (pointed-to object, not pointer) 2017-08-30 17:38:55 +00:00
beri Switch BERI Programmable Interrupt Controller to INTRNG. 2017-04-18 17:20:03 +00:00
broadcom bhnd: Implement bhnd(4) platform device registration. 2017-09-27 19:44:23 +00:00
cavium octeon_ebt3000_cf: eliminate 'format string is not a string literal' warning 2017-08-30 22:54:11 +00:00
conf Enable dtrace support for mips64 and the ERL kernel config 2017-09-06 03:19:52 +00:00
gxemul Allow the use of soft-interrupts for sending IPIs. 2016-09-08 17:37:13 +00:00
idt Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
include Add MIPS32/64 Rev2 CP0 intctl register definitions. 2017-09-15 19:56:21 +00:00
ingenic Add and use a MMC_DECLARE_BRIDGE macro for declaring mmc(4) bridges 2017-03-07 22:42:44 +00:00
malta Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
mediatek [mediatek] [gpio] add PPS / interrupt support. 2017-05-06 06:22:14 +00:00
mips Apply 64k padding to stack pointer for 32-bit processes. 2017-08-30 19:21:11 +00:00
nlm Fix build: include machine/bus.h before uart.h 2017-03-02 17:09:14 +00:00
rmi Deorbit catman. The tradeoff of disk for performance has long since tipped 2017-09-13 16:35:16 +00:00
rt305x Allow setting access-width for UART registers. 2017-02-27 20:08:42 +00:00
sibyte Convert PCIe Hot Plug to using pci_request_feature 2017-02-25 06:11:59 +00:00