aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/files/drivers/net/phy/b53/b53_priv.h
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2014-02-22 11:16:56 +0000
committerJonas Gorski <jogo@openwrt.org>2014-02-22 11:16:56 +0000
commit9eb60826f23750498702164d4ba406ba4be60966 (patch)
tree8f735ad5af1fde37f6ade30dfaa35f1f3c50d0ad /target/linux/generic/files/drivers/net/phy/b53/b53_priv.h
parentb8ed6534ca4ebed2c7eda51cbfc43cfeacfdd55c (diff)
downloadupstream-9eb60826f23750498702164d4ba406ba4be60966.tar.gz
upstream-9eb60826f23750498702164d4ba406ba4be60966.tar.bz2
upstream-9eb60826f23750498702164d4ba406ba4be60966.zip
b53: Add BCM53128 switch support
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Patchwork: http://patchwork.openwrt.org/patch/4867/ Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 39682
Diffstat (limited to 'target/linux/generic/files/drivers/net/phy/b53/b53_priv.h')
-rw-r--r--target/linux/generic/files/drivers/net/phy/b53/b53_priv.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/target/linux/generic/files/drivers/net/phy/b53/b53_priv.h b/target/linux/generic/files/drivers/net/phy/b53/b53_priv.h
index d9881a1ff7..ce5b530e98 100644
--- a/target/linux/generic/files/drivers/net/phy/b53/b53_priv.h
+++ b/target/linux/generic/files/drivers/net/phy/b53/b53_priv.h
@@ -46,6 +46,7 @@ enum {
BCM5398_DEVICE_ID = 0x98,
BCM53115_DEVICE_ID = 0x53115,
BCM53125_DEVICE_ID = 0x53125,
+ BCM53128_DEVICE_ID = 0x53128,
BCM63XX_DEVICE_ID = 0x6300,
BCM53010_DEVICE_ID = 0x53010,
BCM53011_DEVICE_ID = 0x53011,
@@ -137,7 +138,8 @@ static inline int is539x(struct b53_device *dev)
static inline int is531x5(struct b53_device *dev)
{
return dev->chip_id == BCM53115_DEVICE_ID ||
- dev->chip_id == BCM53125_DEVICE_ID;
+ dev->chip_id == BCM53125_DEVICE_ID ||
+ dev->chip_id == BCM53128_DEVICE_ID;
}
static inline int is63xx(struct b53_device *dev)