net: phy: at803x: Don't set gbit features for the AR8030 phy
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Fri, 15 Jan 2016 00:55:21 +0000 (01:55 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Jan 2016 00:16:46 +0000 (19:16 -0500)
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>
drivers/net/phy/at803x.c

index 8a8f6fb2880d72bbc3c490e6d48e3902cc572315..358944764ba7e3ea3a8f4fad0d8d27a7dbe58c8c 100644 (file)
@@ -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,