Skip to content

Commit 4431f98

Browse files
author
andy_chi
committed
Etherent: disable EEE LED mode
Change-Id: I44f1ead2138f716c4af092b0daf7b1d1141c7f0c
1 parent f24ddb0 commit 4431f98

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -681,6 +681,13 @@ static void stmmac_release_ptp(struct stmmac_priv *priv)
681681

682682
void setLedConfiguration(struct phy_device *phydev) {
683683

684+
685+
// disable EEE LED mode
686+
phy_write(phydev, 31, 0x0005);
687+
phy_write(phydev, 5, 0x8b82);
688+
phy_write(phydev, 6, 0x052b);
689+
phy_write(phydev, 31, 0x0000);
690+
684691
// To switch to extension Page44
685692
phy_write(phydev, 31, 0x0007);
686693
phy_write(phydev, 30, 0x002c);

0 commit comments

Comments
 (0)