nv_pre_reset(9)
π nv_pre_reset(9) π
okay so bestie, welcome to nv_pre_reset(9), a page straight out of the Kernel API Manual β¨ this one is short, sweet, and extremely on brand: it's giving cable detection and we're gonna read it together π«Ά
πΈ NAME πΈ
nv_pre_reset β cable detection π
π SYNOPSIS π
int nv_pre_reset (struct ata_link *link , unsigned long deadline );
π¦ ARGUMENTS π¦
linkβ an ATA link πdeadlineβ the deadline in jiffies for the operation β°
β¨ DESCRIPTION β¨
okay so nv_pre_reset performs cable detection. that's the moment. that's the whole vibe check π
and the cute part? The BIOS stores this in PCI config space for us π slay.
π SEE ALSO π
Kernel file ./drivers/ata/pata_amd.c, plus the whole reference squad: timing_setup(9), amd_pre_reset(9), amd_cable_detect(9), amd_fifo_setup(9), amd33_set_piomode(9), amd33_set_dmamode(9), nv100_set_piomode(9), nv100_set_dmamode(9) π₯
mwah π β source ./drivers/ata, dated October 2026, page nv_pre_reset(9). byeee π«Άπ
π¦ 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