hpt370_filter(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… hpt370_filter(9) β€” your girl's guide to the mode selection filter

okay so hi bestie 🫢 welcome to the Kernel API Manual, specifically the page for hpt370_filter(9). it's a tiny one, but it's important, i promise. like, small but mighty. main character energy in a four-line function, fr fr.


✨ NAME ✨

hpt370_filter β€” the mode selection filter. that's it. that's the job. she filters. she selects modes. she slays πŸŽ€


🌸 SYNOPSIS 🌸

unsigned int hpt370_filter (struct ata_device *adev , unsigned int mask
);

yes the signature is literally formatted exactly like that in the original, and yes we are keeping it exactly like that, no cap. character for character, babe. πŸ’–


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adev β€” an ATA device. that's the thing we're looking at πŸ‘€
  • mask β€” the mode mask. the mask of modes. the mode-y mask. iconic.

πŸ’€ DESCRIPTION πŸ’€

okay so here's the whole vibe: this function blocks UDMA on devices that cause trouble with this controller. that's it. that's the entire plot.

like, some devices are messy with this controller β€” not their fault, we don't judge β€” and so this filter steps in and says "nope, no UDMA for you, sweetie" πŸ’… and that's genuinely the whole thing.

no extra lore, bestie. the manpage gives us one sentence and we are respecting it. don't @ me.

πŸ”₯ SEE ALSO πŸ”₯

go check out the kernel file ./drivers/ata/pata_hpt37x.c β€” that's where the magic lives ✨

and then the whole friend group:

like, the whole hpt37x extended universe, honestly. read them all. iykyk 🌈


and that's the page!! 🫢 sourced from ./drivers/ata, dated October 2026, titled hpt370_filter(9), part of the Kernel API Manual β€” mwah, love that for us πŸ’œβœ¨ go forth and filter those modes, bestie πŸ§šβ€β™€οΈ

πŸ“¦ where this page comes from