summaryrefslogtreecommitdiff
path: root/fs/bfs/bfs.h
diff options
context:
space:
mode:
authorAlexis Bruemmer <alexisb@us.ibm.com>2008-07-26 02:44:51 (GMT)
committerLinus Torvalds <torvalds@linux-foundation.org>2008-07-26 19:00:03 (GMT)
commit1956a96de488feb05e95c08c9d5e80f63a4be2b1 (patch)
treefd361f464386607e3d753e062ae7956e94c022e3 /fs/bfs/bfs.h
parent8d8bb39b9eba32dd70e87fd5ad5c5dd4ba118e06 (diff)
downloadlinux-fsl-qoriq-1956a96de488feb05e95c08c9d5e80f63a4be2b1.tar.xz
x86 calgary: fix handling of devices that aren't behind the Calgary
The calgary code can give drivers addresses above 4GB which is very bad for hardware that is only 32bit DMA addressable. With this patch, the calgary code sets the global dma_ops to swiotlb or nommu properly, and the dma_ops of devices behind the Calgary/CalIOC2 to calgary_dma_ops. So the calgary code can handle devices safely that aren't behind the Calgary/CalIOC2. [akpm@linux-foundation.org: coding-style fixes] Signed-off-by: Alexis Bruemmer <alexisb@us.ibm.com> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Cc: Muli Ben-Yehuda <muli@il.ibm.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Thomas Gleixner <tglx@linutronix.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/bfs/bfs.h')
0 files changed, 0 insertions, 0 deletions