arc_mdio_reset(9)
π arc_mdio_reset(9) π
okay so bestie, welcome to the Kernel API Manual β yes, that's the manual name, and yes, we're reading kernel docs for fun now, that's just who we are β¨ This one's called arc_mdio_reset(9) and it's honestly serving major "small but mighty" energy. Let's get into it π¦
β¨ NAME β¨
arc_mdio_reset β
and that's literally it, bestie π the NAME section gave us the function name and then... nothing. No little one-liner. No blurb. The manpage said "the rest is in DESCRIPTION, go look" and honestly? Iconic of it. Go off, minimalism π
πΈ SYNOPSIS πΈ
int arc_mdio_reset (struct mii_bus *bus );
so she takes one argument, and she hands you back an int. That's the whole vibe check π₯
π«Ά ARGUMENTS π«Ά
busβ points to themii_busstructure. that's it, that's the one (1) argument, and she's a pointer to the MII bus struct, no cap π
π§ DESCRIPTION π§
okay so what does she do? she resets the MII bus π« That's the entire description. Reset the MII bus. Lowkey the most straightforward function in the whole kernel and honestly? we stan a clear communicator. no hidden lore, no surprise side quests, just reset the bus, periodt β¨
if you came here looking for a twist, bestie, there is no twist. the function resets the MII bus. the way that it is exactly what it says on the tin ππ
π¦ SEE ALSO π¦
now THIS is where the friend group shows up π β go check out:
- the kernel file
./drivers/net/ethernet/arc/emac_mdio.cπ that's where all this lives arc_mdio_complete_wait(9)arc_mdio_read(9)arc_mdio_write(9)arc_mdio_probe(9)arc_mdio_remove(9)
the whole arc_mdio_* friend group fr fr, they all hang out together π«Ά
heads up bestie: this page keeps things very brief, so don't go assuming anything beyond "it resets the MII bus" and "it takes astruct mii_bus *. if you need more deets, hit upemac_mdio.cβ the source is right there waiting for you π
okay that's the page!! π and for the cute little sign-off moment: this one lives under the source path ./drivers/net/ethernet/arc and it's dated October 2026 β so like, future vibes, but the knowledge is timeless. mwah, go reset a bus, you got this ππ
π¦ 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