diff options
author | Genevieve Chan <genevieve.chan@starfivetech.com> | 2022-12-30 05:39:58 +0300 |
---|---|---|
committer | Ley Foon Tan <leyfoon.tan@starfivetech.com> | 2023-12-04 06:00:13 +0300 |
commit | 871b37486bed4ca412bcef4dce710ab7a65b7945 (patch) | |
tree | 9c48b59016d5c9755a0645eb21d975c0a0136381 | |
parent | 88316413b20cf93a0a8d24c4e13882af22f6d451 (diff) | |
download | linux-871b37486bed4ca412bcef4dce710ab7a65b7945.tar.xz |
net: phy: marvell: Set autonegotiation to OFF by default upon init
This patch set AUTONEG_DISABLE during init to disable autonegotiation
by default.
Signed-off-by: Genevieve Chan <genevieve.chan@starfivetech.com>
-rw-r--r-- | drivers/net/phy/marvell.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c index 0d706ee266af..b339981e7e8a 100644 --- a/drivers/net/phy/marvell.c +++ b/drivers/net/phy/marvell.c @@ -1202,6 +1202,8 @@ static int m88e1510_config_init(struct phy_device *phydev) int err; int i; + phydev->autoneg = AUTONEG_DISABLE; + /* As per Marvell Release Notes - Alaska 88E1510/88E1518/88E1512/ * 88E1514 Rev A0, Errata Section 5.1: * If EEE is intended to be used, the following register writes |