diff options
author | Christoph Hellwig <hch@lst.de> | 2016-09-11 16:31:24 +0300 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-09 01:29:46 +0300 |
commit | a299ee62cf40d6d80a9f11d57220f0a28077fe2d (patch) | |
tree | f5a357809478024aa5af521a8754e62446d93abe /drivers/scsi/fnic/fnic_trace.h | |
parent | 68130c99480919c2088df530fc25b5e314ad806a (diff) | |
download | linux-a299ee62cf40d6d80a9f11d57220f0a28077fe2d.tar.xz |
scsi: ipr: Use pci_irq_allocate_vectors
Switch the ipr driver to use pci_alloc_irq_vectors. We need to two
calls to pci_alloc_irq_vectors as ipr only supports multiple MSI-X
vectors, but not multiple MSI vectors.
Otherwise this cleans up a lot of cruft and allows to use a common
request_irq loop for irq types, which happens to only iterate over a
single line in the non MSI-X case.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/fnic/fnic_trace.h')
0 files changed, 0 insertions, 0 deletions