sis900_set_mode(9)
π 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
- 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