linux/brcm47xx: properly fix r24096
[openwrt.git] / target / linux / brcm47xx / patches-2.6.37 / 150-cpu_fixes.patch
index eae16b0..18d2866 100644 (file)
         * silly idea of putting something else there ...
         */
        switch (current_cpu_type()) {
-+      case CPU_BCM3302:
++      case CPU_BMIPS3300:
 +              {
 +                      u32 cm;
 +                      cm = read_c0_diag();
  
 +      /* Check if special workarounds are required */
 +#ifdef CONFIG_BCM47XX
-+      if (current_cpu_data.cputype == CPU_BCM4710 && (current_cpu_data.processor_id & 0xff) == 0) {
++      if (current_cpu_data.cputype == CPU_BMIPS4KC && (current_cpu_data.processor_id & 0xff) == 0) {
 +              printk("Enabling BCM4710A0 cache workarounds.\n");
 +              bcm4710 = 1;
 +      } else
This page took 0.024527 seconds and 4 git commands to generate.