net: mv88e61xx: fix autonegotiation on ports
authorTim Harvey <tharvey@gateworks.com>
Mon, 4 Feb 2019 20:56:52 +0000 (12:56 -0800)
committerStefano Babic <sbabic@denx.de>
Fri, 15 Feb 2019 12:01:28 +0000 (13:01 +0100)
commit69280961d72754f27b5196d392bd41b7f8fa2a42
treee16b71481858aee1cd4c148827169d08d637ce7e
parent2dd652e6657cb44f962ae072800a80a678114539
net: mv88e61xx: fix autonegotiation on ports

phy_reset should be called before autoneg is setup

The only boards using MV88E61XX_SWITCH are:
 - alliedtelesis/SBx81LIFKW
 - alliedtelesis/SBx81LIFXCAT
 - gateworks/gw_ventana

Cc: Chris Packham <chris.packham@alliedtelesis.co.nz>
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
drivers/net/phy/mv88e61xx.c