diff options
author | Mark Haverkamp <markh@osdl.org> | 2006-08-03 11:03:30 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-08-19 16:35:11 -0400 |
commit | 8c867b257d159ca04602d7087fa29f846785f9ea (patch) | |
tree | 4c95fc920744556d718b8d63371a6b525524cfbe /drivers/scsi/aacraid/commctrl.c | |
parent | 90ee346651524eb275405d410f5d3bb6765a2d93 (diff) |
[SCSI] aacraid: Reset adapter in recovery timeout
Received from Mark Salyzyn
If the adapter is in blinkled (Firmware Assert) when error recovery
timeout actions have been triggered, perform an adapter warm reset and
restart the initialization.
Signed-off-by: Mark Haverkamp <markh@osdl.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aacraid/commctrl.c')
-rw-r--r-- | drivers/scsi/aacraid/commctrl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/commctrl.c b/drivers/scsi/aacraid/commctrl.c index 14d7aa9b7df3..da1d3a9212f8 100644 --- a/drivers/scsi/aacraid/commctrl.c +++ b/drivers/scsi/aacraid/commctrl.c | |||
@@ -298,7 +298,7 @@ return_fib: | |||
298 | spin_unlock_irqrestore(&dev->fib_lock, flags); | 298 | spin_unlock_irqrestore(&dev->fib_lock, flags); |
299 | /* If someone killed the AIF aacraid thread, restart it */ | 299 | /* If someone killed the AIF aacraid thread, restart it */ |
300 | status = !dev->aif_thread; | 300 | status = !dev->aif_thread; |
301 | if (status && dev->queues && dev->fsa_dev) { | 301 | if (status && !dev->in_reset && dev->queues && dev->fsa_dev) { |
302 | /* Be paranoid, be very paranoid! */ | 302 | /* Be paranoid, be very paranoid! */ |
303 | kthread_stop(dev->thread); | 303 | kthread_stop(dev->thread); |
304 | ssleep(1); | 304 | ssleep(1); |