diff options
author | Kristian Høgsberg <krh@redhat.com> | 2007-02-06 14:49:36 -0500 |
---|---|---|
committer | Stefan Richter <stefanr@s5r6.in-berlin.de> | 2007-03-09 16:02:53 -0500 |
commit | 374a00392853db6fac4ec4c93139873a368a78af (patch) | |
tree | 3af44bc0a6429993db229a2d7d162d88136b262a /drivers | |
parent | 993baca3dde7959567e3c7c262c2bc843ba241de (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')
-rw-r--r-- | drivers/firewire/fw-sbp2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c index 432c35aefc12..bd64e1874685 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) | |||
830 | * or when sending the write (less likely). */ | 830 | * or when sending the write (less likely). */ |
831 | fw_notify("no command orb status, rcode=%d\n", | 831 | fw_notify("no command orb status, rcode=%d\n", |
832 | orb->base.rcode); | 832 | orb->base.rcode); |
833 | result = DID_ERROR; | 833 | result = DID_BUS_BUSY; |
834 | } | 834 | } |
835 | 835 | ||
836 | dma_unmap_single(device->card->device, orb->base.request_bus, | 836 | dma_unmap_single(device->card->device, orb->base.request_bus, |