diff options
author | Hauke Mehrtens <hauke@hauke-m.de> | 2013-09-15 13:30:49 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2013-09-15 13:30:49 +0000 |
commit | f5989e7f599ae737e8a72742f880e72335422a13 (patch) | |
tree | 76f84787aefe19fd05f9244eb6bc5d6ad784d6c5 /target/linux/generic/files/drivers/net/phy/b53/b53_regs.h | |
parent | 49d7c57fd131168517ac04cc6ed29f19e275f074 (diff) | |
download | master-31e0f0ae-f5989e7f599ae737e8a72742f880e72335422a13.tar.gz master-31e0f0ae-f5989e7f599ae737e8a72742f880e72335422a13.tar.bz2 master-31e0f0ae-f5989e7f599ae737e8a72742f880e72335422a13.zip |
kernel: b53: detect revision of BCM5325
The revision is stored in a different register than it is in other
Broadcom switches.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 37995
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/b53/b53_regs.h')
-rw-r--r-- | target/linux/generic/files/drivers/net/phy/b53/b53_regs.h | 3 |
1 files changed, 3 insertions, 0 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 7b8f539be0..7018ff4ebb 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 @@ -135,6 +135,9 @@ #define B53_DUPLEX_STAT_GE 0x08 #define B53_DUPLEX_STAT_63XX 0x0c +/* Revision ID register for BCM5325 */ +#define B53_REV_ID_25 0x50 + /* Strap Value (48 bit) */ #define B53_STRAP_VALUE 0x70 #define SV_GMII_CTRL_115 BIT(27) |