aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/sdhci.h
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2006-06-30 05:22:29 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-07-02 11:54:53 -0400
commit4a9655051fb1efa568e53baf5dfb21e33bad6bf6 (patch)
tree4cafaf33d3d9c821f39c3604ebdeeb85c5b911ef /drivers/mmc/sdhci.h
parentfd2208d7c72ef5995b730f1e23b082261499e334 (diff)
[MMC] sdhci: check controller version
Check the interface version of the controller and bail out if it's an unknown version. 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 b1aa3acf0906..758cf1c24364 100644
--- a/drivers/mmc/sdhci.h
+++ b/drivers/mmc/sdhci.h
@@ -149,6 +149,10 @@
149#define SDHCI_SLOT_INT_STATUS 0xFC 149#define SDHCI_SLOT_INT_STATUS 0xFC
150 150
151#define SDHCI_HOST_VERSION 0xFE 151#define SDHCI_HOST_VERSION 0xFE
152#define SDHCI_VENDOR_VER_MASK 0xFF00
153#define SDHCI_VENDOR_VER_SHIFT 8
154#define SDHCI_SPEC_VER_MASK 0x00FF
155#define SDHCI_SPEC_VER_SHIFT 0
152 156
153struct sdhci_chip; 157struct sdhci_chip;
154 158