aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/at803x.c
diff options
context:
space:
mode:
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>2016-01-15 01:55:21 +0100
committerDavid S. Miller <davem@davemloft.net>2016-01-17 19:16:46 -0500
commite15bb4c64ddbf62122ef906732b96ae31135f156 (patch)
tree8882c6e7b66d4d8f34f6751cbeab9294a20163e9 /drivers/net/phy/at803x.c
parentarm64: bpf: add extra pass to handle faulty codegen (diff)
downloadlinux-dev-e15bb4c64ddbf62122ef906732b96ae31135f156.tar.xz
linux-dev-e15bb4c64ddbf62122ef906732b96ae31135f156.zip
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>
Diffstat (limited to 'drivers/net/phy/at803x.c')
-rw-r--r--drivers/net/phy/at803x.c2
1 files changed, 1 insertions, 1 deletions
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,