sis635_get_mac_addr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sis635_get_mac_addr(9) β€” like, the whole Kernel API Manual moment πŸ’…

Okay bestie, so this is a page straight out of the Kernel API Manual, and it's about sis635_get_mac_addr(9) β€” yes, that's the actual title, we're not hiding it. It's about dragging a MAC address out of a SiS635 chip and it is so specific. Let's get into it πŸŽ€


✨ NAME ✨

sis635_get_mac_addr β€” the one that gets the MAC address for the SIS635 model πŸ¦‹


✨ SYNOPSIS ✨

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

Literally that's the whole signature, no cap. Two args, returns an int. πŸ’…


✨ ARGUMENTS ✨

  • pci_dev β€” the sis900 pci device, periodt. This is the one we're poking at 🫢
  • net_dev β€” the net device we're getting the address for, iykyk 🌸

✨ DESCRIPTION ✨

So for the SiS635 model, here's the vibe: you set the MAC Reload Bit so that the MAC address gets loaded from APC into rfdr. Iconic, honestly.

And how do you even reach rfdr? Through rfcr, obviously πŸ™ˆ β€” that's the doorway, bestie.

Once that's done, the MAC address gets read into net_dev->dev_addr. Slay. That's the whole bit β€” no extra steps, no drama, just the address landing exactly where it needs to be. ✨


✨ SEE ALSO ✨

Okay this is the part where the whole friend group shows up, and we're listing every single one because we don't do "etc." in this house πŸ‘‘

Kernel file ./drivers/net/ethernet/sis/sis900.c plus:

Like, the entire sis900 cinematic universe fr fr πŸ’€πŸ’–


Go read them if you want the full lore β€” this page is just the one little MAC-address moment, bestie 🧚

Okay and finally, the cute little sign-off: this whole vibe lives in ./drivers/net/ethernet/sis, and the manual is dated October 2026 β€” and yes, the page header and footer both say sis635_get_mac_addr(9), because consistency is main character energy. Byeee, go read a driver πŸŒˆβ­πŸ’œ

πŸ“¦ where this page comes from