mii_ctrl100...thtool_adv_t(9)
π mii_ctrl1000_to_ethtool_adv_t(9) β the Kernel API Manual bestie π
okay so real talk, the header up top got chopped to mii_ctrl100...thtool_adv_t(9) because terminals are dramatic and can't handle long names π β the actual full name is mii_ctrl1000_to_ethtool_adv_t, and this is a page from the Kernel API Manual. buckle up, it's a short one but it's lowkey iconic β¨
πΈ NAME πΈ
mii_ctrl1000_to_ethtool_adv_t β that's it, that's the name, the dash at the end is just sitting there with nothing to say π«Ά
β¨ SYNOPSIS β¨
u32 mii_ctrl1000_to_ethtool_adv_t (u32 adv );
π¦ ARGUMENTS π¦
advβ the value of theMII_CTRL1000register. that's the whole vibe check right there, it comes in as au32and it's literally just the raw register bits π
π DESCRIPTION π
okay so picture this: it's a small helper function β like, small small, it does one thing and it does it well, main character energy honestly π β and what it does is translate MII_CTRL1000 bits over to ethtool advertisement settings. but!! and this is the important part bestie, don't skip it π β it only does that translation when in 1000Base-T mode. that's the condition, that's the context, that's the whole assignment. no cap. π
π₯ SEE ALSO π₯
now this is where it gets juicy because the cross-reference list is long and honestly kind of gorgeous in a chaotic way ππ it all lives in the kernel file ./include/linux/mii.h:
mii_nway_result(9)mii_duplex(9)ethtool_adv_to_mii_adv_t(9)linkmode_adv_to_mii_adv_t(9)mii_adv_to_ethtool_adv_t(9)ethtool_adv_to_mii_ctrl1000_t(9)linkmode_adv_to_mii_ctrl1000_t(9)mii_lpa_to_ethtool_lpa_t(9)mii_stat1000_to_ethtool_lpa_t(9)mii_stat1000_mod_linkmode_lpa_t(9)ethtool_adv_to_mii_adv_x(9)mii_adv_to_ethtool_adv_x(9)mii_adv_mod_linkmode_adv_t(9)mii_adv_to_linkmode_adv_t(9)mii_lpa_to_linkmode_lpa_t(9)mii_lpa_mod_linkmode_lpa_t(9)linkmode_adv_to_lcl_adv_t(9)mii_lpa_mod_linkmode_x(9)linkmode_adv_to_mii_adv_x(9)mii_advertise_flowctrl(9)mii_resolve_flowctrl_fdx(9)mii_bmcr_encode_fixed(9)
like, go off, reference list π ate and left no crumbs.
ngl the whole family ofmii_*and*_adv_to_*helpers is a whole friend group and this function is the one that specifically handles theMII_CTRL1000β ethtool direction, in 1000Base-T mode only. know the difference, iykyk π§
and that's the page!! fr fr you now know everything this manpage knows π mwah, stan the kernel, and remember β this beauty is filed under ./include/linux, dated October 2026. see u in the next man page bestie ππ
π¦ 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