diff options
author | Richard Röjfors <richard.rojfors@mocean-labs.com> | 2009-09-22 19:45:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 10:39:38 -0400 |
commit | a13abc7b0814da7733c531453a207729b542ecf8 (patch) | |
tree | d79f576744191044e0f6f77d430c182e52f27fdf /drivers/mmc/host/sdhci-pci.c | |
parent | 996ad5686c5f868e67557cc1bfcb2cfdde1a18b4 (diff) |
sdhci: support for ADMA only hosts
Add support for ADMA on SDHCI hosts, not supporting SDMA.
According to the SDHCI specifications a host can support ADMA but not SDMA
Signed-off-by: Richard Röjfors <richard.rojfors@mocean-labs.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/mmc/host/sdhci-pci.c')
-rw-r--r-- | drivers/mmc/host/sdhci-pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c index 63b9d2a6a452..e0356644d1aa 100644 --- a/drivers/mmc/host/sdhci-pci.c +++ b/drivers/mmc/host/sdhci-pci.c | |||
@@ -396,7 +396,7 @@ static int sdhci_pci_enable_dma(struct sdhci_host *host) | |||
396 | 396 | ||
397 | if (((pdev->class & 0xFFFF00) == (PCI_CLASS_SYSTEM_SDHCI << 8)) && | 397 | if (((pdev->class & 0xFFFF00) == (PCI_CLASS_SYSTEM_SDHCI << 8)) && |
398 | ((pdev->class & 0x0000FF) != PCI_SDHCI_IFDMA) && | 398 | ((pdev->class & 0x0000FF) != PCI_SDHCI_IFDMA) && |
399 | (host->flags & SDHCI_USE_DMA)) { | 399 | (host->flags & SDHCI_USE_SDMA)) { |
400 | dev_warn(&pdev->dev, "Will use DMA mode even though HW " | 400 | dev_warn(&pdev->dev, "Will use DMA mode even though HW " |
401 | "doesn't fully claim to support it.\n"); | 401 | "doesn't fully claim to support it.\n"); |
402 | } | 402 | } |