ytphy_get_wol(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– ytphy_get_wol(9) πŸ’–

okay so this is a page from the Kernel API Manual, bestie β€” it's ytphy_get_wol(9) and it's lowkey a tiny little legend. one job, does it well, no notes. 🫢


🌸 NAME 🌸

ytphy_get_wol β€” report whether wake-on-lan is enabled ✨

like, that's it. that's the whole assignment. she reports. she doesn't set anything, she doesn't change anything, she just tells you if WoL is on. main character energy honestly. πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

void ytphy_get_wol (struct phy_device *phydev , struct ethtool_wolinfo
*wol );

returns void, so no int to check or anything β€” she just does the thing and dips. πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • phydev β€” a pointer to a struct phy_device. this is the phy we're asking about, iykyk. 🌈
  • wol β€” a pointer to a struct ethtool_wolinfo. this is where the answer lands, so like… don't pass NULL, bestie, that's not it. πŸ™ˆ

⭐ NOTE ⭐

YTPHY_WOL_CONFIG_REG is common ext reg. 🧚

no cap, that's the whole note. it's a common ext reg. remember it. write it on your hand. πŸ“


πŸ”₯ SEE ALSO πŸ”₯

okay this list is long, so buckle up β€” and fr fr, it lives in the kernel file ./drivers/net/phy/motorcomm.c πŸ’œ:

like… that's the whole friend group, and they all ate. πŸ”₯


and that's the page!! πŸŽ€ this little baddie ships out of ./drivers/net/phy, dated October 2026, version vibes immaculate, and honestly? we're obsessed. go read your WoL status, bestie. πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from