From: Martin Blumenstingl Date: Fri, 15 Jan 2016 00:55:21 +0000 (+0100) Subject: net: phy: at803x: Don't set gbit features for the AR8030 phy X-Git-Tag: v4.5-rc1~66^2~7 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=e15bb4c64ddbf62122ef906732b96ae31135f156;p=linux.git 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 Signed-off-by: David S. Miller --- diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index 8a8f6fb2880d..358944764ba7 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -322,7 +322,7 @@ static struct phy_driver at803x_driver[] = { .get_wol = at803x_get_wol, .suspend = at803x_suspend, .resume = at803x_resume, - .features = PHY_GBIT_FEATURES, + .features = PHY_BASIC_FEATURES, .flags = PHY_HAS_INTERRUPT, .config_aneg = genphy_config_aneg, .read_status = genphy_read_status,