diff options
author | scameron@beardog.cca.cpqcorp.net <scameron@beardog.cca.cpqcorp.net> | 2009-06-08 17:07:45 -0400 |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2009-06-08 23:47:43 -0400 |
commit | 85cc61ae41084cb6d8ecc6c9e01ac4563005c8ac (patch) | |
tree | 46cdea00cdac692292f5997fdce2c8b4cac983f9 /drivers/block/cciss.c | |
parent | 789a424ad1352b335960e7c56494d0410577fa61 (diff) |
cciss: change SCSI error handling routines to work with interrupts enabled.
Change cciss scsi error handling routines to work with interrupts enabled.
Signed-off-by: Stephen M. Cameron <scameron@beardog.cca.cpqcorp.net>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/block/cciss.c')
-rw-r--r-- | drivers/block/cciss.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 700170711061..9a9db6deefcd 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -184,6 +184,9 @@ static int sendcmd(__u8 cmd, int ctlr, void *buff, size_t size, | |||
184 | static int sendcmd_withirq(__u8 cmd, int ctlr, void *buff, size_t size, | 184 | static int sendcmd_withirq(__u8 cmd, int ctlr, void *buff, size_t size, |
185 | __u8 page_code, unsigned char scsi3addr[], | 185 | __u8 page_code, unsigned char scsi3addr[], |
186 | int cmd_type); | 186 | int cmd_type); |
187 | static int sendcmd_withirq_core(ctlr_info_t *h, CommandList_struct *c, | ||
188 | int attempt_retry); | ||
189 | static int process_sendcmd_error(ctlr_info_t *h, CommandList_struct *c); | ||
187 | 190 | ||
188 | static void fail_all_cmds(unsigned long ctlr); | 191 | static void fail_all_cmds(unsigned long ctlr); |
189 | static int scan_thread(void *data); | 192 | static int scan_thread(void *data); |