hpt374_fn1_cable_detect(9)
π hpt374_fn1_cable_detect(9) β or, "what cable is even in this port bestie"
okay so this is a page from the Kernel API Manual, bestie, and it's literally all about the function hpt374_fn1_cable_detect. Yes the whole page. She's niche, she's specific, she ate π
β¨ NAME β¨
hpt374_fn1_cable_detect β Detect the cable type π
π¦ SYNOPSIS π¦
int hpt374_fn1_cable_detect (struct ata_port *ap );
like. that's the whole signature. iconic. no cap. β
πΈ ARGUMENTS πΈ
apβ the ATA port you're detecting on π«Ά that's it, that's the one (1) argument
π DESCRIPTION π
So what does she do? She returns the cable type attached to this port. That's the vibe. That's the whole job. Lowkey the most straightforward main character on the whole driver, and honestly? We respect it. πβ¨
π SEE ALSO π
Kernel file ./drivers/ata/pata_hpt37x.c β like, go read the source, iykyk π
and also the whole friend group, fr fr:
hpt37x_find_mode(9)hpt370_filter(9)hpt370a_filter(9)hpt372_filter(9)hpt37x_cable_detect(9)hpt37x_pre_reset(9)hpt37x_set_piomode(9)hpt37x_set_dmamode(9)hpt370_bmdma_stop(9)hpt37x_bmdma_stop(9)hpt37x_clock_slot(9)hpt37x_calibrate_dpll(9)hpt37x_init_one(9)
okay that's the whole page, you're welcome π this lil cutie lives over in ./drivers/ata, she's dated October 2026, and she's part of the Kernel API Manual β go forth and detect some cables bestie, mwah π§ββοΈπ
π¦ 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