From 374a00392853db6fac4ec4c93139873a368a78af Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kristian=20H=C3=B8gsberg?= Date: Tue, 6 Feb 2007 14:49:36 -0500 Subject: [PATCH] firewire: Complete SCSI commands with DID_BUS_BUSY when a bus reset happens. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 file changed, 1 insertion(+), 1 deletion(-) 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) * 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, -- 2.30.2