diff options
author | David S. Miller <davem@huronp11.davemloft.net> | 2008-02-09 12:11:01 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-02-09 12:15:36 +0100 |
commit | 13fa14e185614066d96f90f09da08eebe58cbc8f (patch) | |
tree | 153e69e8ea564109b7509ad4a0ce6daacbedb860 /include/asm-sparc64/io.h | |
parent | [SPARC64]: IOMMU allocations using iommu-helper layer. (diff) | |
download | linux-13fa14e185614066d96f90f09da08eebe58cbc8f.tar.xz linux-13fa14e185614066d96f90f09da08eebe58cbc8f.zip |
[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/asm-sparc64/io.h')
-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 b6ece223562d..c299b853b5ba 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) { |