summaryrefslogtreecommitdiffstats
path: root/arch/tile/include/asm/device.h
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2013-08-30 10:12:36 -0400
committerChris Metcalf <cmetcalf@tilera.com>2013-09-03 14:53:37 -0400
commitb40f451d56de69477a2244a0b4082f644699673f (patch)
treea1f113a598fd28f61ae9a26e8eb19e528309beff /arch/tile/include/asm/device.h
parent6d715790ef6b5b903779a14d995ce3d9e680bec0 (diff)
downloadlinux-b40f451d56de69477a2244a0b4082f644699673f.tar.bz2
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>
Diffstat (limited to 'arch/tile/include/asm/device.h')
-rw-r--r--arch/tile/include/asm/device.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/tile/include/asm/device.h b/arch/tile/include/asm/device.h
index 5182705bd056..6ab8bf146d4c 100644
--- a/arch/tile/include/asm/device.h
+++ b/arch/tile/include/asm/device.h
@@ -23,7 +23,10 @@ struct dev_archdata {
/* Offset of the DMA address from the PA. */
dma_addr_t dma_offset;
- /* Highest DMA address that can be generated by this device. */
+ /*
+ * Highest DMA address that can be generated by devices that
+ * have limited DMA capability, i.e. non 64-bit capable.
+ */
dma_addr_t max_direct_dma_addr;
};