sis900_set_config(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 that ifconfig passed 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