oldpiix_set_dmamode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

oldpiix_set_dmamode(9) from the Kernel API Manual β€” okay bestie, this is the function that’s here to Initialize host controller PATA DMA timings βœ¨πŸ’…

✨ SYNOPSIS ✨

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

πŸŽ€ ARGUMENTS πŸŽ€

  • ap β€” the port whose timings we’re configuring. She’s getting the timing glow-up πŸ’–
  • adev β€” the device to program. Yep, this is the one we’re programming, periodt.

πŸ¦‹ DESCRIPTION πŸ¦‹

Set MWDMA mode for device, in host controller PCI config space. That’s the assignment, and it happens in the host controller’s PCI config space β€” no cap, that detail matters 🧚✨

LOCKING: None (inherited from caller). So the lock vibe check says none here β€” it’s inherited from the caller, bestie. Don’t come for this function about locking drama πŸ™ˆ

πŸ’– SEE ALSO πŸ’–

Kernel file to peek at: ./drivers/ata/pata_oldpiix.c 🫢 β€” and the related squad is oldpiix_pre_reset(9), oldpiix_set_piomode(9), oldpiix_qc_issue(9), and oldpiix_init_one(9) 🌈


xoxo, your source/version is ./drivers/ata, the date is October 2026, and this iconic page is oldpiix_set_dmamode(9) β€” slay πŸ’…πŸ’–

πŸ“¦ where this page comes from