hns_mdio_read_c45(9)
π
hns_mdio_read_c45(9) β Kernel API Manual, but make it make sense π
okay so bestie, welcome to the hns_mdio_read_c45 page β¨ this is the Kernel API Manual entry for it, and yes it's short, yes it's sweet, and yes we're gonna read it together like the group chat is counting on us π«Ά
πΈ NAME πΈ
hns_mdio_read_c45 β access phy register π
literally what it says on the tin: it goes and gets you into that phy register. main character behavior ngl π
β¨ SYNOPSIS β¨
int hns_mdio_read_c45 (struct mii_bus *bus , int phy_id , int devad ,
int regnum );
look at that signature, it's giving very much "I know exactly what I'm doing" π
four arguments, one int coming back at you, no cap.
π¦ ARGUMENTS π¦
busβ the mdio bus π like, the whole ride, the infrastructure, the vibe.phy_idβ the phy id π every phy's little name tag so we know who we're talking to.devadβ the device address to read π₯ the specific spot in question, okay?regnumβ the register num β the actual numbered register, the destination, the moment.
π DESCRIPTION π
Return phy register value π that's it, that's the whole job. it returns the phy register value. iconic, honestly. does one thing and does it well, we love a focused queen π
π₯ SEE ALSO π₯
- Kernel file
./drivers/net/ethernet/hisilicon/hns_mdio.cβ the source, the origin story, the lore π hns_mdio_write_c22(9)π§hns_mdio_write_c45(9)πΈhns_mdio_read_c22(9)π¦hns_mdio_reset(9)π«hns_mdio_probe(9)πhns_mdio_remove(9)π
go read those too bestie, iykyk π
fr fr that's the whole page β every argument, every reference, nothing skipped, periodt π
okay so that's a wrap! π this little gem lives in ./drivers/net/ethernet/hisilicon and the version stamp on it is October 2026, so jot that down in your notes app and go slay your kernel adventures πβ¨π
π¦ 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