Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

net: stmmac: dwc-qos: use PHY WoL

Mark Tegra platforms to use PHY's wake-on-Lan capabilities rather than
the stmmac wake-on-Lan.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/E1uw0ff-00000004IQJ-3AMp@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Russell King (Oracle) and committed by
Jakub Kicinski
724b22d3 9c02ea54

+2 -1
+2 -1
drivers/net/ethernet/stmicro/stmmac/dwmac-dwc-qos-eth.c
··· 261 261 plat_dat->set_clk_tx_rate = stmmac_set_clk_tx_rate; 262 262 plat_dat->bsp_priv = eqos; 263 263 plat_dat->flags |= STMMAC_FLAG_SPH_DISABLE | 264 - STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP; 264 + STMMAC_FLAG_EN_TX_LPI_CLK_PHY_CAP | 265 + STMMAC_FLAG_USE_PHY_WOL; 265 266 266 267 return 0; 267 268