diff options
author | Dave Kleikamp <shaggy@austin.ibm.com> | 2005-06-20 09:44:00 -0400 |
---|---|---|
committer | Dave Kleikamp <shaggy@austin.ibm.com> | 2005-06-20 09:44:00 -0400 |
commit | d039ba24f135147f60a13bcaa768189a5b773b6e (patch) | |
tree | 444b7596ab8312b5954d15c3135052a7c09c6fbe /drivers/scsi/wd7000.c | |
parent | 72e3148a6e987974e3e949c5668e5ca812d7c818 (diff) | |
parent | 8b22c249e7de453961e4d253b19fc2a0bdd65d53 (diff) |
Merge with /home/shaggy/git/linus-clean/
Diffstat (limited to 'drivers/scsi/wd7000.c')
-rw-r--r-- | drivers/scsi/wd7000.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/drivers/scsi/wd7000.c b/drivers/scsi/wd7000.c index bf4a758e2801..fb54a87a80a3 100644 --- a/drivers/scsi/wd7000.c +++ b/drivers/scsi/wd7000.c | |||
@@ -1586,9 +1586,16 @@ static int wd7000_host_reset(struct scsi_cmnd *SCpnt) | |||
1586 | { | 1586 | { |
1587 | Adapter *host = (Adapter *) SCpnt->device->host->hostdata; | 1587 | Adapter *host = (Adapter *) SCpnt->device->host->hostdata; |
1588 | 1588 | ||
1589 | if (wd7000_adapter_reset(host) < 0) | 1589 | spin_unlock_irq(SCpnt->device->host->host_lock); |
1590 | |||
1591 | if (wd7000_adapter_reset(host) < 0) { | ||
1592 | spin_unlock_irq(SCpnt->device->host->host_lock); | ||
1590 | return FAILED; | 1593 | return FAILED; |
1594 | } | ||
1595 | |||
1591 | wd7000_enable_intr(host); | 1596 | wd7000_enable_intr(host); |
1597 | |||
1598 | spin_unlock_irq(SCpnt->device->host->host_lock); | ||
1592 | return SUCCESS; | 1599 | return SUCCESS; |
1593 | } | 1600 | } |
1594 | 1601 | ||