linux/drivers/scsi/aacraid
Rajashekhara, Mahesh 1fc8010a5d [SCSI] aacraid: add support for handling ATA pass-through commands.
There are two conditions for ATA pass thru command that falls into
'SRB_STATUS_ERROR' condition.

1. When the "CC" bit is set by the host in ATA pass-through CDB

   - Even for the successful completion, SCSI target shall generate
     check condition.

   - Driver returns a result code of SAM_STAT_CHECK_CONDITION, with a
     driver byte of DID_OK to the mid layer.

     Below is the snippet of existing code which fills a result code
     of SAM_STAT_CHECK_CONDITION:

	***********************************
	        if (le32_to_cpu(srbreply->scsi_status) == SAM_STAT_CHECK_CONDITION) {
                		int len;
	               		scsicmd->result |= SAM_STAT_CHECK_CONDITION;
			..........
	************************************

2. When the "CC" bit is reset by the host and if SCSI target generates
   a check condition when an error occurs.

   - Driver returns a result code of SAM_STAT_CHECK_CONDITION, with a
     driver byte of DID_ERROR to the mid layer.

Signed-off-by: Mahesh Rajashekhara <aacraid@adaptec.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2010-05-16 22:40:40 -04:00
..
aachba.c [SCSI] aacraid: add support for handling ATA pass-through commands. 2010-05-16 22:40:40 -04:00
aacraid.h [SCSI] aacraid: respond automatically to volumes added by config tool 2010-05-16 22:28:04 -04:00
commctrl.c [SCSI] aacraid: fix File System going into read-only mode 2010-01-17 12:16:17 -06:00
comminit.c [SCSI] aacraid: fix File System going into read-only mode 2010-01-17 12:16:17 -06:00
commsup.c [SCSI] aacraid: respond automatically to volumes added by config tool 2010-05-16 22:28:04 -04:00
dpcsup.c [SCSI] aacraid: fix File System going into read-only mode 2010-01-17 12:16:17 -06:00
linit.c [SCSI] modify change_queue_depth to take in reason why it is being called 2009-12-04 12:00:41 -06:00
Makefile [SCSI] aacraid: Begin adding support for new adapter type 2007-01-27 09:27:31 -06:00
nark.c [SCSI] aacraid: draw line in sand, sundry cleanup and version update 2007-07-27 09:13:28 -04:00
rkt.c [SCSI] Clean up my email address and use a single standard address for everything 2008-12-29 11:24:12 -06:00
rx.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
sa.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
TODO