| From 4385b787af4bdeb253fed5d7f59e6b91eb7b66ba Mon Sep 17 00:00:00 2001 |
| From: Zhao Qiang <qiang.zhao@nxp.com> |
| Date: Mon, 18 Dec 2017 10:26:43 +0800 |
| Subject: net: phy: marvell: Limit 88m1101 autoneg errata to 88E1145 as well. |
| |
| [ Upstream commit c505873eaece2b4aefd07d339dc7e1400e0235ac ] |
| |
| 88E1145 also need this autoneg errata. |
| |
| Fixes: f2899788353c ("net: phy: marvell: Limit errata to 88m1101") |
| Signed-off-by: Zhao Qiang <qiang.zhao@nxp.com> |
| Signed-off-by: David S. Miller <davem@davemloft.net> |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| drivers/net/phy/marvell.c | 2 +- |
| 1 file changed, 1 insertion(+), 1 deletion(-) |
| |
| diff --git a/drivers/net/phy/marvell.c b/drivers/net/phy/marvell.c |
| index c60c147708c4..520352327104 100644 |
| --- a/drivers/net/phy/marvell.c |
| +++ b/drivers/net/phy/marvell.c |
| @@ -1610,7 +1610,7 @@ static struct phy_driver marvell_drivers[] = { |
| .flags = PHY_HAS_INTERRUPT, |
| .probe = marvell_probe, |
| .config_init = &m88e1145_config_init, |
| - .config_aneg = &marvell_config_aneg, |
| + .config_aneg = &m88e1101_config_aneg, |
| .read_status = &genphy_read_status, |
| .ack_interrupt = &marvell_ack_interrupt, |
| .config_intr = &marvell_config_intr, |
| -- |
| 2.17.1 |
| |