Skip to content

Commit

Permalink
b53: update header register difinitions
Browse files Browse the repository at this point in the history
BCM531x5 has two pontential cpu ports, and header mode can be enabled
independently on both.

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

SVN-Revision: 48302
  • Loading branch information
KanjiMonster committed Jan 18, 2016
1 parent 1bd8400 commit 2b3b4c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion target/linux/generic/files/drivers/net/phy/b53/b53_regs.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b3b4c9

Please sign in to comment.