diff options
author | Christoph Hellwig <hch@lst.de> | 2016-09-11 15:31:23 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-08 17:29:46 -0500 |
commit | 68130c99480919c2088df530fc25b5e314ad806a (patch) | |
tree | 4ccad352ff0d508e00c4c69db281b30727bb65a4 /drivers/scsi/ipr.h | |
parent | e3a00f68e426df24a5fb98956a1bd1b23943aa1e (diff) | |
download | linux-68130c99480919c2088df530fc25b5e314ad806a.tar.gz linux-68130c99480919c2088df530fc25b5e314ad806a.tar.bz2 linux-68130c99480919c2088df530fc25b5e314ad806a.zip |
scsi: arcmsr: Use pci_alloc_irq_vectors
Switch the arcmsr driver to use pci_alloc_irq_vectors. We need to two
calls to pci_alloc_irq_vectors as arcmsr 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: Ching Huang <ching2048@areca.com.tw>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ipr.h')
0 files changed, 0 insertions, 0 deletions