Author: rmilecki
Date: 2015-06-22 09:59:09 +0200 (Mon, 22 Jun 2015)
New Revision: 46107

Modified:
   
branches/chaos_calmer/target/linux/generic/files/drivers/net/phy/b53/b53_common.c
Log:
b53: Allow using all 8 ports on BCM53011

On two tested devices: Netgear R6250 (BCM53011 rev 2) and Luxul XWC-1000
(BCM53011 rev 3) it was possible to use port 7 and eth1 (instead of port
5 and eth0). It seems BCM53011 just like BCM53012 has 8 ports and
usually 3 of them are connected to the SoC.

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

Backport of r46104

Modified: 
branches/chaos_calmer/target/linux/generic/files/drivers/net/phy/b53/b53_common.c
===================================================================
--- 
branches/chaos_calmer/target/linux/generic/files/drivers/net/phy/b53/b53_common.c
   2015-06-22 07:51:00 UTC (rev 46106)
+++ 
branches/chaos_calmer/target/linux/generic/files/drivers/net/phy/b53/b53_common.c
   2015-06-22 07:59:09 UTC (rev 46107)
@@ -1201,7 +1201,7 @@
                .dev_name = "BCM53011",
                .alias = "bcm53011",
                .vlans = 4096,
-               .enabled_ports = 0x1f,
+               .enabled_ports = 0x1bf,
                .cpu_port = B53_CPU_PORT_25, /* TODO: auto detect */
                .vta_regs = B53_VTA_REGS,
                .duplex_reg = B53_DUPLEX_STAT_GE,
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to