b53: update header register difinitions
authorJonas Gorski <jogo@openwrt.org>
Mon, 18 Jan 2016 10:46:47 +0000 (10:46 +0000)
committerJonas Gorski <jogo@openwrt.org>
Mon, 18 Jan 2016 10:46:47 +0000 (10:46 +0000)
BCM531x5 has two pontential cpu ports, and header mode can be enabled
independently on both.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 48302

target/linux/generic/files/drivers/net/phy/b53/b53_regs.h

index 144e1c8703a61e39248a072e372cdfb79037bdc6..f0bf6744a75c3b114fb4e17a9c18f43d87129cb9 100644 (file)
 
 /* 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