ks8851_soft_reset(9)
π ks8851_soft_reset(9) π
okay bestie, welcome to the Kernel API Manual entry for ks8851_soft_reset(9) β it's the lil function that issues one of the soft reset commands to the device, and we're gonna go through every single detail together π«Άβ¨
πΈ NAME πΈ
ks8851_soft_reset β issue one of the soft reset to the device π
literally reset-button energy, but make it kernel
β¨ SYNOPSIS β¨
void ks8851_soft_reset (struct ks8851_net *ks , unsigned op );
That's the whole signature, no cap. ks is the device state and op is the bit(s) to set in the GRR β more on those right below π
π ARGUMENTS π
ksβ The device state. Yes bestie, that's thestruct ks8851_net *ks; it's the device's whole state situation πopβ The bit(s) to set in theGRR. So this is where you tell it which reset bits are going into theGRRβ¨
π¦ DESCRIPTION π¦
Okay so what it does: it issues the relevant soft-reset command to the device's GRR register, specified by op. Slay. π
The delays are in there as a caution to ensure that the reset has time to take effect and then complete. Since the datasheet does not currently specify the exact sequence, they've chosen something that seems to work with our device. And honestly? If it works with our device, we're not questioning it ππ«Ά
No cap, that's the whole description β no extra lore, bestie.
π SEE ALSO π
Kernel file: ./drivers/net/ethernet/micrel/ks8851_common.c β go read it bestie, it's giving source-code main character energy πβ¨
And the whole function squad:
ks8851_lock(9)ks8851_unlock(9)ks8851_wrreg16(9)ks8851_rdreg16(9)ks8851_set_powermode(9)ks8851_write_mac_addr(9)ks8851_read_mac_addr(9)ks8851_init_mac(9)ks8851_rx_pkts(9)ks8851_irq(9)ks8851_flush_tx_work(9)ks8851_net_open(9)ks8851_net_stop(9)ks8851_start_xmit(9)ks8851_rxctrl_work(9)ks8851_eeprom_claim(9)ks8851_eeprom_release(9)ks8851_phy_reg(9)ks8851_phy_read(9)ks8851_read_selftest(9)
mwah π that's the manual, bestie β source/version: ./drivers/net/ethernet/micrel β’ date: October 2026 β’ page: ks8851_soft_reset(9). Periodt. πβ¨
π¦ 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