ali_program_modes(9)
π NAME β ali_program_modes(9) from the Kernel API Manual π
okay bestie, welcome to the Kernel API Manual page for ali_program_modes(9) π
this one is literally about loading mode registers. no cap.
β¨ SYNOPSIS β¨
void ali_program_modes (struct ata_port *ap , struct ata_device *adev ,
struct ata_timing *t , u8 ultra );
π ARGUMENTS π
apβ ALi channel to load πΈadevβ Device the timing is for πtβ timing data βultraβ UDMA timing or zero for off π
π¦ DESCRIPTION π¦
So this function loads the timing registers for cmd/data, and it disables UDMA if ultra is zero. that's the vibe check.
If ultra is set, then it loads and enables the UDMA timing β but do not touch the command/data timing. literally hands off those ones, bestie π
π SEE ALSO π
Kernel file ./drivers/ata/pata_ali.c:
ali_c2_cable_detect(9)ali_20_filter(9)ali_fifo_control(9)ali_set_piomode(9)ali_set_dmamode(9)ali_warn_atapi_dma(9)ali_lock_sectors(9)ali_check_atapi_dma(9)ali_init_chipset(9)ali_init_one(9)
that's the whole page, bestie π«Ά β catch you in ./drivers/ata, October 2026 edition, on ali_program_modes(9) π
π¦ 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