On Fri, Oct 13, 2023 at 02:24:02PM +0200, Oleksij Rempel wrote: > KSZ9477 family of switches supports multiple PHY events: > - wake on Link Up > - wake on Energy Detect. > Since current UAPI can't differentiate between this PHY events, map all of them > to WAKE_PHY. I assume link up and energy detect work without doing a MAC address comparison? So maybe these should be added first, and then handle WAKE_MAGIC and setting the global MAC address, and verifying it matches the user interface MAC address? Andrew