diff options
| author | Revanth Kumar Uppala <ruppala@nvidia.com> | 2022-12-01 15:58:43 +0000 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-11 15:19:02 +0100 |
| commit | fcf5d921f5ad2768c9ec69fcbef619a19d4821a0 (patch) | |
| tree | 421b208bcbf3f9afdc0788b477226545845583d4 /include | |
| parent | 658caf3b8aad65f8b8e102670ca4f68c7030f655 (diff) | |
| download | linux-fcf5d921f5ad2768c9ec69fcbef619a19d4821a0.tar.gz linux-fcf5d921f5ad2768c9ec69fcbef619a19d4821a0.tar.bz2 linux-fcf5d921f5ad2768c9ec69fcbef619a19d4821a0.zip | |
net: stmmac: Power up SERDES after the PHY link
[ Upstream commit a46e9010124256f5bf5fc2c241a45cf1944b768e ]
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>
Stable-dep-of: a48e23221000 ("net: stmmac: fix the crash issue for zero copy XDP_TX action")
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
| -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 9f4a4f70270d..c97df9464f90 100644 --- a/include/linux/stmmac.h +++ b/include/linux/stmmac.h @@ -273,5 +273,6 @@ struct plat_stmmacenet_data { int msi_tx_base_vec; bool use_phy_wol; bool sph_disable; + bool serdes_up_after_phy_linkup; }; #endif |
