ソースを参照

net: phy: at803x: Don't set gbit features for the AR8030 phy

The 8030 is only a "RMII Fast Ethernet PHY", thus it must not have the
SUPPORTED_1000* bits set.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Martin Blumenstingl 10 年 前
コミット
e15bb4c64d
1 ファイル変更1 行追加1 行削除
  1. 1 1
      drivers/net/phy/at803x.c

+ 1 - 1
drivers/net/phy/at803x.c

@@ -322,7 +322,7 @@ static struct phy_driver at803x_driver[] = {
 	.get_wol		= at803x_get_wol,
 	.get_wol		= at803x_get_wol,
 	.suspend		= at803x_suspend,
 	.suspend		= at803x_suspend,
 	.resume			= at803x_resume,
 	.resume			= at803x_resume,
-	.features		= PHY_GBIT_FEATURES,
+	.features		= PHY_BASIC_FEATURES,
 	.flags			= PHY_HAS_INTERRUPT,
 	.flags			= PHY_HAS_INTERRUPT,
 	.config_aneg		= genphy_config_aneg,
 	.config_aneg		= genphy_config_aneg,
 	.read_status		= genphy_read_status,
 	.read_status		= genphy_read_status,