ieee1394: sbp2: better handling of transport errors
authorStefan Richter <stefanr@s5r6.in-berlin.de>
Mon, 14 Aug 2006 16:51:00 +0000 (18:51 +0200)
committerStefan Richter <stefanr@s5r6.in-berlin.de>
Sun, 17 Sep 2006 17:34:37 +0000 (19:34 +0200)
commitabbca103a02ff0e87569c38be518f9cb2d6baabc
treec22b0cffd7cd35e1f6760562dd584826b2c437f0
parent4fc383c09d14783ca7d7e97e2134abbe7dc43230
ieee1394: sbp2: better handling of transport errors

If the target signals a transport failure via status block, complete the
request with DID_BUSY to indicate to the SCSI subsystem that the command
may succeed when retried.

Also log diagnostic information if the status block shows a transport
related problem.  It may point to hardware faults.

Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
drivers/ieee1394/sbp2.c
drivers/ieee1394/sbp2.h