]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] hpsa: fix board status waiting code
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Thu, 6 Jan 2011 20:48:03 +0000 (14:48 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 24 Jan 2011 17:29:32 +0000 (11:29 -0600)
commit9936cbd98f6030681db18b52607e4f3c26b14e48
treef90be61b1f137562dd4748004304ad5d4b235865
parentd8f6147be27ca9edc78be8d6afefe80b3a3f8fe7
[SCSI] hpsa: fix board status waiting code

After a reset, we should first wait for the board to become "not ready",
and then wait for it to become "ready", instead of immediately
waiting for it to become "ready", and do this waiting *after*
restoring PCI config space registers.  Also, only wait 10 secs
for board to become "not ready" after a reset (it should quickly
become not ready.)

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/hpsa.c
drivers/scsi/hpsa.h