From: Kristian Høgsberg Date: Tue, 6 Feb 2007 19:49:36 +0000 (-0500) Subject: firewire: Complete SCSI commands with DID_BUS_BUSY when a bus reset happens. X-Git-Tag: v2.6.22-rc1~111^2~96 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=374a00392853db6fac4ec4c93139873a368a78af;p=linux-2.6 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 Signed-off-by: Stefan Richter --- diff --git a/drivers/firewire/fw-sbp2.c b/drivers/firewire/fw-sbp2.c index 432c35aefc..bd64e18746 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,