diff options
author | John Keller <jpk@sgi.com> | 2008-11-24 23:47:17 +0100 |
---|---|---|
committer | Tony Luck <tony.luck@intel.com> | 2009-01-15 19:42:16 +0100 |
commit | 175add1981e53d22caba8f42d5f924a4de507b6c (patch) | |
tree | 71ddbf7f46d18222f4f5867d7261b335677c6af6 /arch/ia64/sn | |
parent | [IA64] generic_defconfig: Enable SATA_VITESSE (diff) | |
download | linux-175add1981e53d22caba8f42d5f924a4de507b6c.tar.xz linux-175add1981e53d22caba8f42d5f924a4de507b6c.zip |
[IA64] SN specific version of dma_get_required_mask()
Create a platform specific version of dma_get_required_mask()
for ia64 SN Altix. All SN Altix platforms support 64 bit DMA
addressing regardless of the size of system memory.
Create an ia64 machvec for dma_get_required_mask, with the
SN version unconditionally returning DMA_64BIT_MASK.
Signed-off-by: John Keller <jpk@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch/ia64/sn')
-rw-r--r-- | arch/ia64/sn/pci/pci_dma.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/ia64/sn/pci/pci_dma.c b/arch/ia64/sn/pci/pci_dma.c index 53ebb6484495..863f5017baae 100644 --- a/arch/ia64/sn/pci/pci_dma.c +++ b/arch/ia64/sn/pci/pci_dma.c @@ -356,6 +356,12 @@ int sn_dma_mapping_error(struct device *dev, dma_addr_t dma_addr) } EXPORT_SYMBOL(sn_dma_mapping_error); +u64 sn_dma_get_required_mask(struct device *dev) +{ + return DMA_64BIT_MASK; +} +EXPORT_SYMBOL_GPL(sn_dma_get_required_mask); + char *sn_pci_get_legacy_mem(struct pci_bus *bus) { if (!SN_PCIBUS_BUSSOFT(bus)) |