mdiobus_alloc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– mdiobus_alloc(9) β€” fresh from the Kernel API Manual πŸ’–

✨ NAME ✨

mdiobus_alloc β€” allocates an MDIO bus structure, periodt πŸ’…


🌸 SYNOPSIS 🌸

struct mii_bus * mdiobus_alloc (void );

πŸ’… ARGUMENTS πŸ’…

  • void β€” no arguments. Literally none. Zero. Zilch. The void is void-ing 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so when you call this, the internal state of the MDIO bus gets set to MDIOBUS_ALLOCATED, and that’s the state that’s ready for the driver to register the bus. That’s the whole vibe β€” allocation first, registration next, slay ✨


πŸ”₯ SEE ALSO πŸ”₯

Kernel file: ./include/linux/phy.h πŸ‘‘

The full SEE ALSO squad, every single one, no cap:


Cute little sign-off bestie: the bottom of this page points to ./include/linux and is dated October 2026 β€” that’s the source/version-and-date moment, and now you’re all caught up πŸ’–πŸŽ€

πŸ“¦ where this page comes from