Author: rmilecki
Date: 2016-02-04 10:23:05 +0100 (Thu, 04 Feb 2016)
New Revision: 48627

Modified:
   
branches/chaos_calmer/target/linux/bcm53xx/patches-3.18/710-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch
Log:
bcm53xx: use proper CPU port in b53 for Netgear R8500

Signed-off-by: Rafa?\197?\130 Mi?\197?\130ecki <[email protected]>

Backport of r48571

Modified: 
branches/chaos_calmer/target/linux/bcm53xx/patches-3.18/710-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch
===================================================================
--- 
branches/chaos_calmer/target/linux/bcm53xx/patches-3.18/710-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch
      2016-02-03 23:57:35 UTC (rev 48626)
+++ 
branches/chaos_calmer/target/linux/bcm53xx/patches-3.18/710-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch
      2016-02-04 09:23:05 UTC (rev 48627)
@@ -21,7 +21,7 @@
  
  #include "b53_regs.h"
  #include "b53_priv.h"
-@@ -1313,6 +1314,18 @@ static int b53_switch_init(struct b53_de
+@@ -1313,6 +1314,20 @@ static int b53_switch_init(struct b53_de
                        sw_dev->cpu_port = 5;
        }
  
@@ -29,6 +29,8 @@
 +              sw_dev->cpu_port = 7;
 +      else if (of_machine_is_compatible("netgear,r8000"))
 +              sw_dev->cpu_port = 8;
++      else if (of_machine_is_compatible("netgear,r8500"))
++              sw_dev->cpu_port = 8;
 +
 +      /*
 +       * Workaround for devices using port 8 (connected to the 3rd iface).
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to