[SCSI] aacraid: change srb status busy return
authorSalyzyn, Mark <mark_salyzyn@adaptec.com>
Tue, 19 Jun 2007 15:41:21 +0000 (11:41 -0400)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 20 Jun 2007 02:54:29 +0000 (19:54 -0700)
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>
drivers/scsi/aacraid/aachba.c

index b3081b10d0a382ca4103e1de132a6a040e6cafbe..6345dbe33c197668b91125ae03aff1b3c28b8ac3 100644 (file)
@@ -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: