sis900_set_capability(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sis900_set_capability(9) β€” like, the Kernel API Manual, but make it cute

okay so bestie, welcome to the <pink>Kernel API Manual</pink> entry for sis900_set_capability(9) β€” yes the (9) is giving "kernel internal, not for the girlies writing shell scripts", and no I will not be normal about it πŸŽ€


✨ NAME ✨

sis900_set_capability β€” literally sets the media capability of the network adapter. that's it, that's the whole job, and it eats πŸ’…


🌸 SYNOPSIS 🌸

void sis900_set_capability (struct net_device *net_dev , struct mii_phy
*phy );

notice the void β€” she returns nothing, she just goes in there and does the thing. main character energy, zero receipts 😌


πŸ¦‹ ARGUMENTS πŸ¦‹

  • net_dev β€” the net device to probe for. yes bestie, this one is the star of the show 🫢
  • phy β€” the default PHY. the supporting actress, but she still serves πŸ’œ

⭐ DESCRIPTION ⭐

okay so here's the tea β˜• β€” this function sets the media capability of the network adapter according to the mii status register. so she reads the register, and based on what it says, she configures the adapter's media capability.

and ngl, this is <hotpink>necessary before auto-negotiate</hotpink> β€” like, before you go do the auto-negotiate thing, you gotta call this first. it's giving "you can't skip the prep step, bestie", it's giving skincare routine before the makeup. periodt πŸ”₯


πŸ‘‘ SEE ALSO πŸ‘‘

okay so the kernel file is ./drivers/net/ethernet/sis/sis900.c and here's the whole friend group β€” not me listing all thirty-five of them because every single one matters πŸ’€

iykyk 🧚


fr fr read the whole list before you go poking at the adapter β€” she has friends, and they all live in the same file πŸ’€

✨ that's the whole page, no cap ✨

source: ./drivers/net/ethernet/sis Β· date: <lavender>October 2026</lavender> Β· version: sis900_set_capability(9)

mwah, go set some capabilities bestie, you're gonna slay πŸ’–πŸŽ€πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from