[SCSI] qla2xxx: Log fcport state transitions when debug messages are enabled.
authorChad Dupuis <chad.dupuis@qlogic.com>
Wed, 30 Mar 2011 18:46:32 +0000 (11:46 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 1 May 2011 15:14:42 +0000 (10:14 -0500)
commitec426e106c410b000ac590b6e776d5a6cd9bccd9
tree214b0e2c5935b2ea2143bf993b86799429427f70
parenta4f92a32a0fb827f7bd40c69f021cf57d3dc4249
[SCSI] qla2xxx: Log fcport state transitions when debug messages are enabled.

Add the inline function qla2x00_set_port_state() so that when a fcport state
transition happens we can log the state transition if debug messages are
enabled.

Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Madhuranath Iyengar <Madhu.Iyengar@qlogic.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla2xxx/qla_attr.c
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_inline.h
drivers/scsi/qla2xxx/qla_mid.c
drivers/scsi/qla2xxx/qla_os.c