ソースを参照

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>
Russell King 8 年 前
コミット
1f3645bb41
1 ファイル変更5 行追加0 行削除
  1. 5 0
      drivers/net/phy/phy-core.c

+ 5 - 0
drivers/net/phy/phy-core.c

@@ -87,6 +87,11 @@ static const struct phy_setting settings[] = {
 		.duplex = DUPLEX_FULL,
 		.bit = ETHTOOL_LINK_MODE_1000baseKX_Full_BIT,
 	},
+	{
+		.speed = SPEED_1000,
+		.duplex = DUPLEX_FULL,
+		.bit = ETHTOOL_LINK_MODE_1000baseX_Full_BIT,
+	},
 	{
 		.speed = SPEED_1000,
 		.duplex = DUPLEX_FULL,