aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_init.c')
-rw-r--r--drivers/scsi/lpfc/lpfc_init.c62
1 files changed, 31 insertions, 31 deletions
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c
index 562d8cee874b..82f8ab5c72cd 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -645,7 +645,7 @@ lpfc_hba_down_prep(struct lpfc_hba *phba)
645 * down the SLI Layer. 645 * down the SLI Layer.
646 * 646 *
647 * Return codes 647 * Return codes
648 * 0 - sucess. 648 * 0 - success.
649 * Any other value - error. 649 * Any other value - error.
650 **/ 650 **/
651static int 651static int
@@ -700,7 +700,7 @@ lpfc_hba_down_post_s3(struct lpfc_hba *phba)
700 * down the SLI Layer. 700 * down the SLI Layer.
701 * 701 *
702 * Return codes 702 * Return codes
703 * 0 - sucess. 703 * 0 - success.
704 * Any other value - error. 704 * Any other value - error.
705 **/ 705 **/
706static int 706static int
@@ -755,7 +755,7 @@ lpfc_hba_down_post_s4(struct lpfc_hba *phba)
755 * uninitialization after the HBA is reset when bring down the SLI Layer. 755 * uninitialization after the HBA is reset when bring down the SLI Layer.
756 * 756 *
757 * Return codes 757 * Return codes
758 * 0 - sucess. 758 * 0 - success.
759 * Any other value - error. 759 * Any other value - error.
760 **/ 760 **/
761int 761int
@@ -1254,7 +1254,7 @@ lpfc_handle_eratt_s4(struct lpfc_hba *phba)
1254 * routine from the API jump table function pointer from the lpfc_hba struct. 1254 * routine from the API jump table function pointer from the lpfc_hba struct.
1255 * 1255 *
1256 * Return codes 1256 * Return codes
1257 * 0 - sucess. 1257 * 0 - success.
1258 * Any other value - error. 1258 * Any other value - error.
1259 **/ 1259 **/
1260void 1260void
@@ -3124,7 +3124,7 @@ static void lpfc_log_intr_mode(struct lpfc_hba *phba, uint32_t intr_mode)
3124 * PCI devices. 3124 * PCI devices.
3125 * 3125 *
3126 * Return codes 3126 * Return codes
3127 * 0 - sucessful 3127 * 0 - successful
3128 * other values - error 3128 * other values - error
3129 **/ 3129 **/
3130static int 3130static int
@@ -3220,7 +3220,7 @@ lpfc_reset_hba(struct lpfc_hba *phba)
3220 * support the SLI-3 HBA device it attached to. 3220 * support the SLI-3 HBA device it attached to.
3221 * 3221 *
3222 * Return codes 3222 * Return codes
3223 * 0 - sucessful 3223 * 0 - successful
3224 * other values - error 3224 * other values - error
3225 **/ 3225 **/
3226static int 3226static int
@@ -3321,7 +3321,7 @@ lpfc_sli_driver_resource_unset(struct lpfc_hba *phba)
3321 * support the SLI-4 HBA device it attached to. 3321 * support the SLI-4 HBA device it attached to.
3322 * 3322 *
3323 * Return codes 3323 * Return codes
3324 * 0 - sucessful 3324 * 0 - successful
3325 * other values - error 3325 * other values - error
3326 **/ 3326 **/
3327static int 3327static int
@@ -3642,7 +3642,7 @@ lpfc_init_api_table_setup(struct lpfc_hba *phba, uint8_t dev_grp)
3642 * device specific resource setup to support the HBA device it attached to. 3642 * device specific resource setup to support the HBA device it attached to.
3643 * 3643 *
3644 * Return codes 3644 * Return codes
3645 * 0 - sucessful 3645 * 0 - successful
3646 * other values - error 3646 * other values - error
3647 **/ 3647 **/
3648static int 3648static int
@@ -3688,7 +3688,7 @@ lpfc_setup_driver_resource_phase1(struct lpfc_hba *phba)
3688 * device specific resource setup to support the HBA device it attached to. 3688 * device specific resource setup to support the HBA device it attached to.
3689 * 3689 *
3690 * Return codes 3690 * Return codes
3691 * 0 - sucessful 3691 * 0 - successful
3692 * other values - error 3692 * other values - error
3693 **/ 3693 **/
3694static int 3694static int
@@ -3753,7 +3753,7 @@ lpfc_free_iocb_list(struct lpfc_hba *phba)
3753 * list and set up the IOCB tag array accordingly. 3753 * list and set up the IOCB tag array accordingly.
3754 * 3754 *
3755 * Return codes 3755 * Return codes
3756 * 0 - sucessful 3756 * 0 - successful
3757 * other values - error 3757 * other values - error
3758 **/ 3758 **/
3759static int 3759static int
@@ -3872,7 +3872,7 @@ lpfc_free_active_sgl(struct lpfc_hba *phba)
3872 * list and set up the sgl xritag tag array accordingly. 3872 * list and set up the sgl xritag tag array accordingly.
3873 * 3873 *
3874 * Return codes 3874 * Return codes
3875 * 0 - sucessful 3875 * 0 - successful
3876 * other values - error 3876 * other values - error
3877 **/ 3877 **/
3878static int 3878static int
@@ -3986,7 +3986,7 @@ out_free_mem:
3986 * enabled and the driver is reinitializing the device. 3986 * enabled and the driver is reinitializing the device.
3987 * 3987 *
3988 * Return codes 3988 * Return codes
3989 * 0 - sucessful 3989 * 0 - successful
3990 * ENOMEM - No availble memory 3990 * ENOMEM - No availble memory
3991 * EIO - The mailbox failed to complete successfully. 3991 * EIO - The mailbox failed to complete successfully.
3992 **/ 3992 **/
@@ -4146,7 +4146,7 @@ lpfc_sli4_remove_rpi_hdrs(struct lpfc_hba *phba)
4146 * PCI device data structure is set. 4146 * PCI device data structure is set.
4147 * 4147 *
4148 * Return codes 4148 * Return codes
4149 * pointer to @phba - sucessful 4149 * pointer to @phba - successful
4150 * NULL - error 4150 * NULL - error
4151 **/ 4151 **/
4152static struct lpfc_hba * 4152static struct lpfc_hba *
@@ -4202,7 +4202,7 @@ lpfc_hba_free(struct lpfc_hba *phba)
4202 * host with it. 4202 * host with it.
4203 * 4203 *
4204 * Return codes 4204 * Return codes
4205 * 0 - sucessful 4205 * 0 - successful
4206 * other values - error 4206 * other values - error
4207 **/ 4207 **/
4208static int 4208static int
@@ -4365,7 +4365,7 @@ lpfc_post_init_setup(struct lpfc_hba *phba)
4365 * with SLI-3 interface spec. 4365 * with SLI-3 interface spec.
4366 * 4366 *
4367 * Return codes 4367 * Return codes
4368 * 0 - sucessful 4368 * 0 - successful
4369 * other values - error 4369 * other values - error
4370 **/ 4370 **/
4371static int 4371static int
@@ -4662,7 +4662,7 @@ lpfc_sli4_bar2_register_memmap(struct lpfc_hba *phba, uint32_t vf)
4662 * this routine. 4662 * this routine.
4663 * 4663 *
4664 * Return codes 4664 * Return codes
4665 * 0 - sucessful 4665 * 0 - successful
4666 * ENOMEM - could not allocated memory. 4666 * ENOMEM - could not allocated memory.
4667 **/ 4667 **/
4668static int 4668static int
@@ -4761,7 +4761,7 @@ lpfc_destroy_bootstrap_mbox(struct lpfc_hba *phba)
4761 * allocation for the port. 4761 * allocation for the port.
4762 * 4762 *
4763 * Return codes 4763 * Return codes
4764 * 0 - sucessful 4764 * 0 - successful
4765 * ENOMEM - No availble memory 4765 * ENOMEM - No availble memory
4766 * EIO - The mailbox failed to complete successfully. 4766 * EIO - The mailbox failed to complete successfully.
4767 **/ 4767 **/
@@ -4861,7 +4861,7 @@ lpfc_sli4_read_config(struct lpfc_hba *phba)
4861 * HBA consistent with the SLI-4 interface spec. 4861 * HBA consistent with the SLI-4 interface spec.
4862 * 4862 *
4863 * Return codes 4863 * Return codes
4864 * 0 - sucessful 4864 * 0 - successful
4865 * ENOMEM - No availble memory 4865 * ENOMEM - No availble memory
4866 * EIO - The mailbox failed to complete successfully. 4866 * EIO - The mailbox failed to complete successfully.
4867 **/ 4867 **/
@@ -4910,7 +4910,7 @@ lpfc_setup_endian_order(struct lpfc_hba *phba)
4910 * we just use some constant number as place holder. 4910 * we just use some constant number as place holder.
4911 * 4911 *
4912 * Return codes 4912 * Return codes
4913 * 0 - sucessful 4913 * 0 - successful
4914 * ENOMEM - No availble memory 4914 * ENOMEM - No availble memory
4915 * EIO - The mailbox failed to complete successfully. 4915 * EIO - The mailbox failed to complete successfully.
4916 **/ 4916 **/
@@ -5218,7 +5218,7 @@ out_error:
5218 * operation. 5218 * operation.
5219 * 5219 *
5220 * Return codes 5220 * Return codes
5221 * 0 - sucessful 5221 * 0 - successful
5222 * ENOMEM - No availble memory 5222 * ENOMEM - No availble memory
5223 * EIO - The mailbox failed to complete successfully. 5223 * EIO - The mailbox failed to complete successfully.
5224 **/ 5224 **/
@@ -5286,7 +5286,7 @@ lpfc_sli4_queue_destroy(struct lpfc_hba *phba)
5286 * operation. 5286 * operation.
5287 * 5287 *
5288 * Return codes 5288 * Return codes
5289 * 0 - sucessful 5289 * 0 - successful
5290 * ENOMEM - No availble memory 5290 * ENOMEM - No availble memory
5291 * EIO - The mailbox failed to complete successfully. 5291 * EIO - The mailbox failed to complete successfully.
5292 **/ 5292 **/
@@ -5552,7 +5552,7 @@ out_error:
5552 * operation. 5552 * operation.
5553 * 5553 *
5554 * Return codes 5554 * Return codes
5555 * 0 - sucessful 5555 * 0 - successful
5556 * ENOMEM - No availble memory 5556 * ENOMEM - No availble memory
5557 * EIO - The mailbox failed to complete successfully. 5557 * EIO - The mailbox failed to complete successfully.
5558 **/ 5558 **/
@@ -5599,7 +5599,7 @@ lpfc_sli4_queue_unset(struct lpfc_hba *phba)
5599 * Later, this can be used for all the slow-path events. 5599 * Later, this can be used for all the slow-path events.
5600 * 5600 *
5601 * Return codes 5601 * Return codes
5602 * 0 - sucessful 5602 * 0 - successful
5603 * -ENOMEM - No availble memory 5603 * -ENOMEM - No availble memory
5604 **/ 5604 **/
5605static int 5605static int
@@ -5760,7 +5760,7 @@ lpfc_sli4_cq_event_release_all(struct lpfc_hba *phba)
5760 * all resources assigned to the PCI function which originates this request. 5760 * all resources assigned to the PCI function which originates this request.
5761 * 5761 *
5762 * Return codes 5762 * Return codes
5763 * 0 - sucessful 5763 * 0 - successful
5764 * ENOMEM - No availble memory 5764 * ENOMEM - No availble memory
5765 * EIO - The mailbox failed to complete successfully. 5765 * EIO - The mailbox failed to complete successfully.
5766 **/ 5766 **/
@@ -5923,7 +5923,7 @@ lpfc_sli4_fcfi_unreg(struct lpfc_hba *phba, uint16_t fcfi)
5923 * with SLI-4 interface spec. 5923 * with SLI-4 interface spec.
5924 * 5924 *
5925 * Return codes 5925 * Return codes
5926 * 0 - sucessful 5926 * 0 - successful
5927 * other values - error 5927 * other values - error
5928 **/ 5928 **/
5929static int 5929static int
@@ -6052,7 +6052,7 @@ lpfc_sli4_pci_mem_unset(struct lpfc_hba *phba)
6052 * will be left with MSI-X enabled and leaks its vectors. 6052 * will be left with MSI-X enabled and leaks its vectors.
6053 * 6053 *
6054 * Return codes 6054 * Return codes
6055 * 0 - sucessful 6055 * 0 - successful
6056 * other values - error 6056 * other values - error
6057 **/ 6057 **/
6058static int 6058static int
@@ -6184,7 +6184,7 @@ lpfc_sli_disable_msix(struct lpfc_hba *phba)
6184 * is done in this function. 6184 * is done in this function.
6185 * 6185 *
6186 * Return codes 6186 * Return codes
6187 * 0 - sucessful 6187 * 0 - successful
6188 * other values - error 6188 * other values - error
6189 */ 6189 */
6190static int 6190static int
@@ -6243,7 +6243,7 @@ lpfc_sli_disable_msi(struct lpfc_hba *phba)
6243 * MSI-X -> MSI -> IRQ. 6243 * MSI-X -> MSI -> IRQ.
6244 * 6244 *
6245 * Return codes 6245 * Return codes
6246 * 0 - sucessful 6246 * 0 - successful
6247 * other values - error 6247 * other values - error
6248 **/ 6248 **/
6249static uint32_t 6249static uint32_t
@@ -6333,7 +6333,7 @@ lpfc_sli_disable_intr(struct lpfc_hba *phba)
6333 * enabled and leaks its vectors. 6333 * enabled and leaks its vectors.
6334 * 6334 *
6335 * Return codes 6335 * Return codes
6336 * 0 - sucessful 6336 * 0 - successful
6337 * other values - error 6337 * other values - error
6338 **/ 6338 **/
6339static int 6339static int
@@ -6443,7 +6443,7 @@ lpfc_sli4_disable_msix(struct lpfc_hba *phba)
6443 * which is done in this function. 6443 * which is done in this function.
6444 * 6444 *
6445 * Return codes 6445 * Return codes
6446 * 0 - sucessful 6446 * 0 - successful
6447 * other values - error 6447 * other values - error
6448 **/ 6448 **/
6449static int 6449static int
@@ -6508,7 +6508,7 @@ lpfc_sli4_disable_msi(struct lpfc_hba *phba)
6508 * MSI-X -> MSI -> IRQ. 6508 * MSI-X -> MSI -> IRQ.
6509 * 6509 *
6510 * Return codes 6510 * Return codes
6511 * 0 - sucessful 6511 * 0 - successful
6512 * other values - error 6512 * other values - error
6513 **/ 6513 **/
6514static uint32_t 6514static uint32_t