summaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.h
diff options
context:
space:
mode:
authorStephen M. Cameron <scameron@beardog.cce.hp.com>2010-07-19 13:46:17 -0500
committerJens Axboe <jaxboe@fusionio.com>2010-08-07 18:52:12 +0200
commit83123cb11b5a5205233c59357da2c8d9a8dc9d24 (patch)
tree6f74b67b9de4e59223efdeeb774ce17a1e7bf5d7 /drivers/block/cciss.h
parent8e93bf6d6c9c6d864c17b7743f2cc5f2e052fe46 (diff)
downloadlinux-83123cb11b5a5205233c59357da2c8d9a8dc9d24.tar.gz
linux-83123cb11b5a5205233c59357da2c8d9a8dc9d24.tar.bz2
linux-83123cb11b5a5205233c59357da2c8d9a8dc9d24.zip
cciss: factor out cciss_reset_devices()
cciss: factor out cciss_reset_devices() Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com> Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
Diffstat (limited to 'drivers/block/cciss.h')
-rw-r--r--drivers/block/cciss.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/block/cciss.h b/drivers/block/cciss.h
index c2ef9dd56c45..4290b7f0f639 100644
--- a/drivers/block/cciss.h
+++ b/drivers/block/cciss.h
@@ -204,6 +204,9 @@ struct ctlr_info
#define CCISS_BOARD_READY_ITERATIONS \
((CCISS_BOARD_READY_WAIT_SECS * 1000) / \
CCISS_BOARD_READY_POLL_INTERVAL_MSECS)
+#define CCISS_POST_RESET_PAUSE_MSECS (3000)
+#define CCISS_POST_RESET_NOOP_INTERVAL_MSECS (1000)
+#define CCISS_POST_RESET_NOOP_RETRIES (12)
/*
Send the command to the hardware