aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/lpfc/lpfc.h
diff options
context:
space:
mode:
authorJames Smart <James.Smart@Emulex.Com>2007-08-02 11:10:09 -0400
committerJames Bottomley <jejb@mulgrave.localdomain>2007-08-01 13:21:26 -0400
commite8b62011d88d6fdba585fb2bb77c9274a63cadab (patch)
tree838c3abee73ec571456ae3ae83e51ecbed8e4a64 /drivers/scsi/lpfc/lpfc.h
parent3de2a653a127c468284c48e233719dc39769e354 (diff)
[SCSI] lpfc 8.2.2 : Rework the lpfc_printf_log() macro
Rework the lpfc_printf_log() macro so that logging is enabled on a per-vport basis. Used to be on a physical-port basis, thus logging with large numbers of vports became a mess. Required redefinition of the macro, and an update of every use. Signed-off-by: James Smart <James.Smart@emulex.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/lpfc/lpfc.h')
-rw-r--r--drivers/scsi/lpfc/lpfc.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/lpfc/lpfc.h b/drivers/scsi/lpfc/lpfc.h
index fb56ff9d5da2..5a76d2b4253b 100644
--- a/drivers/scsi/lpfc/lpfc.h
+++ b/drivers/scsi/lpfc/lpfc.h
@@ -349,6 +349,7 @@ struct lpfc_vport {
349 uint32_t cfg_use_adisc; 349 uint32_t cfg_use_adisc;
350 uint32_t cfg_fdmi_on; 350 uint32_t cfg_fdmi_on;
351 uint32_t cfg_discovery_threads; 351 uint32_t cfg_discovery_threads;
352 uint32_t cfg_log_verbose;
352 uint32_t cfg_max_luns; 353 uint32_t cfg_max_luns;
353 354
354 uint32_t dev_loss_tmo_changed; 355 uint32_t dev_loss_tmo_changed;
@@ -446,8 +447,6 @@ struct lpfc_hba {
446 uint64_t cfg_soft_wwpn; 447 uint64_t cfg_soft_wwpn;
447 uint32_t cfg_hba_queue_depth; 448 uint32_t cfg_hba_queue_depth;
448 449
449 /* Config paramters that should be in the vport */
450 uint32_t cfg_log_verbose;
451 450
452 lpfc_vpd_t vpd; /* vital product data */ 451 lpfc_vpd_t vpd; /* vital product data */
453 452