summaryrefslogtreecommitdiffstats
path: root/drivers/net
diff options
context:
space:
mode:
authorIvan Bornyakov <i.bornyakov@metrotek.ru>2021-04-26 19:08:23 +0300
committerDavid S. Miller <davem@davemloft.net>2021-04-27 14:05:41 -0700
commit152fa81109a8766c45bfd4aad9e8f4005566648d (patch)
tree8c236e9bf97dedb26ce1904f0ab81177e89179f9 /drivers/net
parent6c375d793be601976966bc3c1a14af8ce645a5ff (diff)
downloadlinux-152fa81109a8766c45bfd4aad9e8f4005566648d.tar.bz2
net: phy: marvell-88x2222: enable autoneg by default
There is no real need for disabling autonigotiation in config_init(). Leave it enabled by default. Signed-off-by: Ivan Bornyakov <i.bornyakov@metrotek.ru> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net')
-rw-r--r--drivers/net/phy/marvell-88x2222.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/phy/marvell-88x2222.c b/drivers/net/phy/marvell-88x2222.c
index 9b9ac3ef735d..d8b31d4d2a73 100644
--- a/drivers/net/phy/marvell-88x2222.c
+++ b/drivers/net/phy/marvell-88x2222.c
@@ -473,8 +473,6 @@ static int mv2222_config_init(struct phy_device *phydev)
if (phydev->interface != PHY_INTERFACE_MODE_XAUI)
return -EINVAL;
- phydev->autoneg = AUTONEG_DISABLE;
-
return 0;
}