freebsd-dev/sys/dev/bhnd/bhndb
Landon J. Fuller 9ed453245b bhnd(4): Add support for querying DMA address translation parameters
BHND Wi-Fi chipsets and SoCs share a common DMA engine, operating within
backplane address space. To support host DMA on Wi-Fi chipsets, the bridge
core maps host address space onto the backplane; any host addresses must
be translated to their corresponding backplane address.


- Defines a new bhnd_get_dma_translation(9) API to support querying DMA
  address translation parameters from the bhnd(4) bus.
- Extends bhndb(4) to provide DMA translation descriptors from a DMA
  address translation table defined in the host bridge-specific
  bhndb_hwcfg.
- Defines bhndb(4) DMA address translation tables for all supported host
  bridge cores.
- Extends mips/broadcom's bhnd_nexus driver to return an identity (no-op)
  DMA translation descriptor; no translation is required when addressing
  the SoC backplane.

Approved by:	adrian (mentor)
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D12582
2017-11-21 23:25:22 +00:00
..
bhnd_bhndb.c bhnd(4): implement MIPS and PCI(e) interrupt support 2017-11-21 23:15:20 +00:00
bhndb_bus_if.m Migrate bhndb(4) to the new bhnd_erom API. 2016-09-04 00:58:19 +00:00
bhndb_hwdata.c [bhnd] Normalize bhnd(4) device matching API 2016-05-24 21:20:17 +00:00
bhndb_hwdata.h
bhndb_if.m bhnd(4): implement MIPS and PCI(e) interrupt support 2017-11-21 23:15:20 +00:00
bhndb_pci_hwdata.c bhnd(4): Add support for querying DMA address translation parameters 2017-11-21 23:25:22 +00:00
bhndb_pci_hwdata.h
bhndb_pci_sprom.c bhndb(4): Fix probing of bhndb-attached bhnd_nvram devices. 2016-09-04 01:47:21 +00:00
bhndb_pci.c bhnd(4): Add support for querying DMA address translation parameters 2017-11-21 23:25:22 +00:00
bhndb_pcireg.h bhnd(4): implement MIPS and PCI(e) interrupt support 2017-11-21 23:15:20 +00:00
bhndb_pcivar.h bhnd(4): implement MIPS and PCI(e) interrupt support 2017-11-21 23:15:20 +00:00
bhndb_private.h bhnd(4): implement MIPS and PCI(e) interrupt support 2017-11-21 23:15:20 +00:00
bhndb_subr.c bhnd(4): Add support for querying DMA address translation parameters 2017-11-21 23:25:22 +00:00
bhndb.c bhnd(4): Add support for querying DMA address translation parameters 2017-11-21 23:25:22 +00:00
bhndb.h bhnd(4): Add support for querying DMA address translation parameters 2017-11-21 23:25:22 +00:00
bhndbvar.h bhnd(4): Add support for querying DMA address translation parameters 2017-11-21 23:25:22 +00:00