freebsd-dev/sys/dev/bhnd/cores/pcie2
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_pcie2_hostb.c bhnd(4): Add a vendor parameter to BHND_DEVICE(), replacing vendor-specific 2016-06-08 21:31:33 +00:00
bhnd_pcie2_hostbvar.h
bhnd_pcie2_reg.h bhnd(4): Add support for querying DMA address translation parameters 2017-11-21 23:25:22 +00:00
bhnd_pcie2_var.h
bhnd_pcie2.c bhnd(4): Add a vendor parameter to BHND_DEVICE(), replacing vendor-specific 2016-06-08 21:31:33 +00:00
bhnd_pcie2b_var.h
bhnd_pcie2b.c