From: Felix Fietkau <nbd@openwrt.org>
Date: Sat, 17 Feb 2007 23:02:49 +0000 (+0000)
Subject: disable dma offset for now
X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=9b47712459d0248770fb497960266623217e2fb7;p=openwrt%2Fstaging%2Fwigyori.git

disable dma offset for now

SVN-Revision: 6317
---

diff --git a/target/linux/atheros-2.6/files/include/asm-mips/mach-atheros/dma-coherence.h b/target/linux/atheros-2.6/files/include/asm-mips/mach-atheros/dma-coherence.h
index fe53556881..34e5a85070 100644
--- a/target/linux/atheros-2.6/files/include/asm-mips/mach-atheros/dma-coherence.h
+++ b/target/linux/atheros-2.6/files/include/asm-mips/mach-atheros/dma-coherence.h
@@ -10,7 +10,11 @@
 #ifndef __ASM_MACH_GENERIC_DMA_COHERENCE_H
 #define __ASM_MACH_GENERIC_DMA_COHERENCE_H
 
+#if 0
 #define PCI_DMA_OFFSET	0x20000000
+#else
+#define PCI_DMA_OFFSET	0x00000000
+#endif
 
 struct device;