[SCSI] lpfc 8.2.2 : Rework the lpfc_printf_log() macro
authorJames Smart <James.Smart@Emulex.Com>
Thu, 2 Aug 2007 15:10:09 +0000 (11:10 -0400)
committerJames Bottomley <jejb@mulgrave.localdomain>
Wed, 1 Aug 2007 17:21:26 +0000 (12:21 -0500)
commite8b62011d88d6fdba585fb2bb77c9274a63cadab
tree838c3abee73ec571456ae3ae83e51ecbed8e4a64
parent3de2a653a127c468284c48e233719dc39769e354
[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>
13 files changed:
drivers/scsi/lpfc/lpfc.h
drivers/scsi/lpfc/lpfc_attr.c
drivers/scsi/lpfc/lpfc_ct.c
drivers/scsi/lpfc/lpfc_debugfs.c
drivers/scsi/lpfc/lpfc_els.c
drivers/scsi/lpfc/lpfc_hbadisc.c
drivers/scsi/lpfc/lpfc_init.c
drivers/scsi/lpfc/lpfc_logmsg.h
drivers/scsi/lpfc/lpfc_mbox.c
drivers/scsi/lpfc/lpfc_nportdisc.c
drivers/scsi/lpfc/lpfc_scsi.c
drivers/scsi/lpfc/lpfc_sli.c
drivers/scsi/lpfc/lpfc_vport.c