diff options
author | Christoph Hellwig <hch@lst.de> | 2016-09-11 15:31:24 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-08 23:29:46 +0100 |
commit | a299ee62cf40d6d80a9f11d57220f0a28077fe2d (patch) | |
tree | f5a357809478024aa5af521a8754e62446d93abe /drivers/scsi/53c700.scr | |
parent | scsi: arcmsr: Use pci_alloc_irq_vectors (diff) | |
download | linux-a299ee62cf40d6d80a9f11d57220f0a28077fe2d.tar.xz linux-a299ee62cf40d6d80a9f11d57220f0a28077fe2d.zip |
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/53c700.scr')
0 files changed, 0 insertions, 0 deletions