emac_add_mcast(9)
π emac_add_mcast β a section 9 kernel API moment π
okay so bestie, we're in the Kernel API Manual today and this one is literally called emac_add_mcast(9). she's an internal function, so don't go thinking you can just call her from userspace, mwah. π
β¨ NAME β¨
emac_add_mcast β set a multicast address in the EMAC adapter (Internal)
like, yes, that's the whole vibe. internal. iykyk. π
πΈ SYNOPSIS πΈ
void emac_add_mcast (struct emac_priv *priv , u32 action , u8 *mac_addr
);
she takes three things and gives you back void β no return value, no drama, no notes. π¦
π«Ά ARGUMENTS π«Ά
privβ the DaVinci EMAC private adapter structure. that's your whole adapter's little world, bestie.actionβ the multicast operation to perform. which operation? that's her business, it's au32, go read the driver πmac_addrβ the mac address to set. au8 *, pointing right at the address in question.
π DESCRIPTION π
So what does she actually do? she sets multicast addresses in the EMAC adapter. that's it, that's the function. she's an internal function, so this is the backstage pass, not the main character energy you call directly. no cap. π
lowkey important: this here is the internal helper. the public-facing friends are down in SEE ALSO, go say hi to them instead if you're writing driver code. π
π SEE ALSO π
kernel file ./drivers/net/ethernet/ti/davinci_emac.c β that's the homegirl's address, the source file she lives in π‘
and the whole extended friend group, in order, all (9):
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_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)
like, that's a whole friend group text chain right there. obsessed. π₯
okay and the cute little sign-off π β this page belongs to the source path ./drivers/net/ethernet/ti, and she's dated October 2026. yes, from the future, slay. βπ§ββοΈ
π¦ 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