Enable setting the dma tag at the nexus level
authorzbb <zbb@FreeBSD.org>
Wed, 21 Jun 2017 18:25:35 +0000 (18:25 +0000)
committerzbb <zbb@FreeBSD.org>
Wed, 21 Jun 2017 18:25:35 +0000 (18:25 +0000)
commit0b32b9947ce18e8f69828c42aa5a9ba8cc027857
tree2f8e45863b0e0dcf68ffa86108c9f3e38690158b
parentdbbf5a80043fca8abfaa7ea9e855a468d0c44e88
Enable setting the dma tag at the nexus level

Allow to set the dma tag for nexus in the platform init code,
so that all busses and devices would be able to inherit it.
This change is useful e.g. for setting coherent dma tag for
the platforms with hardware IO cache coherency.

Submitted by: ian
             Michal Mazur <mkm@semihalf.com>
Reviewed by: ian
Differential revision: https://reviews.freebsd.org/D11202
sys/arm/arm/nexus.c
sys/arm/arm/nexusvar.h [new file with mode: 0644]