pdc_pci_config_read(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… pdc_pci_config_read πŸ’…

Okay bestie, welcome to the Kernel API Manual β€” yes that's the vibe, we're in the big official handbook today. This little entry is all about pdc_pci_config_read and it's honestly such a niche icon. Let's get into it πŸŽ€


✨ NAME ✨

pdc_pci_config_read β€” read PCI config space.

Like, that's it. That's the whole job. Read the PCI config space. Slay 🫢


🌸 SYNOPSIS 🌸

unsigned int pdc_pci_config_read (void *hpa , unsigned long cfg_addr );

Yes the spacing is a little feral (void *hpa , with the space before the comma, we don't judge, that's just how it came out of the manual) β€” copy it exactly if you're quoting it, iykyk πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • hpa β€” the token from PDC that says which PCI device we're talking about. Think of it as the device's little name tag at the party πŸŽ€
  • cfg_addr β€” the configuration space address you wanna read from. Point at the thing, get the thing ✨

πŸ‘‘ DESCRIPTION πŸ‘‘

Read PCI Configuration space before linux PCI subsystem is running.

That's the whole description, and ngl the "before" is doing so much work in that sentence. The Linux PCI subsystem is not up yet, it's still in bed, hair in a towel β€” and you are out here reading config space anyway. Main character energy fr fr πŸ”₯

⚠️ Lowkey important: this is a pre-subsystem situation. The emphasis on before is not decoration, bestie β€” don't expect the normal PCI machinery to have your back here πŸ’€

🌈 SEE ALSO 🌈

The docs also point you at the kernel file ./arch/parisc/kernel/firmware.c, plus this absolutely iconic roster of friends. Look at this list. It's giving reunion tour. Observe πŸ‘‘

Sixty of them. Sixty!! Not me counting. Okay I counted. Obsessed with the commitment honestly πŸ’œ


And that's the page, bestie β€” no notes, ate and left no crumbs πŸ“

Cute little sign-off for the record books: this one lives over in ./arch/parisc/kernel, it's dated October 2026, it belongs to the Kernel API Manual, and the page itself answers to pdc_pci_config_read(9). Byeeee πŸ’–βœ¨

πŸ“¦ where this page comes from