arc_mdio_write(9)
π arc_mdio_write(9) π
okay so this page is from the Kernel API Manual, and it's all about the MDIO interface write function bestie. no cap, it's giving "small function, very specific job" energy β¨
πΈ NAME πΈ
arc_mdio_write β the MDIO interface write function. periodt π
π¦ SYNOPSIS π¦
int arc_mdio_write (struct mii_bus *bus , int phy_addr , int reg_num ,
u16 value );
π ARGUMENTS π
busβ pointer to the MII bus structure. literally the bus in question πphy_addrβ address of the PHY device. yep, that's the PHY's address πreg_numβ the PHY register to write to. the exact register bestie, no guessing π―valueβ the value to be written into the register. this is the thing going in β¨
π RETURN π
It returns 0 on success, and -ETIMEDOUT on a timeout. that's the whole return vibe, fr fr π
π DESCRIPTION π
Writes the value to the requested register. like, that's it, that's the function β but make no mistake, it's doing its main character job π π₯
π§ SEE ALSO π§
- Kernel file
./drivers/net/ethernet/arc/emac_mdio.c arc_mdio_complete_wait(9)arc_mdio_read(9)arc_mdio_reset(9)arc_mdio_probe(9)arc_mdio_remove(9)
okay that's the whole page bestie π«Ά β source/version is ./drivers/net/ethernet/arc, dated October 2026, and this is arc_mdio_write(9) signing off. mwah ππ
π¦ 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