[SCSI] qla4xxx: Updated firmware ready timeout algorithm
authorVikas Chaudhary <vikas.chaudhary@qlogic.com>
Wed, 28 Apr 2010 06:10:37 +0000 (11:40 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 2 May 2010 19:39:38 +0000 (15:39 -0400)
commitc301b0266c65c8781361ca152981cff4fac05498
tree65a9d2b77242b63921f31369d3aae073c253f07c
parentc2393cd2dfdd435416cc097a70cc5f5e4f91a87e
[SCSI] qla4xxx: Updated firmware ready timeout algorithm

Updated firmware ready timeout algorithm to prevent
long delays and use jiffies to time out instead of
counter. Also use msleep_interruptible instead of msleep.

Signed-off-by: Karen Higgins <karen.higgins@qlogic.com>
Signed-off-by: Vikas Chaudhary <vikas.chaudhary@qlogic.com>
Signed-off-by: Ravi Anand <ravi.anand@qlogic.com>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/qla4xxx/ql4_init.c