kernel: Add a method to get the bus's bus_dma_tag_t
authorFrançois Tigeot <ftigeot@wolfpond.org>
Fri, 11 Oct 2013 13:30:41 +0000 (15:30 +0200)
committerFrançois Tigeot <ftigeot@wolfpond.org>
Fri, 11 Oct 2013 13:37:16 +0000 (15:37 +0200)
commit9bddf981f10827e6bb06d2b93dda4f610ef9a5ce
tree5f07070ea03b52cb382ee4e60f02552d0aaa8abe
parent54af47c9cdfee790485adaf9c733d060638eb488
kernel: Add a method to get the bus's bus_dma_tag_t

This is required by some machine architectures where there are separate
IOMMU's for each PCI bus.

Obtained-from: FreeBSD
sys/kern/bus_if.m
sys/kern/subr_bus.c
sys/sys/bus.h