Re: [PATCH v4 3/3] net: stmmac: dwmac-nuvoton: Add dwmac glue for Nuvoton MA35 family

From: Andrew Lunn
Date: Mon Dec 02 2024 - 20:43:58 EST


> + /* We support WoL by magic packet, override pmt to make it work! */
> + plat_dat->pmt = 1;
> + device_set_wakeup_capable(&pdev->dev, 1);

It seems odd to me that there is no WoL support in this glue
driver. So i assume the core driver is doing it? So why does the core
driver not set pmt and wakeup_capable ?

Andrew