diff options
author | Revanth Kumar Uppala <ruppala@nvidia.com> | 2022-12-01 18:58:43 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-12-05 12:44:42 +0300 |
commit | a46e9010124256f5bf5fc2c241a45cf1944b768e (patch) | |
tree | 8a25438ea3ce272be089d7f8827e3fb798ca107f /include/linux/stmmac.h | |
parent | 32163491c0c205ffb1596baf9c308dee5338ae94 (diff) | |
download | linux-a46e9010124256f5bf5fc2c241a45cf1944b768e.tar.xz |
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>
Diffstat (limited to 'include/linux/stmmac.h')
-rw-r--r-- | include/linux/stmmac.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h index fb2e88614f5d..83ca2e8eb6b5 100644 --- a/include/linux/stmmac.h +++ b/include/linux/stmmac.h @@ -271,5 +271,6 @@ struct plat_stmmacenet_data { int msi_tx_base_vec; bool use_phy_wol; bool sph_disable; + bool serdes_up_after_phy_linkup; }; #endif |