Author: jogo
Date: 2016-01-18 11:46:47 +0100 (Mon, 18 Jan 2016)
New Revision: 48302

Modified:
   trunk/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h
Log:
b53: update header register difinitions

BCM531x5 has two pontential cpu ports, and header mode can be enabled
independently on both.

Signed-off-by: Jonas Gorski <[email protected]>

Modified: trunk/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h
===================================================================
--- trunk/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h     
2016-01-18 09:23:17 UTC (rev 48301)
+++ trunk/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h     
2016-01-18 10:46:47 UTC (rev 48302)
@@ -181,7 +181,8 @@
 
 /* Broadcom Header control register (8 bit) */
 #define B53_BRCM_HDR                   0x03
-#define   BRCM_HDR_EN                  BIT(0) /* Enable tagging on IMP port */
+#define   BRCM_HDR_P8_EN               BIT(0) /* Enable tagging on port 8 */
+#define   BRCM_HDR_P5_EN               BIT(1) /* Enable tagging on port 5 */
 
 /* Device ID register (8 or 32 bit) */
 #define B53_DEVICE_ID                  0x30
_______________________________________________
openwrt-commits mailing list
[email protected]
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits

Reply via email to