net: stmmac: Power up SERDES after the PHY link
authorRevanth Kumar Uppala <ruppala@nvidia.com>
Thu, 1 Dec 2022 15:58:43 +0000 (15:58 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Dec 2022 09:44:42 +0000 (09:44 +0000)
commita46e9010124256f5bf5fc2c241a45cf1944b768e
tree8a25438ea3ce272be089d7f8827e3fb798ca107f
parent32163491c0c205ffb1596baf9c308dee5338ae94
net: stmmac: Power up SERDES after the PHY link

The Tegra MGBE ethernet controller requires that the SERDES link is
powered-up after the PHY link is up, otherwise the link fails to
become ready following a resume from suspend. Add a variable to indicate
that the SERDES link must be powered-up after the PHY link.

Signed-off-by: Revanth Kumar Uppala <ruppala@nvidia.com>
Signed-off-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
include/linux/stmmac.h