summaryrefslogtreecommitdiff
path: root/drivers/mmc/sdhci.h
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2006-06-30 09:22:31 (GMT)
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-07-02 15:54:56 (GMT)
commit6743527441430586aa82a0dee1b2700a2a974ebc (patch)
tree6977160737a9d300c236bde53fb8ca5535e8bafb /drivers/mmc/sdhci.h
parentd96649ed5ace812ffc8d86252d7c663326ca47f8 (diff)
downloadlinux-fsl-qoriq-6743527441430586aa82a0dee1b2700a2a974ebc.tar.xz
[MMC] sdhci: more DMA capabilities tests
Properly test for controller interface to see if it's DMA capable. As many controllers are misconfigured in this regard, also add debug parameters to force DMA support either way. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'drivers/mmc/sdhci.h')
-rw-r--r--drivers/mmc/sdhci.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/mmc/sdhci.h b/drivers/mmc/sdhci.h
index 758cf1c..8111fa3 100644
--- a/drivers/mmc/sdhci.h
+++ b/drivers/mmc/sdhci.h
@@ -12,6 +12,10 @@
* PCI registers
*/
+#define PCI_SDHCI_IFPIO 0x00
+#define PCI_SDHCI_IFDMA 0x01
+#define PCI_SDHCI_IFVENDOR 0x02
+
#define PCI_SLOT_INFO 0x40 /* 8 bits */
#define PCI_SLOT_INFO_SLOTS(x) ((x >> 4) & 7)
#define PCI_SLOT_INFO_FIRST_BAR_MASK 0x07