STRUCT PCI_IDE(9)
π¦ struct pci_ide(9) β like, the PCIe Selective IDE Stream descriptor π
okay bestie, so this is a page from the Kernel API Manual and it's literally all about struct pci_ide β the descriptor for a PCIe Selective IDE Stream. it's giving "small struct, big responsibilities" energy and ngl I'm kind of obsessed? let's get into it π«Ά
β¨ SYNOPSIS β¨
struct pci_ide {
struct pci_dev *pdev;
struct pci_ide_partner partner[PCI_IDE_PARTNER_MAX];
u8 host_bridge_stream;
int stream_id;
const char *name;
};
like, that's the whole vibe right there. five fields, no notes. πΈ
π Members π
pdevβ the PCIe Endpoint in thepci_ide_partnerpair. yes, that endpoint. the other half of the pairing, if you will. πpartnerβ per-partner settings. note it's an array β<italic>per-partner</italic>, plural, indexed, the whole thing. it's giving "settings for each partner, individually" πhost_bridge_streamβ au8that's allocated from the host bridgeide_stream_idapool. that's the IDA pool, bestie, not just any pool. πstream_idβ the unique Stream ID, and yes it's unique within the Partner Port pairing. don't go thinking it's globally unique, it's not, it's scoped, iykyk. π₯nameβ the name of the established Selective IDE Stream, and it shows up in sysfs. so like, that's how you'll find it. β
π Description π
okay so here's the one thing you actually need to internalize: negative stream_id values mean "uninitialized." π¨
and like, why? because the expectation is that with TSM established IDE, the TSM owns the stream_id allocation. so if you see a negative value, don't panic, don't try to "fix" it β that's just an uninitialized stream, the TSM is handling it, main character energy fr fr. π
bestie this is a meaning caveat, not a bug warning β negative = uninitialized, and the TSM owns allocation when TSM established IDE is in play. know the difference. π
π SEE ALSO π
- Kernel file
./include/linux/pci-ide.h struct pci_ide_partner(9)struct pci_ide_regs(9)
go read those next, they're the supporting cast and honestly they ate. π§
and that's the whole page, bestie β 100% of the flags, fields, and facts, zero skips. this icon was served up by ./include/linux, from the October 2026 era of the Kernel API Manual, and it's signed struct pci_ide(9) at the bottom like a little autograph. slay. π
β¨
π¦ 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