sis_133_set_piomode(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so, this is the sis_133_set_piomode(9) page from the Kernel API Manual, and it's literally giving host controller PATA PIO timings. Let's go πŸ’….

🌸 NAME 🌸

sis_133_set_piomode β€” Initialize host controller PATA PIO timings. That's the whole name vibe, bestie.

✨ SYNOPSIS ✨

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

It's a void function with two struct pointers and zero return-value drama. (ap is a struct ata_port *, and adev is a struct ata_device *.)

πŸŽ€ ARGUMENTS πŸŽ€

  • ap β€” Port whose timings we are configuring.
  • adev β€” Device we are configuring for.

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so this function sets the PIO mode for the device, and it does that in the host controller PCI config space. No cap. It's the one handling PIO set up for the later ATA133 devices β€” that "later" is lowkey important, iykyk.

πŸ”’ LOCKING πŸ”’

LOCKING: None (inherited from caller). So yeah, the locking situation is not this function's problem; it's inherited from caller. Don't @ me about locks πŸ’….

🌈 SEE ALSO 🌈

Kernel file: ./drivers/ata/pata_sis.c

Also the whole bestie list of (9) pages:

sis_old_port_base(9), sis_port_base(9), sis_133_cable_detect(9), sis_66_cable_detect(9), sis_pre_reset(9), sis_set_fifo(9), sis_old_set_piomode(9), sis_100_set_piomode(9), sis_old_set_dmamode(9), sis_66_set_dmamode(9), sis_100_set_dmamode(9), sis_133_early_set_dmamode(9), sis_133_set_dmamode(9), sis_133_mode_filter(9), sis_init_one(9).


cute sign-off: source/version ./drivers/ata, dated October 2026. That's the sis_133_set_piomode(9) page, mwah πŸ’‹πŸ«Ά

πŸ“¦ where this page comes from