sata_fsl: Defer non-ncq commands when ncq commands active
authorAshish Kalra <Ashish.Kalra@freescale.com>
Wed, 29 Jul 2009 15:45:49 +0000 (21:15 +0530)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 9 Sep 2009 01:24:32 +0000 (21:24 -0400)
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>
drivers/ata/sata_fsl.c

index 94eaa432c40a640a883546db805bf43e2ffb88ab..d344db42a00251cb4b1206672ad6c453927d7463 100644 (file)
@@ -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,
This page took 0.038868 seconds and 5 git commands to generate.