tile PCI RC: make default consistent DMA mask 32-bit
authorChris Metcalf <cmetcalf@tilera.com>
Fri, 30 Aug 2013 14:12:36 +0000 (10:12 -0400)
committerChris Metcalf <cmetcalf@tilera.com>
Tue, 3 Sep 2013 18:53:37 +0000 (14:53 -0400)
commitb40f451d56de69477a2244a0b4082f644699673f
treea1f113a598fd28f61ae9a26e8eb19e528309beff
parent6d715790ef6b5b903779a14d995ce3d9e680bec0
tile PCI RC: make default consistent DMA mask 32-bit

This change sets the PCI devices' initial DMA capabilities
conservatively and promotes them at the request of the driver,
as opposed to assuming advanced DMA capabilities. The old design
runs the risk of breaking drivers that assume default capabilities.

Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
arch/tile/include/asm/device.h
arch/tile/include/asm/dma-mapping.h
arch/tile/kernel/pci-dma.c
arch/tile/kernel/pci_gx.c