sis900_get_mac_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ sis900_get_mac_addr(9) πŸŽ€

okay so bestie, welcome to the Kernel API Manual entry for sis900_get_mac_addr β€” yes the (9) means it's a kernel function page, iykyk. this one is literally the "get the MAC address for the stand-alone SiS900 model" girlie and she is so specific about which chips she fucks with. let's get into it πŸ’…


✨ SYNOPSIS ✨

int sis900_get_mac_addr (struct pci_dev *pci_dev , struct net_device
*net_dev );

look at her, returning an int, taking two pointers, living her best life. iconic behavior fr fr 🫢


🌸 ARGUMENTS 🌸

  • pci_dev β€” the sis900 pci device, like, the actual hardware babe we're talking to πŸ–₯️
  • net_dev β€” the net device we're grabbing the address for, she's the one getting the glow-up

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea β˜• β€” older SiS900 and friends use EEPROM to store the MAC address. that's their whole storage situation, no cap.

so what happens? the MAC address gets read from read_eeprom straight into net_dev->dev_addr. that's it. that's the function. she reads from EEPROM, she drops it in dev_addr, she leaves. clean, simple, no drama ✨

not me being obsessed with how straightforward this is 😭 no error paths to stress about in the description, just vibes and EEPROM reads.

πŸ¦‹ SEE ALSO πŸ¦‹

bestie there are so many siblings in this family, buckle up πŸŽ€ β€” and the kernel file they all live in is ./drivers/net/ethernet/sis/sis900.c:

the way this list just goes on and on 😭 she's got a big family and every single one of them ate. go read them all, i'll wait πŸ’œ


mwah πŸ’‹ that's the whole page bestie β€” brought to you from ./drivers/net/ethernet/sis, dated October 2026, in the Kernel API Manual. stan a reliable MAC-address-getting icon πŸ‘‘βœ¨

πŸ“¦ where this page comes from