Re: [PATCH v7 03/14] net: phy: at803x: improve the WOL feature
From: Andrew Lunn
Date: Sun Oct 24 2021 - 14:30:23 EST
On Sun, Oct 24, 2021 at 04:27:27PM +0800, Luo Jie wrote:
> The wol feature is controlled by the MMD3.8012 bit5,
> need to set this bit when the wol function is enabled.
>
> The reg18 bit0 is for enabling WOL interrupt, when wol
> occurs, the wol interrupt status reg19 bit0 is set to 1.
>
> Call phy_trigger_machine if there are any other interrupt
> pending in the function set_wol.
>
> Signed-off-by: Luo Jie <luoj@xxxxxxxxxxxxxx>
Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Andrew