amd_cable_detect(9)
π amd_cable_detect(9)
okay so bestie, welcome to amd_cable_detect β that's a section 9 kernel API manual, mmkay? this is the whole vibe: it literally just reports cable type and dips. tiny function, main character energy, no notes π
β¨ SYNOPSIS β¨
int amd_cable_detect (struct ata_port *ap );
yep that's it. that's the whole signature. look at it go π¦
πΈ ARGUMENTS πΈ
apβ the port. that's it, that's the argument. it's a port. give it a port, get a cable type back, we love a straightforward queen π
π₯ DESCRIPTION π₯
okay so here's the tea: AMD controller/BIOS setups record the cable type in word 0x42 π that's literally the whole thing β the cable type lives in word 0x42, and this function is the one that goes and reports it back to you. no cap, that's the entire plot π«Ά
π SEE ALSO π
- Kernel file
./drivers/ata/pata_amd.cβ like, the whole file, bestie, go read it π timing_setup(9)amd_pre_reset(9)amd_fifo_setup(9)amd33_set_piomode(9)amd33_set_dmamode(9)nv_pre_reset(9)nv100_set_piomode(9)nv100_set_dmamode(9)
the whole friend group fr fr π
and that's the page!! mwah π this lil icon is chillin' out of ./drivers/ata and it's dated October 2026, so likeβ¦ mark your calendars, 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