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 8a8f6fb..3589447 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,