From: =?utf-8?q?Kristian_H=C3=B8gsberg?= Subject: [PATCH 7/11] firewire: Complete SCSI commands with DID_BUS_BUSY when a bus reset happens. Date: Tue, 6 Feb 2007 14:49:36 -0500 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 Signed-off-by: Stefan Richter --- 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 432c35a..bd64e18 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, -- 1.4.4.2