diff options
author | David S. Miller <davem@huronp11.davemloft.net> | 2008-02-09 11:11:01 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-09 11:15:36 (GMT) |
commit | 13fa14e185614066d96f90f09da08eebe58cbc8f (patch) | |
tree | 153e69e8ea564109b7509ad4a0ce6daacbedb860 /include | |
parent | d284142cbad66832d5072a0aebeca7bd9ca841b7 (diff) | |
download | linux-fsl-qoriq-13fa14e185614066d96f90f09da08eebe58cbc8f.tar.xz |
[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>
Diffstat (limited to 'include')
-rw-r--r-- | include/asm-sparc64/io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-sparc64/io.h b/include/asm-sparc64/io.h index b6ece22..c299b85 100644 --- a/include/asm-sparc64/io.h +++ b/include/asm-sparc64/io.h @@ -16,7 +16,7 @@ /* BIO layer definitions. */ extern unsigned long kern_base, kern_size; #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) -#define BIO_VMERGE_BOUNDARY 0 +#define BIO_VMERGE_BOUNDARY 8192 static inline u8 _inb(unsigned long addr) { |