diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2013-08-30 10:12:36 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2013-09-03 14:53:37 -0400 |
commit | b40f451d56de69477a2244a0b4082f644699673f (patch) | |
tree | a1f113a598fd28f61ae9a26e8eb19e528309beff /arch/tile/include/asm/device.h | |
parent | 6d715790ef6b5b903779a14d995ce3d9e680bec0 (diff) | |
download | linux-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.h | 5 |
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; }; |