via_mode_filter(9)
β¨ NAME β¨
okay bestie, welcome to the via_mode_filter(9) page from the Kernel API Manual β this is literally all about via_mode_filter, whose whole assignment is to filter buggy device/mode pairs. no cap, that's the vibe. π
πΈ SYNOPSIS πΈ
unsigned int via_mode_filter (struct ata_device *dev , unsigned int mask
);
π ARGUMENTS π
devβ an ATA device, aka the device bestie in question π«Άmaskβ the Mode bitmask, aka the bits that say which modes are in the mix β¨
π¦ DESCRIPTION π¦
okay so the situation is this: we need to apply some minimal filtering for old controllers and at least one breed of Transcend SSD. that's the gig. then it returns the updated mask. π
like, minimal filtering, but make it necessary β old controllers and at least one breed of Transcend SSD are the whole reason this exists. and yes, the updated mask comes back out at the end. periodt. π₯
π SEE ALSO π
- Kernel file
./drivers/ata/pata_via.c via_cable_detect(9)via_do_set_mode(9)via_tf_load(9)via_config_fifo(9)via_init_one(9)via_reinit_one(9)
mwah π signing off from source ./drivers/ata, dated October 2026, on the via_mode_filter(9) page. stay filtered, bestie πβ¨
π¦ 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