]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] libsas: fixup NCQ for SATA disks
authorJames Bottomley <James.Bottomley@steeleye.com>
Mon, 16 Oct 2006 18:25:30 +0000 (13:25 -0500)
committerJames Bottomley <jejb@mulgrave.localdomain>
Wed, 18 Jul 2007 16:14:33 +0000 (11:14 -0500)
commit47574c968c966826b401d78b6b7e4c7f8df01b4f
treebd4f8ceeb0d9d3c47a227d495f2d4ac918a24d6e
parentdd10731de7987150ca0688a277552f6da679aa86
[SCSI] libsas: fixup NCQ for SATA disks

We actually had two problems: the one with the tag (which is fixed by
zeroing the tag before sending the taskfile to the sequencer) but the
other with the fact that we sent our first NCQ command to the device
before the sequencer had been informed of the NCQ tagging
capabilities.  I fixed the latter by moving the rphy_add() to the
correct point in the code after the NCQ capabilities are set up.

Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/aic94xx/aic94xx_task.c
drivers/scsi/libsas/sas_discover.c
drivers/scsi/libsas/sas_scsi_host.c