diff options
author | Ling Pei Lee <pei.lee.ling@intel.com> | 2021-06-29 05:08:58 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-29 20:34:48 +0200 |
commit | 945beb7556334166900508fab7e4f50fcd233593 (patch) | |
tree | b6dbcaa613fc8f5fe65ff461e810cfca8ef3856b /drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | |
parent | net: stmmac: option to enable PHY WOL with PMT enabled (diff) | |
download | linux-945beb7556334166900508fab7e4f50fcd233593.tar.xz linux-945beb7556334166900508fab7e4f50fcd233593.zip |
stmmac: intel: Enable PHY WOL option in EHL
Enable PHY Wake On LAN in Intel EHL Intel platform.
PHY Wake on LAN option is enabled due to
Intel EHL Intel platform is designed for
PHY Wake On LAN but not MAC Wake On LAN.
Signed-off-by: Ling Pei Lee <pei.lee.ling@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c b/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c index e0a7d2b17921..689bcd947f7a 100644 --- a/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c +++ b/drivers/net/ethernet/stmicro/stmmac/dwmac-intel.c @@ -593,6 +593,7 @@ static int ehl_common_data(struct pci_dev *pdev, plat->rx_queues_to_use = 8; plat->tx_queues_to_use = 8; plat->clk_ptp_rate = 200000000; + plat->use_phy_wol = 1; plat->safety_feat_cfg->tsoee = 1; plat->safety_feat_cfg->mrxpee = 1; |