mdiobus_free(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– mdiobus_free(9) πŸ’–

okay bestie, this one’s from the Kernel API Manual and it’s giving β€œcleanup era” ✨ β€” no cap, sometimes the most iconic thing you can do is free the bus πŸ’…

🌸 NAME 🌸

mdiobus_free - free a struct mii_bus

✨ SYNOPSIS ✨

void mdiobus_free (struct mii_bus *bus );

πŸŽ€ ARGUMENTS πŸŽ€

  • bus β€” the mii_bus to free 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

so here’s the vibe: this function releases the reference to the underlying device object in the mii_bus πŸ”₯ if this is the last reference, the mii_bus will be freed. periodt πŸ’œ

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/net/phy/mdio_bus_provider.c is the spot, and you can also go peek at these besties:


cute little sign-off bestie: source/version ./drivers/net/phy 🌈 β€’ October 2026 πŸŽ€ β€’ mdiobus_free(9) πŸ’– byeee, go release that reference βœ¨πŸ’…

πŸ“¦ where this page comes from