mii_check_media_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– mii_check_media_mode(9) πŸ’–

okay so hi bestie!! welcome to the Kernel API Manual ✨ this one's a little cutie from the kernel docs, and honestly she's short but she matters. let's get into it 🫢


🌸 NAME 🌸

mii_check_media_mode β€” check media state πŸ’…

like. she checks the media state. that's the whole job. icon behavior.


✨ SYNOPSIS ✨

u32 mii_check_media_mode (struct mac_regs __iomem *regs );

so she takes one thing and hands you back a u32 β€” noted, respected, slay πŸ’–


πŸŽ€ ARGUMENTS πŸŽ€

  • regs β€” the velocity registers 🌈 that's it, that's the arg. she's a struct mac_regs __iomem * and she's everything.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so here's the vibe: mii_check_media_mode checks the current MII status and then determines the link status accordingly. that's literally the whole plot πŸ“

no cap, it's giving "small function, big responsibility" energy. main character of the link-detection arc, honestly πŸ‘‘


πŸ’œ SEE ALSO πŸ’œ

first up, the source file β€” she lives here, go say hi:

  • ./drivers/net/ethernet/via/via-velocity.c

and then the whole extended friend group 😭 (they're all (9) pages, so you know they're the real ones):

like... that's a lot of friends and every single one of them made the list. no one left behind fr fr πŸ’€πŸ’–


ok and one last thing bestie β€” this page's home base is ./drivers/net/ethernet/via and she's dated October 2026 ⭐ so like, she's from the future AND from the via ethernet directory. iconic. that's the sign-off, mwah πŸ’…πŸŽ€πŸ¦‹
πŸ“¦ where this page comes from