freebsd-skq/sys/dev/bwn
Landon J. Fuller 111d7cb2e3 Migrate bhndb(4) to the new bhnd_erom API.
Adds support for probing and initializing bhndb(4) bridge state using
the bhnd_erom API, ensuring that full bridge configuration is available
*prior* to actually attaching and enumerating the bhnd(4) child device,
allowing us to safely allocate bus-level agent/device resources during
bhnd(4) bus enumeration.

- Add a bhnd_erom_probe() method usable by bhndb(4). This is an analogue
  to the existing bhnd_erom_probe_static() method, and allows the bhndb
  bridge to discover the best available erom parser class prior to newbus
  probing of its children.
- Add support for supplying identification hints when probing erom
  devices. This is required on early EXTIF-only chipsets, where chip
  identification registers are not available.
- Migrate bhndb over to the new bhnd_erom API, using bhnd_core_info
  records rather than bridged bhnd(4) device_t references to determine
  the bridged chipsets' capability/bridge configuration.
- The bhndb parent (e.g. if_bwn) is now required to supply a hardware
  priority table to the bridge. The default table is currently sufficient
  for our supported devices.
- Drop the two-pass attach approach we used for compatibility with bhndb(4) in
  the bhnd(4) bus drivers, and instead perform bus enumeration immediately,
  and allocate bridged per-child bus-level resources during that enumeration.

Approved by:	adrian (mentor)
Differential Revision:	https://reviews.freebsd.org/D7768
2016-09-04 00:58:19 +00:00
..
bwn_mac.c bhnd(4): Implement NVRAM support required for PMU bring-up. 2016-08-16 21:32:05 +00:00
if_bwn_chipid.h [bwn] add BCMA chip identifiers. 2016-05-14 20:03:24 +00:00
if_bwn_cordic.h [bwn] add an implementation of "cordic" and imaginary math. 2016-05-14 23:33:13 +00:00
if_bwn_debug.h [bwn] add opt_wlan.h and opt_bwn.h so we can enable bwn debugging as appropriate. 2016-05-16 22:56:45 +00:00
if_bwn_misc.h [bwn] implement reset improvements in preparation for PHY-N support 2016-05-14 23:20:46 +00:00
if_bwn_pci.c Migrate bhndb(4) to the new bhnd_erom API. 2016-09-04 00:58:19 +00:00
if_bwn_pcivar.h Migrate bhndb(4) to the new bhnd_erom API. 2016-09-04 00:58:19 +00:00
if_bwn_phy_common.c [bwn] add extra debugging for non-SIBA devices. 2016-05-24 01:20:30 +00:00
if_bwn_phy_common.h [bwn] begin migrating PHY common routines into if_bwn_phy_common.[ch]. 2016-05-14 20:11:48 +00:00
if_bwn_phy_g.c [bwn] add opt_wlan.h and opt_bwn.h so we can enable bwn debugging as appropriate. 2016-05-16 22:56:45 +00:00
if_bwn_phy_g.h [bwn] add new types, prepare for PHY-N; prepare for rev 5xx firmware. 2016-05-14 23:38:21 +00:00
if_bwn_phy_lp.c [bwn] add opt_wlan.h and opt_bwn.h so we can enable bwn debugging as appropriate. 2016-05-16 22:56:45 +00:00
if_bwn_phy_lp.h [bwn] break out the LP PHY code into a separate file. 2016-05-02 21:06:02 +00:00
if_bwn_phy_n.c [bwn] complain usefully if a PHY-N PHY is detected with no support is compiled in. 2016-06-05 07:51:36 +00:00
if_bwn_phy_n.h [bwn] add PHY-N glue. 2016-05-17 07:11:12 +00:00
if_bwn_util.c [bwn] add opt_wlan.h and opt_bwn.h so we can enable bwn debugging as appropriate. 2016-05-16 22:56:45 +00:00
if_bwn_util.h [bwn] add Q52 macros. 2016-05-14 20:09:37 +00:00
if_bwn.c [bwn] don't use a 1MB CCK RTS frame for 11a OFDM transmissions. 2016-06-06 07:09:02 +00:00
if_bwnreg.h [bwn] program in the MAC capabilities somewhere where later microcode 2016-05-19 05:06:48 +00:00
if_bwnvar.h [bwn] add initial 5xx firmware API support 2016-05-18 05:56:25 +00:00