]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc33c5804c54f0a5bfee3eb5ddef76ab68b943cbd
tree3e5a822a131e78edd2a883e8fe50ed8cdac87fe8
parentbd1b2dbb83ad3d14a4321543f20ddf3d002316b0
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