2021-04-26 16:14:28

by Ivan Bornyakov

[permalink] [raw]
Subject: [PATCH net-next] 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 <[email protected]>
---
drivers/net/phy/marvell-88x2222.c | 2 --
1 file changed, 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;
}

--
2.26.3



2021-04-27 21:12:54

by patchwork-bot+netdevbpf

[permalink] [raw]
Subject: Re: [PATCH net-next] net: phy: marvell-88x2222: enable autoneg by default

Hello:

This patch was applied to netdev/net-next.git (refs/heads/master):

On Mon, 26 Apr 2021 19:08:23 +0300 you wrote:
> There is no real need for disabling autonigotiation in config_init().
> Leave it enabled by default.
>
> Signed-off-by: Ivan Bornyakov <[email protected]>
> ---
> drivers/net/phy/marvell-88x2222.c | 2 --
> 1 file changed, 2 deletions(-)

Here is the summary with links:
- [net-next] net: phy: marvell-88x2222: enable autoneg by default
https://git.kernel.org/netdev/net-next/c/152fa81109a8

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html