[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <YTXgqBRMRvYdPyJU@shell.armlinux.org.uk>
Date: Mon, 6 Sep 2021 10:34:32 +0100
From: "Russell King (Oracle)" <linux@...linux.org.uk>
To: Joakim Zhang <qiangqing.zhang@....com>
Cc: Andrew Lunn <andrew@...n.ch>, Vladimir Oltean <olteanv@...il.com>,
"peppe.cavallaro@...com" <peppe.cavallaro@...com>,
"alexandre.torgue@...s.st.com" <alexandre.torgue@...s.st.com>,
"joabreu@...opsys.com" <joabreu@...opsys.com>,
"davem@...emloft.net" <davem@...emloft.net>,
"kuba@...nel.org" <kuba@...nel.org>,
"mcoquelin.stm32@...il.com" <mcoquelin.stm32@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"f.fainelli@...il.com" <f.fainelli@...il.com>,
"hkallweit1@...il.com" <hkallweit1@...il.com>,
dl-linux-imx <linux-imx@....com>
Subject: Re: [PATCH] net: stmmac: fix MAC not working when system resume back
with WoL enabled
Hi,
On Mon, Sep 06, 2021 at 02:29:30AM +0000, Joakim Zhang wrote:
> Hi Russell,
>
> > -----Original Message-----
> > + /* Re-apply the link parameters so that all the settings get
> > + * restored to the MAC.
> > + */
> > + phylink_mac_initial_config(pl, true);
> > + phylink_enable_and_run_resolve(pl, PHYLINK_DISABLE_MAC_WOL);
>
> There is no "phylink_enable_and_run_resolve " sysbol, I guess you want do below operations in this function:
> clear_bit(PHYLINK_DISABLE_MAC_WOL, &pl->phylink_disable_state);
> phylink_run_resolve(pl);
Yes, that is correct.
Please let me know whether that works for you.
Thanks.
--
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
Powered by blists - more mailing lists