Commit c6dd213a authored by Florian Fainelli's avatar Florian Fainelli Committed by David S. Miller

net: phy: bcm7xxx: Fix 40nm EPHY features

The PHY entries for BCM7425/29/35 declare the 40nm Ethernet PHY as being
10/100/1000 capable, while this is just a 10/100 capable PHY device, fix that.

Fixes: d068b02c ("net: phy: add BCM7425 and BCM7429 PHYs")
Fixes: 9458ceab ("net: phy: bcm7xxx: Add entry for BCM7435")
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 50d89980
...@@ -337,7 +337,7 @@ static struct phy_driver bcm7xxx_driver[] = { ...@@ -337,7 +337,7 @@ static struct phy_driver bcm7xxx_driver[] = {
.phy_id = PHY_ID_BCM7425, .phy_id = PHY_ID_BCM7425,
.phy_id_mask = 0xfffffff0, .phy_id_mask = 0xfffffff0,
.name = "Broadcom BCM7425", .name = "Broadcom BCM7425",
.features = PHY_GBIT_FEATURES | .features = PHY_BASIC_FEATURES |
SUPPORTED_Pause | SUPPORTED_Asym_Pause, SUPPORTED_Pause | SUPPORTED_Asym_Pause,
.flags = PHY_IS_INTERNAL, .flags = PHY_IS_INTERNAL,
.config_init = bcm7xxx_config_init, .config_init = bcm7xxx_config_init,
...@@ -349,7 +349,7 @@ static struct phy_driver bcm7xxx_driver[] = { ...@@ -349,7 +349,7 @@ static struct phy_driver bcm7xxx_driver[] = {
.phy_id = PHY_ID_BCM7429, .phy_id = PHY_ID_BCM7429,
.phy_id_mask = 0xfffffff0, .phy_id_mask = 0xfffffff0,
.name = "Broadcom BCM7429", .name = "Broadcom BCM7429",
.features = PHY_GBIT_FEATURES | .features = PHY_BASIC_FEATURES |
SUPPORTED_Pause | SUPPORTED_Asym_Pause, SUPPORTED_Pause | SUPPORTED_Asym_Pause,
.flags = PHY_IS_INTERNAL, .flags = PHY_IS_INTERNAL,
.config_init = bcm7xxx_config_init, .config_init = bcm7xxx_config_init,
...@@ -361,7 +361,7 @@ static struct phy_driver bcm7xxx_driver[] = { ...@@ -361,7 +361,7 @@ static struct phy_driver bcm7xxx_driver[] = {
.phy_id = PHY_ID_BCM7435, .phy_id = PHY_ID_BCM7435,
.phy_id_mask = 0xfffffff0, .phy_id_mask = 0xfffffff0,
.name = "Broadcom BCM7435", .name = "Broadcom BCM7435",
.features = PHY_GBIT_FEATURES | .features = PHY_BASIC_FEATURES |
SUPPORTED_Pause | SUPPORTED_Asym_Pause, SUPPORTED_Pause | SUPPORTED_Asym_Pause,
.flags = PHY_IS_INTERNAL, .flags = PHY_IS_INTERNAL,
.config_init = bcm7xxx_config_init, .config_init = bcm7xxx_config_init,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment