pcmcia_get_mac_from_cis(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ 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 β€” the struct pcmcia_device you want the address for, periodt. πŸ‘‘
  • dev β€” a properly prepared struct net_device where 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 🌈


okay that's the whole vibe, bestie πŸ’– β€” source/version ./drivers/pcmcia, dated October 2026. slay! 🌸

πŸ“¦ where this page comes from