net: phy: marvell: Limit 88m1101 autoneg errata to 88E1145 as well.
authorZhao Qiang <qiang.zhao@nxp.com>
Mon, 18 Dec 2017 02:26:43 +0000 (10:26 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 18 Dec 2017 18:19:17 +0000 (13:19 -0500)
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>
drivers/net/phy/marvell.c

index b5a8f75..26c9a11 100644 (file)
@@ -2073,7 +2073,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,