aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc
diff options
context:
space:
mode:
authorScott Wood <scottwood@freescale.com>2007-09-14 16:32:14 -0400
committerKumar Gala <galak@kernel.crashing.org>2007-10-04 12:02:21 -0400
commit11af1192b75307e4099dd962b3b97b255d5ab023 (patch)
treef1474924f1832a0f5f9079ab058ddf80d441547b /include/asm-powerpc
parent7f21f52940212c25b4387c2450018e161043549a (diff)
[POWERPC] mpc82xx: Define CPU_FTR_NEED_COHERENT
The 8272 (and presumably other PCI PQ2 chips) appear to have the same issue as the 83xx regarding PCI streaming DMA. Signed-off-by: Scott Wood <scottwood@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-powerpc')
-rw-r--r--include/asm-powerpc/cputable.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-powerpc/cputable.h b/include/asm-powerpc/cputable.h
index f62cffd56c0c..c9b8f64bbb45 100644
--- a/include/asm-powerpc/cputable.h
+++ b/include/asm-powerpc/cputable.h
@@ -196,12 +196,12 @@ extern void do_feature_fixups(unsigned long value, void *fixup_start,
196#define PPC_FEATURE_HAS_EFP_DOUBLE_COMP 0 196#define PPC_FEATURE_HAS_EFP_DOUBLE_COMP 0
197#endif 197#endif
198 198
199/* We need to mark all pages as being coherent if we're SMP or we 199/* We need to mark all pages as being coherent if we're SMP or we have a
200 * have a 74[45]x and an MPC107 host bridge. Also 83xx requires 200 * 74[45]x and an MPC107 host bridge. Also 83xx and PowerQUICC II
201 * it for PCI "streaming/prefetch" to work properly. 201 * require it for PCI "streaming/prefetch" to work properly.
202 */ 202 */
203#if defined(CONFIG_SMP) || defined(CONFIG_MPC10X_BRIDGE) \ 203#if defined(CONFIG_SMP) || defined(CONFIG_MPC10X_BRIDGE) \
204 || defined(CONFIG_PPC_83xx) 204 || defined(CONFIG_PPC_83xx) || defined(CONFIG_8260)
205#define CPU_FTR_COMMON CPU_FTR_NEED_COHERENT 205#define CPU_FTR_COMMON CPU_FTR_NEED_COHERENT
206#else 206#else
207#define CPU_FTR_COMMON 0 207#define CPU_FTR_COMMON 0
@@ -313,7 +313,7 @@ extern void do_feature_fixups(unsigned long value, void *fixup_start,
313 CPU_FTR_PPC_LE) 313 CPU_FTR_PPC_LE)
314#define CPU_FTRS_82XX (CPU_FTR_COMMON | \ 314#define CPU_FTRS_82XX (CPU_FTR_COMMON | \
315 CPU_FTR_MAYBE_CAN_DOZE | CPU_FTR_USE_TB) 315 CPU_FTR_MAYBE_CAN_DOZE | CPU_FTR_USE_TB)
316#define CPU_FTRS_G2_LE (CPU_FTR_MAYBE_CAN_DOZE | \ 316#define CPU_FTRS_G2_LE (CPU_FTR_COMMON | CPU_FTR_MAYBE_CAN_DOZE | \
317 CPU_FTR_USE_TB | CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_HAS_HIGH_BATS) 317 CPU_FTR_USE_TB | CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_HAS_HIGH_BATS)
318#define CPU_FTRS_E300 (CPU_FTR_MAYBE_CAN_DOZE | \ 318#define CPU_FTRS_E300 (CPU_FTR_MAYBE_CAN_DOZE | \
319 CPU_FTR_USE_TB | CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_HAS_HIGH_BATS | \ 319 CPU_FTR_USE_TB | CPU_FTR_MAYBE_CAN_NAP | CPU_FTR_HAS_HIGH_BATS | \