projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
993baca
)
firewire: Complete SCSI commands with DID_BUS_BUSY when a bus reset happens.
author
Kristian Høgsberg
<krh@redhat.com>
Tue, 6 Feb 2007 19:49:36 +0000
(14:49 -0500)
committer
Stefan Richter
<stefanr@s5r6.in-berlin.de>
Fri, 9 Mar 2007 21:02:53 +0000
(22:02 +0100)
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>
drivers/firewire/fw-sbp2.c
patch
|
blob
|
history
diff --git
a/drivers/firewire/fw-sbp2.c
b/drivers/firewire/fw-sbp2.c
index 432c35aefc12b612f405183fb43e9fdeefe29a2b..bd64e18746854c8bc7cd8a481d1facf06ee806dc 100644
(file)
--- 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,