summaryrefslogtreecommitdiff
path: root/drivers/scsi
diff options
context:
space:
mode:
authorSalyzyn, Mark <mark_salyzyn@adaptec.com>2007-06-19 11:41:21 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2007-06-19 19:54:29 -0700
commit760af100d7cdf62d0929b11929465e4cfc694c5c (patch)
tree17e05b3ac4329c972320bcd58755ebc7c180242b /drivers/scsi
parent96249cf9847da57a147b30dfed88fe585d578970 (diff)
downloadlinux-3.10-760af100d7cdf62d0929b11929465e4cfc694c5c.tar.gz
linux-3.10-760af100d7cdf62d0929b11929465e4cfc694c5c.tar.bz2
linux-3.10-760af100d7cdf62d0929b11929465e4cfc694c5c.zip
[SCSI] aacraid: change srb status busy return
This patch is more like a spelling correction than a fix. It was discovered that if we had a busy status return from the Adapter for the SCSI srb command to a physical component, that we returned DID_NO_CONNECT rather than what one would expect DID_BUS_BUSY. Signed-off-by: Mark Salyzyn <aacraid@adaptec.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/aacraid/aachba.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c
index b3081b10d0a..6345dbe33c1 100644
--- a/drivers/scsi/aacraid/aachba.c
+++ b/drivers/scsi/aacraid/aachba.c
@@ -2266,7 +2266,7 @@ static void aac_srb_callback(void *context, struct fib * fibptr)
break;
case SRB_STATUS_BUSY:
- scsicmd->result = DID_NO_CONNECT << 16 | COMMAND_COMPLETE << 8;
+ scsicmd->result = DID_BUS_BUSY << 16 | COMMAND_COMPLETE << 8;
break;
case SRB_STATUS_BUS_RESET: