summaryrefslogtreecommitdiff
path: root/drivers/serial/icom.h
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2006-03-06 19:28:35 -0800
committerDavid S. Miller <davem@davemloft.net>2006-03-06 19:28:35 -0800
commit72f2afb8a6858edd9335cd158eb21053a0c2c39a (patch)
tree1cc6884bf4e48822423d23d68d7b2699cd2e68fd /drivers/serial/icom.h
parentd11d9b2dd2c43dd99a491df8a83ae28401db0044 (diff)
[TG3]: Add DMA address workaround
Add DMA workaround for chips that do not support full 64-bit DMA addresses. 5714, 5715, and 5780 chips only support DMA addresses less than 40 bits. On 64-bit systems with IOMMU, set the dma_mask to 40-bit so that pci_map_xxx() calls will map the DMA address below 40 bits if necessary. On 64-bit systems without IOMMU, set the dma_mask to 64-bit and check for DMA addresses exceeding the limit in tg3_start_xmit(). 5788 only supports 32-bit DMA so need to set the mask appropriately also. Thanks to Chris Elmquist at SGI for reporting and helping to debug the problem on 5714. Thanks to David Miller for explaining the HIGHMEM and DMA stuff. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/serial/icom.h')
0 files changed, 0 insertions, 0 deletions