aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2016-01-18 10:46:47 +0000
committerJonas Gorski <jogo@openwrt.org>2016-01-18 10:46:47 +0000
commitafc6775e00a135748eb430de79edea4d8bd957c2 (patch)
tree2a1560eb682d12d05c5ccad38b1f2c255f44260a /target/linux/generic/files/drivers
parentee0c0ca912bd7581b881e1c2520b41b0731f54bc (diff)
downloadmaster-187ad058-afc6775e00a135748eb430de79edea4d8bd957c2.tar.gz
master-187ad058-afc6775e00a135748eb430de79edea4d8bd957c2.tar.bz2
master-187ad058-afc6775e00a135748eb430de79edea4d8bd957c2.zip
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 <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@48302 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/generic/files/drivers')
-rw-r--r--target/linux/generic/files/drivers/net/phy/b53/b53_regs.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h b/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h
index 144e1c8703..f0bf6744a7 100644
--- a/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h
+++ b/target/linux/generic/files/drivers/net/phy/b53/b53_regs.h
@@ -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