Skip to content

Commit 1f3645b

Browse files
Russell Kingdavem330
authored andcommitted
net: phy: add 1000Base-X to phy settings table
Add the missing 1000Base-X entry to the phy settings table. This was not included because the original code could not cope with more than 32 bits of link mode mask. Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 0ccb4fc commit 1f3645b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/net/phy/phy-core.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,11 @@ static const struct phy_setting settings[] = {
8787
.duplex = DUPLEX_FULL,
8888
.bit = ETHTOOL_LINK_MODE_1000baseKX_Full_BIT,
8989
},
90+
{
91+
.speed = SPEED_1000,
92+
.duplex = DUPLEX_FULL,
93+
.bit = ETHTOOL_LINK_MODE_1000baseX_Full_BIT,
94+
},
9095
{
9196
.speed = SPEED_1000,
9297
.duplex = DUPLEX_FULL,

0 commit comments

Comments
 (0)