diff options
author | Christoph Hellwig <hch@lst.de> | 2018-05-28 12:47:57 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2018-05-28 12:48:25 +0200 |
commit | 0ead51c3fbd15a4bc91e984f1b18b5c9422fbb02 (patch) | |
tree | ad7bf76bbc559ce3fa320ae03ce562e286d2ddc4 /arch/nds32/kernel/dma.c | |
parent | 098afd981744061d37eb4d40bc3f755438570afb (diff) | |
download | linux-0ead51c3fbd15a4bc91e984f1b18b5c9422fbb02.tar.gz linux-0ead51c3fbd15a4bc91e984f1b18b5c9422fbb02.tar.bz2 linux-0ead51c3fbd15a4bc91e984f1b18b5c9422fbb02.zip |
x86/pci-dma: switch the VIA 32-bit DMA quirk to use the struct device flag
Instead of globally disabling > 32bit DMA using the arch_dma_supported
hook walk the PCI bus under the actually affected bridge and mark every
device with the dma_32bit_limit flag. This also gets rid of the
arch_dma_supported hook entirely.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'arch/nds32/kernel/dma.c')
0 files changed, 0 insertions, 0 deletions