cciss: fix board status waiting code
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Fri, 22 Oct 2010 19:21:07 +0000 (14:21 -0500)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 23 Oct 2010 16:45:06 +0000 (18:45 +0200)
commitafa842fa641e11a025725883b04d1e144e6bad39
tree3cb94bba43974ac3eac1f63ebd96ba1d743bb715
parent53c2eb24ff49abe1bfc45d067797f74b409690d8
cciss: 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.

Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
drivers/block/cciss.c
drivers/block/cciss.h