[SPARC64]: Add SG merging support back into IOMMU code.
authorDavid S. Miller <davem@huronp11.davemloft.net>
Sat, 9 Feb 2008 11:11:01 +0000 (03:11 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 9 Feb 2008 11:15:36 +0000 (03:15 -0800)
commit13fa14e185614066d96f90f09da08eebe58cbc8f
tree153e69e8ea564109b7509ad4a0ce6daacbedb860
parentd284142cbad66832d5072a0aebeca7bd9ca841b7
[SPARC64]: Add SG merging support back into IOMMU code.

Mimicks almost perfectly the powerpc IOMMU code, except that it
doesn't have the IOMMU_PAGE_SIZE != PAGE_SIZE handling, and it also
lacks the device dma mask support bits.

I'll add that later as time permits, but this gets us at least back to
where we were beforehand.

Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/iommu.c
arch/sparc64/kernel/pci_sun4v.c
include/asm-sparc64/io.h