This make sense, thanks for this comment, will add it in the next patch set.Hi Andrew,O.K. But you do have the value of the interrupt status register. So
when this register AT803X_INTR_STATUS bits are cleared after read, we can't
clear only WOL interrupt here.
you could call phy_trigger_machine(phydev) if there are any other
interrupt pending. They won't get lost that way.
Andrew