sis900_get_mac_addr(9)
π 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:
sis630e_get_mac_addr(9)sis635_get_mac_addr(9)sis96x_get_mac_addr(9)sis900_probe(9)sis900_mii_probe(9)sis900_default_phy(9)sis900_set_capability(9)read_eeprom(9)mdio_read(9)mdio_write(9)sis900_reset_phy(9)sis900_open(9)sis900_init_rxfilter(9)sis900_init_tx_ring(9)sis900_init_rx_ring(9)sis630_set_eq(9)sis900_timer(9)sis900_check_mode(9)sis900_set_mode(9)sis900_auto_negotiate(9)sis900_read_mode(9)sis900_tx_timeout(9)sis900_start_xmit(9)sis900_interrupt(9)sis900_rx(9)sis900_finish_xmit(9)sis900_close(9)sis900_get_drvinfo(9)sis900_set_wol(9)mii_ioctl(9)sis900_set_config(9)sis900_mcast_bitnr(9)set_rx_mode(9)sis900_reset(9)sis900_remove(9)
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
- 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