arc_mdio_write(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 🧚


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