hpt36x_init_one(9)
π hpt36x_init_one(9) β like, the whole kernel API manual vibe, bestie
okay so this is a page straight outta the Kernel API Manual, and it's about waking up an HPT366/368 chip. buckle up π
β¨ NAME β¨
hpt36x_init_one β initialise an HPT366/368 π§
πΈ SYNOPSIS πΈ
int hpt36x_init_one (struct pci_dev *dev , const struct pci_device_id *id );
π¦ ARGUMENTS π¦
devβ the PCI device, the actual main character of this whole situation πidβ the entry in the match table, like its little name tag at the party π
π₯ DESCRIPTION π₯
Initialise an HPT36x device. and ngl, there are some interesting complications here bestie, it's giving plot twist π
First up: the chip may report 366 and still be one of several variants. like, it's not being shady on purpose, it just has range β¨
Second: all the timings depend on the clock for the chip, which we must detect and look up. no cap, you gotta go find it π
Here's the known chip mapping, fr fr. It may be missing a couple of later releases β so like, don't come for it π
- HPT366 β Chip version
4 (HPT366), PCI Rev0, Notes:UDMA66 - HPT366 β Chip version
4 (HPT366), PCI Rev1, Notes:UDMA66 - HPT368 β Chip version
4 (HPT366), PCI Rev2, Notes:UDMA66 - HPT37x/30x β Chip version
4 (HPT366), PCI Rev3+, Notes:Other driver
so yeah, rev3+of the4 (HPT366)vibe? that's somebody else's problem, it's a whole other driver π
β SEE ALSO β
Kernel file ./drivers/ata/pata_hpt366.c β and the whole friend group:
hpt36x_find_mode(9)hpt366_filter(9)hpt366_set_piomode(9)hpt366_set_dmamode(9)hpt366_prereset(9)hpt36x_init_chipset(9)
π«Ά that's the whole page, bestie. no gatekeeping, every option and every flag is right there, iykyk.
and for the sign-off: this one lives in ./drivers/ata, dated October 2026, and it's an official hpt36x_init_one(9) situation. slay πβ¨
π¦ 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