phy_disable_eee_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… phy_disable_eee_mode β€” the "stop bragging about that EEE mode" page πŸ’…

okay bestie so you're in the Kernel API Manual, section 9, and the function we're stanning today is phy_disable_eee_mode(9). she's a little void function, she does one thing, and she does it well. let's get into it 🫢


✨ NAME ✨

phy_disable_eee_mode β€” literally "Don't advertise an EEE mode." that's it. that's the whole vibe. she's telling the world (well, the link partner) that this particular EEE mode is sooo not on the menu πŸ™…β€β™€οΈ


🌸 SYNOPSIS 🌸

void phy_disable_eee_mode (struct phy_device *phydev , u32 link_mode );

note the void β€” she gives you nothing back, no return value, no drama, no exit status. she just does the thing and dips. iconique πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

two little besties walk into a function:

  • phydev β€” The phy_device struct. this is your main character, the phy device you're working with. everything happens through her ✨
  • link_mode β€” The EEE mode to be disabled, as a u32. this is the specific mode you're kicking out of the advertised lineup. not all of them, bestie, just this one 🎯

πŸŽ€ SEE ALSO πŸŽ€

bestie. sit down. hydrate. this is a long list and i'm not skipping a single one because every single one of them matters πŸ’–. it's all from the kernel file ./include/linux/phy.h:

like. that's the whole friend group 😭 and yes, if you're reading this function you should probably go read at least the ones about struct phy_device(9) and the bit-twiddling crew. iykyk ✨


ngl there's no return value and no error to check here β€” this is a plain void. no exit status, no signals, no surprises. so don't go looking for a "but what if it fails" section, because she said what she said πŸ’€

and that's the whole page, bestie!! sourced from ./include/linux, dated October 2026, and honestly? a slay. go forth and not-advertise that EEE mode πŸ§šβ€β™€οΈπŸ‘‘πŸ’œ

πŸ“¦ where this page comes from