mii_eee_cap1_mod_linkmode_t(9)
π 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 au32. 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 keep45.2.3.10,3.20,45.2.7.13,7.60,45.2.7.14, and7.61exactly 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 π§
./include/linux/mdio.hstructmdio_if_info(9)β the kernel file situation, and the structmdio45_ethtool_ksettings_get(9)mmd_eee_cap_to_ethtool_sup_t(9)mmd_eee_adv_to_ethtool_adv_t(9)ethtool_adv_to_mmd_eee_adv_t(9)linkmode_adv_to_mii_10gbt_adv_t(9)mii_10gbt_stat_mod_linkmode_lpa_t(9)mii_t1_adv_l_mod_linkmode_t(9)mii_t1_adv_m_mod_linkmode_t(9)linkmode_adv_to_mii_t1_adv_l_t(9)linkmode_adv_to_mii_t1_adv_m_t(9)mii_eee_cap2_mod_linkmode_sup_t(9)mii_eee_cap2_mod_linkmode_adv_t(9)linkmode_to_mii_eee_cap1_t(9)linkmode_to_mii_eee_cap2_t(9)mii_10base_t1_adv_mod_linkmode_t(9)linkmode_adv_to_mii_10base_t1_t(9)mii_c73_mod_linkmode(9)mdio_module_driver(9)
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
- 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