net: phy: marvell: Do not reset 88e1310 after autoneg
authorNathan Rossi <nathan@nathanrossi.com>
Fri, 3 Jun 2016 13:16:17 +0000 (23:16 +1000)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 21 Jun 2016 22:01:52 +0000 (17:01 -0500)
commit08e64cece2f8e793b5c085ebf27c27dfc5ed730d
tree52330705c155db8552225d47554c8383fefef5b3
parent79887749f802af5c30ef019bd13f299f79a1530a
net: phy: marvell: Do not reset 88e1310 after autoneg

Commit a058052c "net: phy: do not read configuration register on reset",
changes the behaviour of the phy_reset function such that the state of
the BMCR register is not preserved during reset.

Change the config function for the m88e1310 so that it does not do a
reset after configuring auto-negotiation.

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Stefan Roese <sr@denx.de>
Acked-by: Michal Simek <michal.simek@xilinx.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/net/phy/marvell.c