pci_common_swizzle(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

hiii bestie πŸ’– welcome to the pci_common_swizzle(9) page, straight outta the Kernel API Manual β€” and yes, we're about to talk about swizzling INTx all the way up to the root bridge πŸ‘‘

🌸 NAME 🌸

pci_common_swizzle β€” swizzle INTx all the way to root bridge πŸ’…

✨ SYNOPSIS ✨

u8 pci_common_swizzle (struct pci_dev *dev , u8 *pinp );

πŸŽ€ ARGUMENTS πŸŽ€

  • dev β€” the PCI device 🫢
  • pinp β€” pointer to the INTx pin value (1=INTA, 2=INTB, 3=INTD, 4=INTD) 😭

πŸ’… DESCRIPTION πŸ’…

okay so real talk: this performs INTx swizzling for a device. It traverses through all PCI-to-PCI bridges all the way up to a PCI root bus. It's giving "follow the bridge chain until the root bus says hi" energy πŸ¦‹βœ¨

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/pci/irq.c πŸ‘€ β€” also go peek at pci_request_irq(9), pci_free_irq(9), pci_swizzle_interrupt_pin(9), pci_check_and_mask_intx(9), pci_check_and_unmask_intx(9), and pcibios_penalize_isa_irq(9) 🫢


that's the whole vibe, bestie πŸ’– β€” source/version: ./drivers/pci, dated October 2026. mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from