Author: rmilecki
Date: 2016-01-30 17:56:50 +0100 (Sat, 30 Jan 2016)
New Revision: 48571

Modified:
   
trunk/target/linux/bcm53xx/patches-4.4/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]>

Modified: 
trunk/target/linux/bcm53xx/patches-4.4/710-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch
===================================================================
--- 
trunk/target/linux/bcm53xx/patches-4.4/710-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch
       2016-01-30 14:31:38 UTC (rev 48570)
+++ 
trunk/target/linux/bcm53xx/patches-4.4/710-b53-add-hacky-CPU-port-fixes-for-devices-not-using-p.patch
       2016-01-30 16:56:50 UTC (rev 48571)
@@ -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