mxl86110_set_wol(9)
π mxl86110_set_wol β NAME π
okay so basically this is mxl86110_set_wol β it enables/disables wake-on-lan, which is literally the function's whole personality. From the Kernel API Manual, section 9. Bestie, this is the little gremlin that flips the WOL switch π«Ά
β¨ SYNOPSIS β¨
int mxl86110_set_wol (struct phy_device *phydev , struct ethtool_wolinfo
*wol );
like, that's the whole signature. slay. it returns an int and takes two pointers, no cap π
π ARGUMENTS π
phydevβ a pointer to thestruct phy_device. yes, the phy device. the main character here πwolβ a pointer to astruct ethtool_wolinfo. that's where the wol info lives, obviously π
π¦ DESCRIPTION π¦
so what does it actually do? it configures the WOL Magic Packet MAC β¨ that's it, that's the vibe. Magic Packet MAC configuring era fr fr.
highkey iconic that a function can be this focused. no side quests, no drama, it just configures that Magic Packet MAC and leaves πΈ
β RETURN β
0β or a negative errno code π
like, you get 0 and you're living your best life, or you get a negative errno code and it's giving error vibes. that's the whole deal π
π SEE ALSO π
- Kernel file
./drivers/net/phy/mxl-86110.cβ the source, the origin story π§ __mxl86110_write_extended_reg(9)__mxl86110_read_extended_reg(9)__mxl86110_modify_extended_reg(9)mxl86110_write_extended_reg(9)mxl86110_read_extended_reg(9)mxl86110_modify_extended_reg(9)mxl86110_get_wol(9)mxl86110_synce_clk_cfg(9)mxl86110_broadcast_cfg(9)mxl86110_enable_led_activity_blink(9)mxl86110_config_rgmii_delay(9)mxl86110_config_init(9)mxl86111_probe(9)mxl86111_config_init(9)mxl86111_read_page(9)mxl86111_write_page(9)
that's the whole friend group right there π₯ go read all of them, iykyk π
ok that's the page!! mwah π
and finally, the cute lil sign-off: this whole thing lives under ./drivers/net/phy, and it's dated October 2026. bestie we are literally reading from the future βπ¦π
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms