diff options
author | Suman Tripathi <stripathi@apm.com> | 2014-08-08 12:14:25 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2014-08-17 07:24:43 -0400 |
commit | 72f79f9e35bd3f78ee8853f2fcacaa197d23ebac (patch) | |
tree | c7df41f3075732be46a87a05799b5939f22b80ed /drivers/ata | |
parent | 88ec63d6f85ccf40988ddae8b430dcb07355b29b (diff) |
ahci_xgene: Removing NCQ support from the APM X-Gene SoC AHCI SATA Host Controller driver.
This patch removes the NCQ support from the APM X-Gene SoC AHCI
Host Controller driver as it doesn't support it.
Signed-off-by: Loc Ho <lho@apm.com>
Signed-off-by: Suman Tripathi <stripathi@apm.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/ata')
-rw-r--r-- | drivers/ata/ahci_xgene.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ata/ahci_xgene.c b/drivers/ata/ahci_xgene.c index bc281115490b..c6962300b93c 100644 --- a/drivers/ata/ahci_xgene.c +++ b/drivers/ata/ahci_xgene.c | |||
@@ -344,7 +344,7 @@ static struct ata_port_operations xgene_ahci_ops = { | |||
344 | }; | 344 | }; |
345 | 345 | ||
346 | static const struct ata_port_info xgene_ahci_port_info = { | 346 | static const struct ata_port_info xgene_ahci_port_info = { |
347 | .flags = AHCI_FLAG_COMMON | ATA_FLAG_NCQ, | 347 | .flags = AHCI_FLAG_COMMON, |
348 | .pio_mask = ATA_PIO4, | 348 | .pio_mask = ATA_PIO4, |
349 | .udma_mask = ATA_UDMA6, | 349 | .udma_mask = ATA_UDMA6, |
350 | .port_ops = &xgene_ahci_ops, | 350 | .port_ops = &xgene_ahci_ops, |
@@ -480,7 +480,7 @@ static int xgene_ahci_probe(struct platform_device *pdev) | |||
480 | /* Configure the host controller */ | 480 | /* Configure the host controller */ |
481 | xgene_ahci_hw_init(hpriv); | 481 | xgene_ahci_hw_init(hpriv); |
482 | 482 | ||
483 | hpriv->flags = AHCI_HFLAG_NO_PMP | AHCI_HFLAG_YES_NCQ; | 483 | hpriv->flags = AHCI_HFLAG_NO_PMP | AHCI_HFLAG_NO_NCQ; |
484 | 484 | ||
485 | rc = ahci_platform_init_host(pdev, hpriv, &xgene_ahci_port_info); | 485 | rc = ahci_platform_init_host(pdev, hpriv, &xgene_ahci_port_info); |
486 | if (rc) | 486 | if (rc) |