diff options
-rw-r--r-- | drivers/block/cciss.c | 2 | ||||
-rw-r--r-- | drivers/block/cciss.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 3b557231e1d3..b9f8658341cc 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -4353,7 +4353,7 @@ static __devinit int cciss_message(struct pci_dev *pdev, unsigned char opcode, u | |||
4353 | tag = readl(vaddr + SA5_REPLY_PORT_OFFSET); | 4353 | tag = readl(vaddr + SA5_REPLY_PORT_OFFSET); |
4354 | if ((tag & ~3) == paddr32) | 4354 | if ((tag & ~3) == paddr32) |
4355 | break; | 4355 | break; |
4356 | schedule_timeout_uninterruptible(HZ); | 4356 | msleep(CCISS_POST_RESET_NOOP_TIMEOUT_MSECS); |
4357 | } | 4357 | } |
4358 | 4358 | ||
4359 | iounmap(vaddr); | 4359 | iounmap(vaddr); |
diff --git a/drivers/block/cciss.h b/drivers/block/cciss.h index 21ec628ef700..16b4d58d84dd 100644 --- a/drivers/block/cciss.h +++ b/drivers/block/cciss.h | |||
@@ -209,8 +209,9 @@ struct ctlr_info | |||
209 | ((CCISS_BOARD_NOT_READY_WAIT_SECS * 1000) / \ | 209 | ((CCISS_BOARD_NOT_READY_WAIT_SECS * 1000) / \ |
210 | CCISS_BOARD_READY_POLL_INTERVAL_MSECS) | 210 | CCISS_BOARD_READY_POLL_INTERVAL_MSECS) |
211 | #define CCISS_POST_RESET_PAUSE_MSECS (3000) | 211 | #define CCISS_POST_RESET_PAUSE_MSECS (3000) |
212 | #define CCISS_POST_RESET_NOOP_INTERVAL_MSECS (1000) | 212 | #define CCISS_POST_RESET_NOOP_INTERVAL_MSECS (4000) |
213 | #define CCISS_POST_RESET_NOOP_RETRIES (12) | 213 | #define CCISS_POST_RESET_NOOP_RETRIES (12) |
214 | #define CCISS_POST_RESET_NOOP_TIMEOUT_MSECS (10000) | ||
214 | 215 | ||
215 | /* | 216 | /* |
216 | Send the command to the hardware | 217 | Send the command to the hardware |