mii_ioctl(9)
π mii_ioctl(9) π
okay so welcome to the Kernel API Manual, bestie π this is the page for mii_ioctl(9), and itβs giving βtiny but important kernel helperβ energy. no cap.
πΈ NAME πΈ
mii_ioctl β process MII i/o control command. periodt π
β¨ SYNOPSIS β¨
int mii_ioctl (struct net_device *net_dev , struct ifreq *rq , int cmd
);
π¦ ARGUMENTS π¦
net_devβ the net device to command for. yep, the net device this command is for, bestie.rqβ parameter for command. itβs the parameter package for the command.cmdβ the i/o command. the actual i/o command itself.
π DESCRIPTION π
okay so what does it do? it processes an MII command, like a read/write MII register. thatβs the whole vibe: MII command processing, read/write MII register included. slay π
π SEE ALSO π
Kernel file ./drivers/net/ethernet/sis/sis900.c is the main character here, and the whole squad is:
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)mdio_write(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)sis900_set_config(9)sis900_mcast_bitnr(9)set_rx_mode(9)sis900_reset(9)sis900_remove(9)
xoxo π this page lives under ./drivers/net/ethernet/sis, dated October 2026. slay. π
π¦ 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