mdiobus_free(9)
π 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β themii_busto 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:
mdiobus_release(9)mdio_bus_match(9)mdiobus_alloc_size(9)mdiobus_scan_c22(9)mdiobus_scan_c45(9)__mdiobus_register(9)mdio_find_bus(9)of_mdio_find_bus(9)
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
- 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