Forráskód Böngészése

sata_fsl: Defer non-ncq commands when ncq commands active

Fix for non-ncq & ncq commands causing timeouts when both are issued
simultaneously to the same device.

Signed-off-by: Ashish Kalra <Ashish.Kalra@freescale.com>
[fixed to be actual compileable C code -jg]
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Ashish Kalra 16 éve
szülő
commit
f90f613c3e
1 módosított fájl, 1 hozzáadás és 0 törlés
  1. 1 0
      drivers/ata/sata_fsl.c

+ 1 - 0
drivers/ata/sata_fsl.c

@@ -1257,6 +1257,7 @@ static struct scsi_host_template sata_fsl_sht = {
 static struct ata_port_operations sata_fsl_ops = {
 	.inherits		= &sata_pmp_port_ops,
 
+	.qc_defer = ata_std_qc_defer,
 	.qc_prep = sata_fsl_qc_prep,
 	.qc_issue = sata_fsl_qc_issue,
 	.qc_fill_rtf = sata_fsl_qc_fill_rtf,