git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git]
/
include
/
asm-i386
/
mach-xen
/
asm
/
swiotlb.h
diff --git
a/include/asm-i386/mach-xen/asm/swiotlb.h
b/include/asm-i386/mach-xen/asm/swiotlb.h
index
c9afcbb
..
cf4ba38
100644
(file)
--- a/
include/asm-i386/mach-xen/asm/swiotlb.h
+++ b/
include/asm-i386/mach-xen/asm/swiotlb.h
@@
-32,6
+32,9
@@
extern void swiotlb_unmap_page(struct device *hwdev, dma_addr_t dma_address,
extern int swiotlb_dma_supported(struct device *hwdev, u64 mask);
extern void swiotlb_init(void);
extern int swiotlb_dma_supported(struct device *hwdev, u64 mask);
extern void swiotlb_init(void);
+/* Width of DMA addresses in the IO TLB. 30 bits is a b44 limitation. */
+#define IO_TLB_DMA_BITS 30
+
#ifdef CONFIG_SWIOTLB
extern int swiotlb;
#else
#ifdef CONFIG_SWIOTLB
extern int swiotlb;
#else