generic_mii_ioctl(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:


🫢 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