diff options
author | James Smart <james.smart@emulex.com> | 2012-08-03 12:36:33 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-09-14 09:42:59 -0400 |
commit | 4305f183c03fbcf7fd4102de4422862fc76567d2 (patch) | |
tree | 3c07c3c0cc4c7dc0cb731499b97fb90666b0e3a5 /drivers/scsi/lpfc/lpfc_init.c | |
parent | bf8dae83fea151ebd74492740733e2ed62dc9f51 (diff) |
[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.c | 6 |
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: | |||
8105 | * Assign MSI-X vectors to interrupt handlers | 8105 | * Assign MSI-X vectors to interrupt handlers |
8106 | */ | 8106 | */ |
8107 | for (index = 0; index < vectors; index++) { | 8107 | for (index = 0; index < vectors; index++) { |
8108 | memset(&phba->sli4_hba.handler_name[index], 0, 16); | ||
8109 | sprintf((char *)&phba->sli4_hba.handler_name[index], | ||
8110 | LPFC_DRIVER_HANDLER_NAME"%d", index); | ||
8111 | |||
8108 | phba->sli4_hba.fcp_eq_hdl[index].idx = index; | 8112 | phba->sli4_hba.fcp_eq_hdl[index].idx = index; |
8109 | phba->sli4_hba.fcp_eq_hdl[index].phba = phba; | 8113 | phba->sli4_hba.fcp_eq_hdl[index].phba = phba; |
8110 | rc = request_irq(phba->sli4_hba.msix_entries[index].vector, | 8114 | rc = request_irq(phba->sli4_hba.msix_entries[index].vector, |
8111 | &lpfc_sli4_hba_intr_handler, IRQF_SHARED, | 8115 | &lpfc_sli4_hba_intr_handler, IRQF_SHARED, |
8112 | LPFC_FP_DRIVER_HANDLER_NAME, | 8116 | (char *)&phba->sli4_hba.handler_name[index], |
8113 | &phba->sli4_hba.fcp_eq_hdl[index]); | 8117 | &phba->sli4_hba.fcp_eq_hdl[index]); |
8114 | if (rc) { | 8118 | if (rc) { |
8115 | lpfc_printf_log(phba, KERN_WARNING, LOG_INIT, | 8119 | lpfc_printf_log(phba, KERN_WARNING, LOG_INIT, |