SHARE
TWEET

Untitled

a guest Jun 21st, 2015 228 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. From c846cc64e32e73aa6844e57a3003e25d1a5b6f16 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= <zajec5@gmail.com>
  3. Date: Sun, 21 Jun 2015 22:56:00 +0200
  4. Subject: [PATCH] b53: Allow using all 8 ports on BCM53011
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8.  
  9. On two tested devices: Netgear R6250 (BCM53011 rev 2) and Luxul XWC-1000
  10. (BCM53011 rev 3) it was possible to use port 7 and eth1 (instead of port
  11. 5 and eth0). It seems BCM53011 just like BCM53012 has 8 ports and
  12. usually 3 of them are connected to the SoC.
  13.  
  14. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
  15. ---
  16. target/linux/generic/files/drivers/net/phy/b53/b53_common.c | 2 +-
  17.  1 file changed, 1 insertion(+), 1 deletion(-)
  18.  
  19. diff --git a/target/linux/generic/files/drivers/net/phy/b53/b53_common.c b/target/linux/generic/files/drivers/net/phy/b53/b53_common.c
  20. index 47b5a8b..859d8d1 100644
  21. --- a/target/linux/generic/files/drivers/net/phy/b53/b53_common.c
  22. +++ b/target/linux/generic/files/drivers/net/phy/b53/b53_common.c
  23. @@ -1201,7 +1201,7 @@ static const struct b53_chip_data b53_switch_chips[] = {
  24.                 .dev_name = "BCM53011",
  25.                 .alias = "bcm53011",
  26.                 .vlans = 4096,
  27. -               .enabled_ports = 0x1f,
  28. +               .enabled_ports = 0x1bf,
  29.                 .cpu_port = B53_CPU_PORT_25, /* TODO: auto detect */
  30.                 .vta_regs = B53_VTA_REGS,
  31.                 .duplex_reg = B53_DUPLEX_STAT_GE,
  32. --
  33. 1.8.4.5
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top