sis900_probe(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

okay bestie, sit down, we're doing a probe function and honestly it's kind of a big deal πŸŽ€ this one lives in the Kernel API Manual, and the name of the game is sis900_probe β€” say it with me now, sis900_probe ✨


🌸 NAME 🌸

sis900_probe β€” probe for sis900 device πŸ¦‹ like, go find out if this thing is even there


🧚 SYNOPSIS 🧚

int sis900_probe (struct pci_dev *pci_dev , const struct pci_device_id
*pci_id );

she takes two args and returns an int, periodt πŸ’…


✨ ARGUMENTS ✨

  • pci_dev β€” the sis900 pci device πŸ’– this is the actual card we're checking on, the main character of the whole operation
  • pci_id β€” the pci device ID πŸŽ€ the little name tag that says which device we're matching against

πŸ‘‘ DESCRIPTION πŸ‘‘

so basically: check and probe the sis900 net device for pci_dev πŸ” that's the vibe check β€” is this thing real, can we set it up?

then she gets the mac address according to the chip revision 🧠✨ which is lowkey the whole reason this function is picky β€” different chips, different ways to dig out that address.

and after that? she assigns SiS900-specific entries in the device structure, like. as a treat 🫢 ie: sis900_open, sis900_start_xmit, sis900_close, etc. those are the function hooks that'll do all the actual work later πŸ’…

no cap, this is the setup step. everything downstream is relying on her getting it right 😭

🌈 SEE ALSO 🌈

Kernel file ./drivers/net/ethernet/sis/sis900.c β€” and okay, this is the whole friend group, everybody say hi πŸ‘‹πŸ’–

like, thirty-five besties. iconic behavior, ngl πŸ”₯


so yeah β€” that's the whole page, run it back whenever you need it πŸ’œ from ./drivers/net/ethernet/sis, dated October 2026, and this was sis900_probe(9) from the Kernel API Manual. slay, go read the source fr fr πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from