ath5k_hw_nic_reset(9)
π
ath5k_hw_nic_reset β a manual page, but make it cute
okay so bestie, welcome to the Kernel API Manual entry for ath5k_hw_nic_reset(9) β¨ this is the little function that hits the reset button on the various chipset units, and honestly? she's giving quiet main character energy π
β¨ NAME β¨
ath5k_hw_nic_reset β reset the various chipset units πΈ
π¦ SYNOPSIS π¦
int ath5k_hw_nic_reset (struct ath5k_hw *ah , u32 val );
π ARGUMENTS π
ahβ thestruct ath5k_hwitself, the whole vibe, the main character π«Άvalβ a mask that tells us which units we're resetting, iykyk π
π₯ DESCRIPTION π₯
so here's the tea β to reset the various chipset units we need to write the mask into AR5K_RESET_CTL and then poll the register until all the flags are cleared. literally just write, poll, watch the flags disappear β¨
it returns 0 if we are O.K. β or -EAGAIN (from athk5_hw_register_timeout) if it times out π
ngl, that -EAGAIN is the "she's not coming back yet" of return codes π
π SEE ALSO π
- Kernel file
./drivers/net/wireless/ath/ath5k/reset.cβ reset function and helpers(9) β ath5k_hw_register_timeout(9)ath5k_hw_htoclock(9)ath5k_hw_clocktoh(9)ath5k_hw_init_core_clock(9)ath5k_hw_set_sleep_clock(9)ath5k_hw_wisoc_reset(9)ath5k_hw_set_power_mode(9)ath5k_hw_on_hold(9)ath5k_hw_nic_wakeup(9)ath5k_hw_tweak_initval_settings(9)ath5k_hw_commit_eeprom_settings(9)ath5k_hw_reset(9)
and that's the whole page, bestie π sign-off time: this one lives in ./drivers/net/wireless/ath/ath5k, dated October 2026, no cap π§ββοΈ go forth and reset responsibly π₯
π¦ 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