pci_intx_mask_broken(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸŽ€ NAME πŸŽ€

pci_intx_mask_broken β€” Test PCI_COMMAND_INTX_DISABLE writability

okay bestie, this one is straight out of the Kernel API Manual, and the function is literally called pci_intx_mask_broken πŸ’–


✨ SYNOPSIS ✨

int pci_intx_mask_broken (struct pci_dev *dev );

That's the whole vibe: it returns an int and takes a struct pci_dev *dev, no cap 🫢


πŸ’… ARGUMENTS πŸ’…

  • dev β€” the PCI device, obviously πŸ’…

πŸ”₯ DESCRIPTION πŸ”₯

Okay so the assignment here is: test whether PCI_COMMAND_INTX_DISABLE is writable for dev ✨

And the key detail, bestie: check this at enumeration-time so you're not out here modifying PCI_COMMAND at run-time. That's the whole point, periodt πŸ’€


🌈 SEE ALSO 🌈

Kernel file ./drivers/pci/probe.c, plus these iconic neighbors, iykyk:


xoxo, this page lives in ./drivers/pci, dated October 2026, and yes it's pci_intx_mask_broken(9) πŸ’–βœ¨

πŸ“¦ where this page comes from