sis900_check_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to sis900_check_mode(9) from the Kernel API Manual β€” this function is literally here to check the media mode for sis900. slay. πŸ’…

πŸŽ€ SYNOPSIS πŸŽ€

void sis900_check_mode (struct net_device *net_dev , struct mii_phy *mii_phy );

that's the signature exactly, spacing and all, periodt. no edits, no β€œfixing” it. 🫢

πŸ’– ARGUMENTS πŸ’–

  • net_dev β€” the net device to be checked. yes, the device gets the vibe check. πŸ¦‹
  • mii_phy β€” the mii phy. short, iconic, to the point. ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

so the older driver gets the media mode from mii status output register. that's the old lore. now we set our media capability and auto-negotiate to get the upper bound of speed and duplex between two ends. πŸ”₯

and if the types of mii phy is HOME, it doesn't need to auto-negotiate and autong_complete should be set to 1. yes bestie, autong_complete is spelled exactly like that on this page β€” don't come for me πŸ™ˆ. also HOME is uppercase, iykyk. πŸ’œ

🌈 SEE ALSO 🌈

Kernel file ./drivers/net/ethernet/sis/sis900.c is the main character here. the whole SEE ALSO roster:

mwah πŸ’‹ β€” source/version stamp: ./drivers/net/ethernet/sis; date: October 2026; page title: sis900_check_mode(9). byeee, go check those media modes bestie! πŸŽ€βœ¨

πŸ“¦ where this page comes from