diff options
author | Christoph Hellwig <hch@lst.de> | 2016-08-11 14:11:04 (GMT) |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2016-08-16 19:07:30 (GMT) |
commit | 4fe0d154880bb6eb833cbe84fa6f385f400f0b9c (patch) | |
tree | 3836c67795f4046fbeb20a8fd89a185b3ae82ee4 /arch | |
parent | 8b078c603249239f597dc395ac182667c8e0af9c (diff) | |
download | linux-4fe0d154880bb6eb833cbe84fa6f385f400f0b9c.tar.xz |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions