it821x_program(9)
πΈ NAME β it821x_program(9) πΈ
Okay so bestie, this is the manual page for it821x_program(9) from the Kernel API Manual. Itβs giving βprogram the PIO/MWDMA registersβ β thatβs the whole name, no cap. π
β¨ SYNOPSIS β¨
The signature, exactly as it appears, because we do not mess with code:
void it821x_program (struct ata_port *ap , struct ata_device *adev , u16
timing );
π ARGUMENTS π
apβ ATA port. Thatβs it, thatβs the whole vibe.adevβ Device to program. The one getting the timing glow-up.timingβ Timing value (66Mhzin top8bits,50in the low8). Yes, thatβs the literal breakdown β top bits, low bits, iconic. π«Ά
π DESCRIPTION π
So whatβs the tea? it821x_program programs the PIO/MWDMA timing for this channel according to the current clock. These share the same register, so theyβre managed by the DMA start/stop sequence as with the old driver. Thatβs it β no extra lore, just timing business. β¨
π SEE ALSO π
Kernel file: ./drivers/ata/pata_it821x.c. The whole squad, in order:
it821x_program_udma(9)it821x_clock_strategy(9)it821x_passthru_set_piomode(9)it821x_passthru_set_dmamode(9)it821x_passthru_bmdma_start(9)it821x_passthru_bmdma_stop(9)it821x_passthru_dev_select(9)it821x_smart_qc_issue(9)it821x_passthru_qc_issue(9)it821x_smart_set_mode(9)it821x_dev_config(9)it821x_read_id(9)it821x_check_atapi_dma(9)it821x_display_disk(9)it821x_firmware_command(9)it821x_probe_firmware(9)it821x_port_start(9)it821x_rdc_cable(9)
xoxo, your kernel bestie π
β source/version: ./drivers/ata, date: October 2026. it821x_program(9) out. π«Ά
π¦ 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