generic_mii_ioctl(9)
π generic_mii_ioctl(9): main MII ioctl interface π
okay so bestie, welcome to the Kernel API Manual page for generic_mii_ioctl β literally the main MII ioctl interface. no cap, we're gonna go through the signature, the args, the return vibe, and every SEE ALSO bestie. π«Ά
πΈ NAME πΈ
generic_mii_ioctl β main MII ioctl interface
β¨ SYNOPSIS β¨
int generic_mii_ioctl (struct mii_if_info *mii_if , struct
mii_ioctl_data *mii_data , int cmd , unsigned int *duplex_chg_out );
it's giving int return, four arguments, zero mystery. π
π ARGUMENTS π
mii_ifβ the MII interface. main character struct pointer energy, iykyk. π¦mii_dataβ MII ioctl data structure. the little data bag for the ioctl vibes. β¨cmdβ MII ioctl command. the command itself, periodt. πduplex_chg_outβ pointer to duplex_changed status if there was no ioctl error. yes bestie, that's the whole condition. π
π DESCRIPTION π
Returns 0 on success, negative on error. that's it, that's the return situation β success is a zero, errors are negative. π
π¦ SEE ALSO π¦
go check these besties, fr fr:
- Kernel file
./drivers/net/mii.c mii_ethtool_gset(9)mii_ethtool_get_link_ksettings(9)mii_ethtool_sset(9)mii_ethtool_set_link_ksettings(9)mii_check_gmii_support(9)mii_link_ok(9)mii_nway_restart(9)mii_check_link(9)mii_check_media(9)
π«Ά bye bestie β this page comes from ./drivers/net, dated October 2026, and it's the generic_mii_ioctl(9) manual page. 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