pci_ide_stream_setup(9)
π pci_ide_stream_setup(9) π
okay so this page is from the Kernel API Manual, and it's literally about programming settings into the Selective IDE Stream registers. bestie, that's the whole vibe. β¨
π NAME π
pci_ide_stream_setup β program settings to Selective IDE Stream registers π
πΈ SYNOPSIS πΈ
void pci_ide_stream_setup (struct pci_dev *pdev , struct pci_ide *ide );
π¦ ARGUMENTS π¦
pdevβ the PCIe device object, and it's for either a Root Port or an Endpoint Partner Port. yep, both are valid here.ideβ the registered IDE settings descriptor. that's the settings bundle, no cap.
π₯ DESCRIPTION π₯
so here's the tea: when pdev is a PCI_EXP_TYPE_ENDPOINT, the PCI_IDE_EP partner settings are written to pdev's Selective IDE Stream register block. periodt. π
and when pdev is a PCI_EXP_TYPE_ROOT_PORT, the PCI_IDE_RP settings are the ones selected. slay. π
lowkey important: those are the two cases the page gives us, so that's the whole story here. π
π SEE ALSO π
Kernel file ./drivers/pci/ide.c is where it's at, plus these iconic functions:
pci_ide_stream_alloc(9)pci_ide_stream_free(9)pci_ide_stream_release(9)pci_ide_stream_register(9)pci_ide_stream_unregister(9)pci_ide_stream_to_regs(9)pci_ide_stream_teardown(9)pci_ide_stream_enable(9)pci_ide_stream_disable(9)pci_ide_set_nr_streams(9)
cute sign-off: this little manual moment lives under ./drivers/pci and is dated October 2026. mwah πβ¨
π¦ 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