ns87415_set_mode(9)
π NAME π
ns87415_set_mode β initialize host controller mode timings β¨
Okay so bestie, this is ns87415_set_mode(9) from the Kernel API Manual β the function whose whole job is initializing host controller mode timings, and she is serving vintage-chip realness π
β¨ SYNOPSIS β¨
void ns87415_set_mode (struct ata_port *ap , struct ata_device *adev ,
u8 mode );
π ARGUMENTS π
apβ port whose timings we're configuring, aka thestruct ata_port *bestie in question π«Άadevβ device whose timings we're configuring, thestruct ata_device *cutie πmodeβ the mode to set, au8and the main character of this call β¨
π¦ DESCRIPTION π¦
So what's the tea? This function programs the mode registers for this controller, channel and device. That's literally the assignment. Because the chip is quite an old design, we have to do this for PIO/DMA switches β she's vintage, not obsolete, okay? π
LOCKING: None (inherited from caller).
πΈ SEE ALSO πΈ
Kernel file ./drivers/ata/pata_ns87415.c β go read it, iykyk πβ¨
ns87415_set_piomode(9)ns87415_bmdma_setup(9)ns87415_bmdma_start(9)ns87415_bmdma_stop(9)ns87415_irq_clear(9)ns87415_check_atapi_dma(9)ns87560_read_buggy(9)ns87560_check_status(9)ns87560_tf_read(9)ns87560_bmdma_status(9)ns87415_init_one(9)
Sending kisses from the ./drivers/ata source corner β October 2026 edition β with ns87415_set_mode(9) energy. 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