scsi: qla4xxx: switch to pci_alloc_irq_vectors
authorChristoph Hellwig <[email protected]>
Tue, 6 Dec 2016 13:56:50 +0000 (14:56 +0100)
committerMartin K. Petersen <[email protected]>
Wed, 7 Dec 2016 23:58:58 +0000 (18:58 -0500)
commitf5b893c947151d424a4ab55ea3a8544b81974b31
treee4d0e3e07d589ee96a21536f8da775af1c8b2ee0
parent26f3ba9600e5d4437bb7299d2b01003b0d93e853
scsi: qla4xxx: switch to pci_alloc_irq_vectors

And simplify the MSI-X logic in general - just request the two vectors
directly instead of going through an indirection table.

Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Nilesh Javali <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
drivers/scsi/qla4xxx/ql4_def.h
drivers/scsi/qla4xxx/ql4_glbl.h
drivers/scsi/qla4xxx/ql4_isr.c
drivers/scsi/qla4xxx/ql4_nx.c