summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_init.c
diff options
context:
space:
mode:
authorJames Smart2012-08-03 18:36:33 +0200
committerJames Bottomley2012-09-14 15:42:59 +0200
commit4305f183c03fbcf7fd4102de4422862fc76567d2 (patch)
tree3c07c3c0cc4c7dc0cb731499b97fb90666b0e3a5 /drivers/scsi/lpfc/lpfc_init.c
parent[SCSI] lpfc 8.3.33: Allow per-hba interrupt rate tuning (diff)
downloadkernel-qcow2-linux-4305f183c03fbcf7fd4102de4422862fc76567d2.tar.gz
kernel-qcow2-linux-4305f183c03fbcf7fd4102de4422862fc76567d2.tar.xz
kernel-qcow2-linux-4305f183c03fbcf7fd4102de4422862fc76567d2.zip
[SCSI] lpfc 8.3.33: Change Naming convention for SLI4 Interrupt vector
Signed-off-by: James Smart <james.smart@emulex.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_init.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index 3dad5ff870a8..538124b39767 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -8105,11 +8105,15 @@ enable_msix_vectors:
* Assign MSI-X vectors to interrupt handlers
*/
for (index = 0; index < vectors; index++) {
+ memset(&phba->sli4_hba.handler_name[index], 0, 16);
+ sprintf((char *)&phba->sli4_hba.handler_name[index],
+ LPFC_DRIVER_HANDLER_NAME"%d", index);
+
phba->sli4_hba.fcp_eq_hdl[index].idx = index;
phba->sli4_hba.fcp_eq_hdl[index].phba = phba;
rc = request_irq(phba->sli4_hba.msix_entries[index].vector,
&lpfc_sli4_hba_intr_handler, IRQF_SHARED,
- LPFC_FP_DRIVER_HANDLER_NAME,
+ (char *)&phba->sli4_hba.handler_name[index],
&phba->sli4_hba.fcp_eq_hdl[index]);
if (rc) {
lpfc_printf_log(phba, KERN_WARNING, LOG_INIT,