summaryrefslogtreecommitdiffstats
path: root/drivers/firewire/fw-sbp2.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2007-02-06 14:49:36 -0500
committerStefan Richter <stefanr@s5r6.in-berlin.de>2007-03-09 22:02:53 +0100
commit374a00392853db6fac4ec4c93139873a368a78af (patch)
tree3af44bc0a6429993db229a2d7d162d88136b262a /drivers/firewire/fw-sbp2.c
parent993baca3dde7959567e3c7c262c2bc843ba241de (diff)
firewire: Complete SCSI commands with DID_BUS_BUSY when a bus reset happens.
This lets the SCSI stack retry the command when a SCSI command is interrupted by a FireWire bus reset. Signed-off-by: Kristian Høgsberg <krh@redhat.com> Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/fw-sbp2.c')
-rw-r--r--drivers/firewire/fw-sbp2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c
index 432c35aefc1..bd64e187468 100644
--- a/drivers/firewire/fw-sbp2.c
+++ b/drivers/firewire/fw-sbp2.c
@@ -830,7 +830,7 @@ complete_command_orb(struct sbp2_orb *base_orb, struct sbp2_status *status)
* or when sending the write (less likely). */
fw_notify("no command orb status, rcode=%d\n",
orb->base.rcode);
- result = DID_ERROR;
+ result = DID_BUS_BUSY;
}
dma_unmap_single(device->card->device, orb->base.request_bus,