arc_mdio_probe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ arc_mdio_probe(9) ✨

okay so this is a page from the Kernel API Manual and it's all about arc_mdio_probe, bestie. it's giving "small function, big job" energy and honestly? we love that for it πŸŽ€


πŸ’… NAME πŸ’…

arc_mdio_probe β€” the MDIO probe function, aka the little matchmaker that gets your MDIO interface set up and registered πŸ’–


🌸 SYNOPSIS 🌸

int arc_mdio_probe (struct arc_emac_priv *priv );

like, it takes exactly one thing and returns an int. no drama, no surprises, periodt ✨


πŸ¦‹ ARGUMENTS πŸ¦‹

  • priv β€” a pointer to the ARC EMAC private data structure 🫢 that's the one (and only) thing it wants from you.

🌈 RETURN 🌈

  • 0 β€” success, we ate, everything's iconic πŸ‘‘
  • -ENOMEM β€” this is what you get when mdiobus_alloc fails. and what does mdiobus_alloc do? it allocates memory for the MII bus structure, so if there's no memory to give, yeah, that's a -ENOMEM moment 😭

πŸ”₯ DESCRIPTION πŸ”₯

it sets up and registers the MDIO interface. that's the whole vibe. short, sweet, gets the job done πŸ’œ


⭐ SEE ALSO ⭐

the whole friend group, fr fr 🌸


ngl the arc MDIO crew really said "found family" and meant it πŸ’€

and that's the page!! shoutout to ./drivers/net/ethernet/arc for being the source, October 2026 for the date, and the Kernel API Manual for the home 🧚 mwah, study hard bestie πŸ’…βœ¨πŸ“

πŸ“¦ where this page comes from