diff options
author | Andrew Lunn <andrew@lunn.ch> | 2018-09-12 01:53:09 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-13 05:24:20 +0200 |
commit | 26eb00a4fcad21ed006155fde71b8c97385d7082 (patch) | |
tree | e85357f572039b0fb18e292c74190b877f707636 /drivers/net/phy/et1011c.c | |
parent | net: phy: ste10Xp: Remove wrong SUPPORTED_Pause (diff) | |
download | linux-26eb00a4fcad21ed006155fde71b8c97385d7082.tar.xz linux-26eb00a4fcad21ed006155fde71b8c97385d7082.zip |
net: phy: et1011c: Remove incorrect missing 1000 Half
The driver indicates it can do 10/100 full and half duplex, plus 1G
Full. The datasheet indicates 1G half is also supported. So make use
of the standard PHY_GBIT_FEATURES.
It could be, this was added because there is a MAC which does not
support 1G half. Bit this is the wrong place to enforce this.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/et1011c.c')
-rw-r--r-- | drivers/net/phy/et1011c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/et1011c.c b/drivers/net/phy/et1011c.c index a9a4edfa23c8..ab541c9c56fb 100644 --- a/drivers/net/phy/et1011c.c +++ b/drivers/net/phy/et1011c.c @@ -91,7 +91,7 @@ static struct phy_driver et1011c_driver[] = { { .phy_id = 0x0282f014, .name = "ET1011C", .phy_id_mask = 0xfffffff0, - .features = (PHY_BASIC_FEATURES | SUPPORTED_1000baseT_Full), + .features = PHY_GBIT_FEATURES, .flags = PHY_POLL, .config_aneg = et1011c_config_aneg, .read_status = et1011c_read_status, |