emac_set_type0addr(9)
π emac_set_type0addr(9) β like, the Kernel API Manual, bestie
okay so we're in the Kernel API Manual today and the star of the show is emac_set_type0addr π
β¨ NAME β¨
emac_set_type0addr β sets the EMAC Type0 MAC address. that's it. that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
void emac_set_type0addr (struct emac_priv *priv , u32 ch , char
*mac_addr );
no cap, that's the whole signature. void return, three args, iconic π
π«Ά ARGUMENTS π«Ά
privβ the DaVinci EMAC private adapter structure. the main character struct, honestly πchβ RX channel number. which channel, bestie? this one π₯mac_addrβ the MAC address to set in the device. literally the whole point β¨
π DESCRIPTION π
so this one is called internally to set the Type0 MAC address of the adapter (the Device). it's giving "backstage pass only," not a public-facing superstar π
and the returns? success (0) or the appropriate error code β and as of now there isn't any error code, so it's lowkey just vibing at 0 π
π SEE ALSO π
the kernel file in question, keep it verbatim bestie:
Kernel file ./drivers/net/ethernet/ti/davinci_emac.c
and the whole friend group π«Ά β every single one, no skipping:
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_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)
π§ and that's the whole page! go set that Type0 MAC address, bestie, you got this π
source path ./drivers/net/ethernet/ti Β· dated October 2026 Β· page emac_set_type0addr(9) β mwah, thanks for reading, ily, 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