emac_get_drvinfo(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– emac_get_drvinfo β€” get EMAC driver info (kernel API manual, section 9) πŸ’–

Okay bestie, welcome to the kernel API manual for emac_get_drvinfo πŸ’… it's short, it's sweet, it's giving "one job and it does it" energy ✨


🌸 SYNOPSIS 🌸

void emac_get_drvinfo (struct net_device *ndev , struct ethtool_drvinfo
*info );

Like, that's the whole thing. void return, two args, no drama πŸŽ€


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ndev β€” the DaVinci EMAC network adapter itself, our main character device πŸ‘‘
  • info β€” the ethtool info structure, which is where the name and version are gonna live 🏠

⭐ DESCRIPTION ⭐

Returns EMAC driver information β€” specifically the name and the version 🫢 That's it, that's the function. No cap, it's literally just handing over those two things and vibing πŸ’€


πŸ”₯ SEE ALSO πŸ”₯

First up, the kernel file that's the whole source of truth here:

  • Kernel file ./drivers/net/ethernet/ti/davinci_emac.c πŸ“

And then the entire friend group β€” the whole <rainbow>davinci_emac.c</rainbow> extended universe, fr fr:

Go read them all, iykyk πŸ“šβœ¨


πŸ’‘ Reminder bestie: void return means this one doesn't hand anything back to you β€” the "answer" shows up inside *info. So like… don't go looking in the return value, there's nothing there πŸ™ˆ

Sign-off time πŸŽ€ β€” this little page lives under ./drivers/net/ethernet/ti, dated October 2026 🌸, and it's the emac_get_drvinfo(9) page itself πŸ’œ slay, bye βœ¨πŸ¦‹

πŸ“¦ where this page comes from