sis900_set_mode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– sis900_set_mode(9) β€” the Kernel API Manual glow-up ✨

okay so bestie, welcome to the kernel API manual for sis900_set_mode(9) β€” yep, the 9 means it's a kernel function page, we love a section number that slays πŸŽ€


🌸 NAME 🌸

sis900_set_mode β€” literally sets the media mode of the mac register. that's the whole vibe. πŸ’…


✨ SYNOPSIS ✨

void sis900_set_mode (struct sis900_private *sp , int speed , int duplex
);

no cap, it returns void β€” this function is too busy being iconic to return anything 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • sp β€” the device private data. it's giving "my personal little struct of secrets" πŸ™ˆ
  • speed β€” the transmit speed, to be determined πŸ‘‘
  • duplex β€” the duplex mode, also to be determined 🌈

🧚 DESCRIPTION 🧚

so what it does: it sets the media mode of the mac register txcfg/rxcfg according to the speed and duplex of the phy. matchy matchy, coordinated, gorgeous ✨

now the important bit β€” bit EDB_MASTER_EN indicates that the EDB bus is being used instead of the PCI bus. and when this bit is set to 1, the Max DMA Burst Size for TX/RX DMA should be no larger than 16 double words. like, that's a hard limit bestie, don't push it πŸ’€


πŸ”₯ SEE ALSO πŸ”₯

the kernel file ./drivers/net/ethernet/sis/sis900.c and its whole friend group, in order, no one left out:

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_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)

that's 35 functions btw, we counted, we do not skip entries in this house πŸ’œ


ngl this is the Kernel API Manual β€” the manual name is literally right there at the top of every page, so you already knew πŸŽ€

and that's a wrap, bestie! this page is from ./drivers/net/ethernet/sis, dated October 2026, and it's sis900_set_mode(9) β€” go forth and set those modes, main character πŸŒŸπŸ’–

πŸ“¦ where this page comes from