commit | b42c6761fd1651f564491b53016046c9ebf0b2a9 | [log] [tgz] |
---|---|---|
author | Lendacky, Thomas <Thomas.Lendacky@amd.com> | Tue Feb 28 15:03:01 2017 -0600 |
committer | David S. Miller <davem@davemloft.net> | Thu Mar 02 12:57:53 2017 -0800 |
tree | bce13cb8d957386bf17989162e522eeb5bf896e9 | |
parent | 402168b4c2dc0734b8fbd282eff77da0275c5129 [diff] |
amd-xgbe: Be sure to set MDIO modes on device (re)start The MDIO register mode is set when the device is probed. But when the device is brought down and then back up, the MDIO register mode has been reset. Be sure to reset the mode during device startup and only change the mode of the address specified. Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: David S. Miller <davem@davemloft.net>