aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ata
diff options
context:
space:
mode:
authorRob Herring <rob.herring@calxeda.com>2013-08-07 11:52:35 -0400
committerTejun Heo <tj@kernel.org>2013-08-09 12:08:32 -0400
commit404eafe137f858b21e2b57e3f980057ec8919fea (patch)
treeec52c383ed083db9aaa25adf624df051c30ab5e5 /drivers/ata
parent3d70a363d965ddb34678e33d5ab8d19ac5969aed (diff)
sata highbank: enable 64-bit DMA mask when using LPAE
Signed-off-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Mark Langsdorf <mark.langsdorf@calxeda.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/sata_highbank.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/ata/sata_highbank.c b/drivers/ata/sata_highbank.c
index d047d92a456f..5eb93de75e43 100644
--- a/drivers/ata/sata_highbank.c
+++ b/drivers/ata/sata_highbank.c
@@ -479,6 +479,9 @@ static int ahci_highbank_probe(struct platform_device *pdev)
479 if (hpriv->cap & HOST_CAP_PMP) 479 if (hpriv->cap & HOST_CAP_PMP)
480 pi.flags |= ATA_FLAG_PMP; 480 pi.flags |= ATA_FLAG_PMP;
481 481
482 if (hpriv->cap & HOST_CAP_64)
483 dma_set_coherent_mask(dev, DMA_BIT_MASK(64));
484
482 /* CAP.NP sometimes indicate the index of the last enabled 485 /* CAP.NP sometimes indicate the index of the last enabled
483 * port, at other times, that of the last possible port, so 486 * port, at other times, that of the last possible port, so
484 * determining the maximum port number requires looking at 487 * determining the maximum port number requires looking at