pcmcia_get_mac_from_cis(9)
π NAME π
pcmcia_get_mac_from_cis(9) β this page is from the Kernel API Manual, and it's literally here to read out a MAC address from CISTPL_FUNCE, bestie. π
β¨ SYNOPSIS β¨
int pcmcia_get_mac_from_cis (struct pcmcia_device *p_dev , struct
net_device *dev );
π ARGUMENTS π
p_devβ thestruct pcmcia_deviceyou want the address for, periodt. πdevβ a properly preparedstruct net_devicewhere the info gets stored. π«Ά
π¦ DESCRIPTION π¦
So pcmcia_get_mac_from_cis reads the hardware MAC address out of CISTPL_FUNCE and tucks it into struct net_device *dev->dev_addr. That dev_addr spot has to be set up properly by the driver, okay? Like, that part is not optional β see examples! πβ¨
Real talk: the driver has to set that dev_addr up properly β see examples! π
π SEE ALSO π
- Kernel file:
./drivers/pcmcia/pcmcia_cis.c pccard_read_tuple(9)pccard_loop_tuple(9)pcmcia_loop_config(9)pcmcia_loop_tuple(9)pcmcia_get_tuple(9)
okay that's the whole vibe, bestie π β source/version ./drivers/pcmcia, dated October 2026. 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