emac_get_drvinfo(9)
π 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β theethtoolinfo 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:
emac_get_coalesce(9)emac_set_coalesce(9)emac_update_phystatus(9)hash_get(9)emac_hash_add(9)emac_hash_del(9)emac_add_mcast(9)emac_dev_mcast_set(9)emac_int_disable(9)emac_int_enable(9)emac_irq(9)emac_dev_xmit(9)emac_dev_tx_timeout(9)emac_set_type0addr(9)emac_set_type1addr(9)emac_set_type2addr(9)emac_setmac(9)emac_dev_setmac_addr(9)emac_hw_enable(9)emac_poll(9)emac_poll_controller(9)emac_devioctl(9)emac_dev_open(9)emac_dev_stop(9)emac_dev_getnetstats(9)davinci_emac_probe(9)davinci_emac_remove(9)davinci_emac_init(9)davinci_emac_exit(9)
Go read them all, iykyk πβ¨
π‘ Reminder bestie:voidreturn 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
- 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