freebsd-dev/sys/dev/bhnd
Adrian Chadd e83ce34035 [bhnd] Initial bhnd(4) SPROM/NVRAM support.
This adds support for the NVRAM handling and the basic SPROM
hardware used on siba(4) and bcma(4) devices, including:

* SPROM directly attached to the PCI core, accessible via PCI configuration
  space.
* SPROM attached to later ChipCommon cores.
* SPROM variables vended from the parent SoC bus (e.g. via a directly-attached
  flash device).

Additional improvements to the NVRAM/SPROM interface will
be required, but this changeset stands alone as working
checkpoint.

Submitted by:	Landon Fuller <landonf@landonf.org>
Reviewed by:	Michael Zhilin <mizkha@gmail.com> (Broadcom MIPS support)
Differential Revision:	https://reviews.freebsd.org/D6196
2016-05-08 19:14:05 +00:00
..
bcma [bhnd] Replace is_hostb_device() with a more general find_hostb_device() 2016-05-08 17:52:12 +00:00
bhndb [bhnd] Initial bhnd(4) SPROM/NVRAM support. 2016-05-08 19:14:05 +00:00
cores [bhnd] Initial bhnd(4) SPROM/NVRAM support. 2016-05-08 19:14:05 +00:00
nvram [bhnd] Initial bhnd(4) SPROM/NVRAM support. 2016-05-08 19:14:05 +00:00
siba [bhnd] Replace is_hostb_device() with a more general find_hostb_device() 2016-05-08 17:52:12 +00:00
tools [bhnd] Initial bhnd(4) SPROM/NVRAM support. 2016-05-08 19:14:05 +00:00
bhnd_bus_if.m [bhnd] Initial bhnd(4) SPROM/NVRAM support. 2016-05-08 19:14:05 +00:00
bhnd_core.h
bhnd_ids.h [bhnd] Initial bhnd(4) SPROM/NVRAM support. 2016-05-08 19:14:05 +00:00
bhnd_subr.c [bhnd] Add support for matching on chip identifiers. 2016-05-08 18:30:08 +00:00
bhnd_types.h
bhnd.c [bhnd] Initial bhnd(4) SPROM/NVRAM support. 2016-05-08 19:14:05 +00:00
bhnd.h [bhnd] Initial bhnd(4) SPROM/NVRAM support. 2016-05-08 19:14:05 +00:00
bhndreg.h
bhndvar.h [bhnd] Clean up bhnd resource handling and inherited bus methods 2016-04-19 15:53:57 +00:00