enable_mii_autopoll(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… enable_mii_autopoll(9)

okay so bestie, welcome to the Kernel API Manual entry for enable_mii_autopoll(9) β€” yes that's the section 9, we're in kernel-land now, put your hair up πŸŽ€


✨ NAME ✨

enable_mii_autopoll β€” literally just turns on autopolling, that's the whole vibe πŸ¦‹


✨ SYNOPSIS ✨

void enable_mii_autopoll (struct mac_regs __iomem *regs );
note the void β€” this function gives you nothing back, no return value, no lil treat, nada πŸ’€ it just does the thing and dips.

✨ ARGUMENTS ✨

  • regs β€” the velocity registers. that's it. that's the whole argument. hand it your struct mac_regs __iomem * and let it cook πŸ“

✨ DESCRIPTION ✨

so what does it DO. glad you asked.

enable_mii_autopoll enables the MII link status autopoll feature on the Velocity hardware πŸ‘‘ and then β€” and this is the part everyone forgets β€” it waits for it to enable. no cap. it doesn't just fire and forget, it actually waits. that's the whole function. iconic behaviour honestly.

so like: turn it on, then be patient. periodt πŸ’œ

lowkey important: if you're ever looking for the other one, there's a safe_disable_mii_autopoll(9) in the see-also list down there β€” this page is the enable side of that story 🌸

✨ SEE ALSO ✨

the whole velocity cinematic universe, fr fr. sit down, this is a long one 🫢

the file itself:

  • Kernel file ./drivers/net/ethernet/via/via-velocity.c

the CAM crew:

the miscellaneous besties:

the options squad:

the resets & filters girlies:

the MII / media girlies:

the setup & registers crew:

the DMA & ring girls:

the packet path girlies:

the lifecycle squad:

the probe & info crew:

the WOL & context girlies:

the ethtool & module crew:

like I said. the whole cinematic universe 🌈


that's the page bestie! πŸ’– this lil masterpiece lives in ./drivers/net/ethernet/via, it's stamped October 2026, and it goes by enable_mii_autopoll(9) β€” mwah, go enable some autopolling, ily, bye 🧚✨

πŸ“¦ where this page comes from