davinci_emac_probe(9)
π davinci_emac_probe(9) β aka the Kernel API Manual page, bestie edition π
okay so this is a page straight out of the Kernel API Manual, and we're about to make it make sense. grab a snack π
πΈ NAME πΈ
davinci_emac_probe β the EMAC device probe. that's it, that's the whole name, and honestly? iconic.
β¨ SYNOPSIS β¨
int davinci_emac_probe (struct platform_device *pdev );
that's the whole signature, no cap. it takes one pointer and hands you back an int. π
π ARGUMENTS π
pdevβ the DaVinci EMAC device that we are removing. yes, the manpage literally says "removing" on the probe page. we don't ask questions, we just transcribe π (and it's typed asstruct platform_device *, so it's a platform device pointer, periodt).
π¦ DESCRIPTION π¦
so when does this bad boy get called? when we're probing for emac devicesr β and yeah, that "devicesr" typo is right there in the original, so we're keeping it, it's canon ππ«Ά
here's the vibe: we pull the details of the instances and the resource information straight from platform init, then we register a network device, and we allocate all the resources the driver needs to actually do its thing. main character energy from start to finish πβ¨
π SEE ALSO π
the kernel file itself lives at ./drivers/net/ethernet/ti/davinci_emac.c β go read it, iykyk π
and here's the whole friend group, every single one, in order, no one left behind π«Ά:
emac_get_drvinfo(9)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_remove(9)davinci_emac_init(9)davinci_emac_exit(9)
fr fr that's 29 cross-references β screenshot it, bookmark it, whatever, just don't lose it π
and that's the page!! π§π this absolute legend of a file lives at ./drivers/net/ethernet/ti, dated October 2026, and it's filed under davinci_emac_probe(9) β slay, go forth and probe responsibly β¨π
π¦ 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