net: phy: mscc: Add EEE init sequence
authorRaju Lakkaraju <Raju.Lakkaraju@microchip.com>
Mon, 8 Oct 2018 10:07:25 +0000 (12:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 17:29:21 +0000 (10:29 -0700)
commit96dae01f27fea4e67aabc1f77e78f0333f73e0a7
tree3e5a822a131e78edd2a883e8fe50ed8cdac87fe8
parentf76178dc5218a135726fdad45074413381d1bfca
net: phy: mscc: Add EEE init sequence

Microsemi PHYs (VSC 8530/31/40/41) need to update the Energy Efficient
Ethernet initialization sequence.
In order to avoid certain link state errors that could result in link
drops and packet loss, the physical coding sublayer (PCS) must be
updated with settings related to EEE in order to improve performance.

Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Raju Lakkaraju <Raju.Lakkaraju@microchip.com>
Signed-off-by: Quentin Schulz <quentin.schulz@bootlin.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/mscc.c