phy_ethtool_set_wol(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

ok so bestie, welcome to the Kernel API Manual β€” this one is phy_ethtool_set_wol ✨ and it's literally all about Configure Wake On LAN πŸŽ€

like, you're telling the PHY "hey girl, wake up the machine when the network pokes you" πŸ‘‘ that's the whole vibe.


✨ SYNOPSIS ✨

int phy_ethtool_set_wol (struct phy_device *phydev , struct
ethtool_wolinfo *wol );

it's giving int return, two args, no drama πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • phydev β€” the target phy_device struct 🌸 like, the actual PHY you're talking to, she's the main character here
  • wol β€” the Configuration requested πŸ¦‹ the ethtool_wolinfo struct carrying whatever WOL setup you're asking for

that's it. two args. slay πŸ’…

ngl this page is short and I'm obsessed β€” no scary caveats, no weird defaults, nothing hidden. just phydev + wol + a return value πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

ok so the kernel file to peep is ./drivers/net/phy/phy.c πŸ‘€ and here's the whole friend group, fr fr β€” every single one of these is linked from phy_ethtool_set_wol(9) and no I did not skip any of them 😭

and yeah β€” phy_ethtool_get_wol(9) is literally right there in the list, the setter's sibling 🫢 read them together, iykyk πŸ’œ


ok bye bestie, this page came from ./drivers/net/phy and it's dated October 2026 πŸŽ€ go wake some LANs, periodt πŸ’…βœ¨πŸ”₯

πŸ“¦ where this page comes from