diff options
Diffstat (limited to 'drivers/scsi/lpfc/lpfc_vport.c')
-rw-r--r-- | drivers/scsi/lpfc/lpfc_vport.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc_vport.c b/drivers/scsi/lpfc/lpfc_vport.c index 85797dbf5478..c5918a643014 100644 --- a/drivers/scsi/lpfc/lpfc_vport.c +++ b/drivers/scsi/lpfc/lpfc_vport.c | |||
@@ -326,6 +326,8 @@ lpfc_vport_create(struct fc_vport *fc_vport, bool disable) | |||
326 | rc = VPORT_OK; | 326 | rc = VPORT_OK; |
327 | 327 | ||
328 | out: | 328 | out: |
329 | lpfc_printf_vlog(vport, KERN_ERR, LOG_VPORT, | ||
330 | "1825 Vport Created.\n"); | ||
329 | lpfc_host_attrib_init(lpfc_shost_from_vport(vport)); | 331 | lpfc_host_attrib_init(lpfc_shost_from_vport(vport)); |
330 | error_out: | 332 | error_out: |
331 | return rc; | 333 | return rc; |
@@ -371,6 +373,8 @@ disable_vport(struct fc_vport *fc_vport) | |||
371 | lpfc_mbx_unreg_vpi(vport); | 373 | lpfc_mbx_unreg_vpi(vport); |
372 | 374 | ||
373 | lpfc_vport_set_state(vport, FC_VPORT_DISABLED); | 375 | lpfc_vport_set_state(vport, FC_VPORT_DISABLED); |
376 | lpfc_printf_vlog(vport, KERN_ERR, LOG_VPORT, | ||
377 | "1826 Vport Disabled.\n"); | ||
374 | return VPORT_OK; | 378 | return VPORT_OK; |
375 | } | 379 | } |
376 | 380 | ||
@@ -408,7 +412,8 @@ enable_vport(struct fc_vport *fc_vport) | |||
408 | } else { | 412 | } else { |
409 | lpfc_vport_set_state(vport, FC_VPORT_FAILED); | 413 | lpfc_vport_set_state(vport, FC_VPORT_FAILED); |
410 | } | 414 | } |
411 | 415 | lpfc_printf_vlog(vport, KERN_ERR, LOG_VPORT, | |
416 | "1827 Vport Enabled.\n"); | ||
412 | return VPORT_OK; | 417 | return VPORT_OK; |
413 | } | 418 | } |
414 | 419 | ||
@@ -511,7 +516,8 @@ skip_logo: | |||
511 | spin_lock_irq(&phba->hbalock); | 516 | spin_lock_irq(&phba->hbalock); |
512 | list_del_init(&vport->listentry); | 517 | list_del_init(&vport->listentry); |
513 | spin_unlock_irq(&phba->hbalock); | 518 | spin_unlock_irq(&phba->hbalock); |
514 | 519 | lpfc_printf_vlog(vport, KERN_ERR, LOG_VPORT, | |
520 | "1828 Vport Deleted.\n"); | ||
515 | rc = VPORT_OK; | 521 | rc = VPORT_OK; |
516 | out: | 522 | out: |
517 | scsi_host_put(shost); | 523 | scsi_host_put(shost); |