Re: [PATCH net-next] net: stmmac: mask the MAC interrupt while resume resets the MAC

From: Andrew Lunn

Date: Thu Oct 01 2026 - 08:52:35 EST


> stmmac_resume() resets the MAC in stmmac_hw_setup(). On dwmac1000 the
> reset clears the interrupt mask

For my understanding, it is the hardware reset which clears the mask,
not software?

If it is hardware, that is an odd hardware design.

Andrew