mdio_write(9)
π mdio_write(9) π
okay bestie, welcome to the Kernel API Manual β this is mdio_write(9), and we're reading it like a group chat. no cap, every argument and reference is staying right here. π
π NAME π
mdio_write β write MII PHY register. literally the whole name, and she ate. β¨
π¦ SYNOPSIS π¦
void mdio_write (struct net_device *net_dev , int phy_id , int location , int value );
πΈ ARGUMENTS πΈ
net_devβ the net device to write. that's the main character you're handing over. πphy_idβ the phy address to write. yes, the PHY's little address badge. πlocationβ the phy register id to write. this is the exact spot in register world. πvalueβ the register value to write with. the actual payload, the vibe being sent. π
π₯ DESCRIPTION π₯
okay so here's the tea: this writes MII registers with value through MDIO and MDC, using the MDIO management frame structure and protocol(defined by ISO/IEC). for the full spec lore, please see SiS7014 or ICS spec. iykyk. π
π SEE ALSO π
the whole sis900 cinematic universe lives in the kernel file ./drivers/net/ethernet/sis/sis900.c. go say hi to the whole cast, bestie: π«Ά
sis900_get_mac_addr(9)sis630e_get_mac_addr(9)sis635_get_mac_addr(9)sis96x_get_mac_addr(9)sis900_probe(9)sis900_mii_probe(9)sis900_default_phy(9)sis900_set_capability(9)read_eeprom(9)mdio_read(9)sis900_reset_phy(9)sis900_open(9)sis900_init_rxfilter(9)sis900_init_tx_ring(9)sis900_init_rx_ring(9)sis630_set_eq(9)sis900_timer(9)sis900_check_mode(9)sis900_set_mode(9)sis900_auto_negotiate(9)sis900_read_mode(9)sis900_tx_timeout(9)sis900_start_xmit(9)sis900_interrupt(9)sis900_rx(9)sis900_finish_xmit(9)sis900_close(9)sis900_get_drvinfo(9)sis900_set_wol(9)mii_ioctl(9)sis900_set_config(9)sis900_mcast_bitnr(9)set_rx_mode(9)sis900_reset(9)sis900_remove(9)
mwah π β this page is sourced from ./drivers/net/ethernet/sis, dated October 2026, and it's mdio_write(9) signing off. go write some MII PHY registers responsibly, 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