Re: [PATCH net 2/3] net: bcmgenet: test RBUF_ACPI_EN when resuming

2020-07-16 Thread Florian Fainelli
On 7/16/2020 4:38 PM, Doug Berger wrote: > When the GENET driver resumes from deep sleep the UMAC_CMD > register may not be accessible and therefore should not be > accessed from bcmgenet_wol_power_up_cfg() if the GENET has > been reset. > > This commit adds a check of the RBUF_ACPI_EN flag whe

[PATCH net 2/3] net: bcmgenet: test RBUF_ACPI_EN when resuming

2020-07-16 Thread Doug Berger
When the GENET driver resumes from deep sleep the UMAC_CMD register may not be accessible and therefore should not be accessed from bcmgenet_wol_power_up_cfg() if the GENET has been reset. This commit adds a check of the RBUF_ACPI_EN flag when Wake on Filter is enabled. A clear flag indicates that