mii_eee_cap1_mod_linkmode_t(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… mii_eee_cap1_mod_linkmode_t(9) β€” the kernel API manual, bestie edition

okay so picture this: you're deep in the kernel networking mines, snooping on a manual name situation, and the function you've stumbled into is mii_eee_cap1_mod_linkmode_t. Say it with me. Iconic. Anyway this is a function from the kernel API manual and I'm gonna walk you through it like we're texting at 2am 🫢


✨ NAME ✨

mii_eee_cap1_mod_linkmode_t β€” that's the whole name section, no cap, the original literally just gives you the function name and dips πŸ’€ (the manpage header vibes confirm it's the kernel API manual, so jot that down)


🌸 SYNOPSIS 🌸

void mii_eee_cap1_mod_linkmode_t (unsigned long *adv , u32 val );

literally the whole signature. void return, two args, exactly as written. don't @ me, that's the source πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adv β€” this is the target for the linkmode advertisement settings. so like, the thing you're writing into, bestie. point it at your advertisement settings and let it cook ✨
  • val β€” the register value. yes it's a u32. yes that matters. no we're not changing it πŸ™ˆ

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so what does this bad boy actually do? it's a function that translates the value of the following registers into the linkmode:

  • IEEE 802.3-2018 45.2.3.10 "EEE control and capability 1" register (3.20)
  • IEEE 802.3-2018 45.2.7.13 "EEE advertisement 1" register (7.60)
  • IEEE 802.3-2018 45.2.7.14 "EEE link partner ability 1" register (7.61)

three registers, three chances to slay. it's giving translator energy β€” register value in, linkmode out, main character behaviour honestly πŸ’–

ngl the register numbers and spec sections are the whole personality here, so keep 45.2.3.10, 3.20, 45.2.7.13, 7.60, 45.2.7.14, and 7.61 exactly as they are. iykyk 🌈

🌟 SEE ALSO 🌟

this list is long and honestly it ate. every single one, in order, so you can go read them all like the dedicated little kernel gremlin you are 🧚

like... nineteen friends. a whole group chat. go say hi to all of them πŸ¦‹


πŸ’€ quick reminder that none of this is me guessing β€” it's all straight from the page. don't invent extra behaviour, don't merge flags that aren't merged, just vibe responsibly.

and that's the whole page, bestie!! sourced from ./include/linux, dated October 2026, and the title tag is mii_eee_cap1_mod_linkmode_t(9) β€” okay that's genuinely the entire thing. mwah πŸ’‹ periodt πŸŽ€

πŸ“¦ where this page comes from