[SCSI] sas_ata: Don't copy aic94xx's sactive to ata_port
authorDarrick J. Wong <djwong@us.ibm.com>
Tue, 30 Jan 2007 09:18:44 +0000 (01:18 -0800)
committerJames Bottomley <jejb@mulgrave.localdomain>
Wed, 18 Jul 2007 16:15:20 +0000 (11:15 -0500)
commit38691593cda9674f41d8708eaa73b0b7e14e95c3
tree49deec786e646fc48175d45f4dc6df8a104c7078
parent1c50dc83f9ca752b1e1b985f1ce33d2695103ffa
[SCSI] sas_ata: Don't copy aic94xx's sactive to ata_port

Since the aic94xx sequencer assigns its own NCQ tags to ATA commands, it
no longer makes any sense to copy the sactive field in the STP response
to ata_port->sactive, as that will confuse libata.  Also, libata seems
to be capable of managing sactive on its own.

The attached patch gets rid of one of the causes of the BUG messages in
ata_qc_new, and seems to work without problems on an IBM x206m.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/libsas/sas_ata.c