sis900_set_config(9)
π sis900_set_config β like, the Kernel API Manual page, bestie
okay so this is sis900_set_config(9) from the Kernel API Manual, and honestly? it's a little icon doing one specific job. let's get into it β¨
β¨ NAME β¨
sis900_set_config β sets the media type, and it does it via net_device.set_config. that's the whole vibe. π
π¦ SYNOPSIS π¦
int sis900_set_config (struct net_device *dev , struct ifmap *map );
literally that's it. short and slay.
πΈ ARGUMENTS πΈ
devβ the net device whose media type is getting changed. main character energy fr.mapβ the ifmap thatifconfigpassed down. it's giving "message from the outside world" π
π DESCRIPTION π
so what it does: it sets the media type to 10baseT, 100baseT, or 0 (which means auto) β and it does that via ifconfig. π
but here's the tea: we support only port changes. everything else you try to change at runtime? ignored. not even looked at. ignored. π
no cap, if you're trying to sneak in some other runtime config change, this function will not be the one. port changes only, bestie. periodt.
π₯ SEE ALSO π₯
the whole sis900 friend group, lowkey iconic. kernel file ./drivers/net/ethernet/sis/sis900.c, plus:
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_check_mode(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_mcast_bitnr(9), set_rx_mode(9), sis900_reset(9), sis900_remove(9)
like, go read them all, i'll wait π«Ά
okay that's the page!! π cute little sign-off: this one lives at ./drivers/net/ethernet/sis, dated October 2026. mwah, go touch some ethernet π§β
π¦ 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