sis900_check_mode(9)
β¨ 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:
sis900_get_mac_addr(9)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_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)
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
- 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