]> git.baikalelectronics.ru Git - kernel.git/commit
qla2xxx: Fix virtual port configuration, when switch port is disabled/enabled.
authorSawan Chandak <sawan.chandak@qlogic.com>
Thu, 9 Apr 2015 19:00:06 +0000 (15:00 -0400)
committerJames Bottomley <JBottomley@Odin.com>
Fri, 10 Apr 2015 15:42:58 +0000 (08:42 -0700)
commit80f5dd0e7f7a6d9b490cb9d4a63893eb6a369d4d
tree3dd1aa9a733cdb0d71bbd2bce5b20d95275d7e4b
parent5aefdccd627c17ef9aabf0ad4a3b17c6aba9e923
qla2xxx: Fix virtual port configuration, when switch port is disabled/enabled.

On some vendor switches, when switch port is toggled (down /up),
then in some condition driver tries to configure virtual port,
before FW is actually in ready state to process any commands on wire.
At this time, configuring virtual port can fail. Add fix in driver
to make driver wait, for FW to be ready state before

Signed-off-by: Sawan Chandak <sawan.chandak@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: James Bottomley <JBottomley@Odin.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_mid.c