sis_66_set_dmamode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… sis_66_set_dmamode(9) β€” the Kernel API Manual, bestie edition πŸŽ€

okay so welcome to the sis_66_set_dmamode(9) page, like the actual kernel API manual vibes, and honestly? it's giving "small function, big job" ✨


🌸 NAME 🌸

sis_66_set_dmamode β€” literally here to initialize host controller PATA DMA timings πŸ’– no cap, that's the whole assignment.


✨ SYNOPSIS ✨

void sis_66_set_dmamode (struct ata_port *ap , struct ata_device *adev
);

she takes two arguments, she returns void, she does not miss πŸ‘‘


🫢 ARGUMENTS 🫢

  • ap β€” the port whose timings we're configuring. like, this is the port we're doing a whole glow-up on πŸ’…
  • adev β€” the device to program. this is the one getting the makeover, periodt.

πŸ¦‹ DESCRIPTION πŸ¦‹

So what she does: she sets the UDMA/MWDMA mode for the device, and she does it in the host controller PCI config space. That's the venue, that's where the magic happens ✨

She handles UDMA66 and early UDMA100 devices β€” those are her girls. And the way she also supports MWDMA, unlike the old ide/pci driver? iconic. truly main character energy πŸŽ€

LOCKING: None (inherited from caller). πŸ‘€ so like, she's not doing any locking herself β€” that's on whoever called her. she's trusting you, bestie. don't make it weird πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

Kernel file ./drivers/ata/pata_sis.c β€” go read her friends, they're all linked up iykyk πŸ’œ

the whole squad fr fr 🫢


🌈 okay that's the page!! this one came out of ./drivers/ata, dated October 2026, and the manual name is sis_66_set_dmamode(9) in case you forgot already πŸ’€ slay, go set some DMA timings, ily, bye!! πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from