brcm74xx: fix patch for BCM4706 CPUs
[openwrt/svn-archive/archive.git] / target / linux / brcm47xx / patches-3.10 / 208-b44-use-fixed-PHY-device-if-we-do-not-find-any.patch
index 91d99025c54254520e9a38dd2b3019d5165f5e45..e30c454398bda2f1dfd85609da4234a7442fe25d 100644 (file)
@@ -30,9 +30,9 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
  #include <linux/ssb/ssb.h>
  #include <linux/ssb/ssb_embedded.h>
  #include <linux/bcma/bcma_soc.h>
-@@ -230,6 +233,12 @@ void __init plat_mem_setup(void)
-       mips_set_machine_name(bcm47xx_board_get_name());
+@@ -255,6 +258,12 @@ static int __init bcm47xx_cpu_fixes(void
  }
+ arch_initcall(bcm47xx_cpu_fixes);
  
 +static struct fixed_phy_status bcm47xx_fixed_phy_status __initdata = {
 +      .link   = 1,
@@ -43,7 +43,7 @@ Signed-off-by: David S. Miller <davem@davemloft.net>
  static int __init bcm47xx_register_bus_complete(void)
  {
        switch (bcm47xx_bus_type) {
-@@ -252,6 +261,7 @@ static int __init bcm47xx_register_bus_c
+@@ -269,6 +278,7 @@ static int __init bcm47xx_register_bus_c
                break;
  #endif
        }