velocity_get_opt_media_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so bestie, welcome to velocity_get_opt_media_mode(9) from the Kernel API Manual β€” this one is literally here to get media selection. no cap, that's the whole vibe πŸ’…

🌸 SYNOPSIS 🌸

u32 velocity_get_opt_media_mode (struct velocity_info *vptr );

πŸŽ€ ARGUMENTS πŸŽ€

  • vptr β€” the velocity adapter, aka the main character you're passing in 🫢

πŸ’… DESCRIPTION πŸ’…

so this function grabs the media mode that's stored in EEPROM or in the module options, then loads mii_status to match it accordingly. it also returns the requested link state information, so you get that info back too β€” iconic behavior, honestly ✨

πŸ”₯ SEE ALSO πŸ”₯

kernel file: ./drivers/net/ethernet/via/via-velocity.c

the whole squad of cross-refs, no skips:


cute sign-off bestie: source/version ./drivers/net/ethernet/via, date October 2026 β€” mwah, stay slaying those kernel pages πŸ’‹βœ¨

πŸ“¦ where this page comes from