1
0
Fork 0
alistair23-linux/Documentation/PCI
Christoph Hellwig 4fe0d15488 PCI: Use positive flags in pci_alloc_irq_vectors()
Instead of passing negative flags like PCI_IRQ_NOMSI to prevent use of
certain interrupt types, pass positive flags like PCI_IRQ_LEGACY,
PCI_IRQ_MSI, etc., to specify the acceptable interrupt types.

This is based on a number of pending driver conversions that just happend
to be a whole more obvious to read this way, and given that we have no
users in the tree yet it can still easily be done.

I've also added a PCI_IRQ_ALL_TYPES catchall to keep the case of accepting
all interrupt types very simple.

[bhelgaas: changelog, fix PCI_IRQ_AFFINITY doc typo, remove mention of
PCI_IRQ_NOLEGACY]
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Alexander Gordeev <agordeev@redhat.com>
2016-08-16 14:07:30 -05:00
..
00-INDEX PCI: Update documentation 00-INDEX file 2014-01-07 16:37:15 -07:00
MSI-HOWTO.txt PCI: Use positive flags in pci_alloc_irq_vectors() 2016-08-16 14:07:30 -05:00
PCIEBUS-HOWTO.txt PCI: Documentation: fix minor PCIe HOWTO thinko 2009-02-13 13:59:19 -08:00
pci-error-recovery.txt doc:pci: Fix typo in Documentation/PCI 2015-03-20 07:41:56 -06:00
pci-iov-howto.txt PCI: Remove unused SR-IOV VF Migration support 2014-02-19 11:28:44 -07:00
pci.txt PCI: Clarify policy for vendor IDs in pci.txt 2015-04-09 13:34:02 -05:00
pcieaer-howto.txt doc:pci: Fix typo in Documentation/PCI 2015-03-20 07:41:56 -06:00