arc_mdio_probe(9)
β¨ 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 whenmdiobus_allocfails. and what doesmdiobus_allocdo? it allocates memory for the MII bus structure, so if there's no memory to give, yeah, that's a-ENOMEMmoment π
π₯ DESCRIPTION π₯
it sets up and registers the MDIO interface. that's the whole vibe. short, sweet, gets the job done π
β SEE ALSO β
- Kernel file
./drivers/net/ethernet/arc/emac_mdio.cβ go read it, iykyk π arc_mdio_complete_wait(9)arc_mdio_read(9)arc_mdio_write(9)arc_mdio_reset(9)arc_mdio_remove(9)
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
- 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