linkmode_to_mii_eee_cap2_t(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ linkmode_to_mii_eee_cap2_t(9) ✨

okay so bestie, welcome to the Kernel API Manual β€” this page is literally about one tiny translation function, and we're gonna get into it πŸ’…


πŸŽ€ NAME πŸŽ€

linkmode_to_mii_eee_cap2_t -

and that's it. That's the whole name section. The description after the dash is empty, not me staring at a blank line like 😭. But the function name itself is exactly linkmode_to_mii_eee_cap2_t, no cap.


πŸ’… SYNOPSIS πŸ’…

u32 linkmode_to_mii_eee_cap2_t (unsigned long *adv );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • adv β€” the linkmode advertisement settings. It's the unsigned long * from the synopsis, and it's giving "settings pointer, main character energy" ✨

🌸 DESCRIPTION 🌸

A function that translates linkmode to value for IEEE 802.3-2022 45.2.7.16 "EEE advertisement 2" register (7.62) 🫢

Like, that's the whole vibe: linkmode goes in, a u32 value for that specific register comes out. Lowkey iconic. Periodt.


πŸ”₯ SEE ALSO πŸ”₯


and finally, the cute little sign-off bestie: source path is ./include/linux, dated October 2026, and the page is linkmode_to_mii_eee_cap2_t(9) πŸ’– mwah.

πŸ“¦ where this page comes from