]> Pileus Git - ~andy/linux/blobdiff - drivers/mmc/host/sdhci.h
mmc: Test bus-width for old MMC devices
[~andy/linux] / drivers / mmc / host / sdhci.h
index 1efe7dc5255b7e29df7ef33f2a0083fb9fa9b881..6e0969e40650709c4e785267e63e8c1656f2a7b0 100644 (file)
@@ -52,6 +52,7 @@
 #define  SDHCI_CMD_RESP_SHORT_BUSY 0x03
 
 #define SDHCI_MAKE_CMD(c, f) (((c & 0xff) << 8) | (f & 0xff))
+#define SDHCI_GET_CMD(c) ((c>>8) & 0x3f)
 
 #define SDHCI_RESPONSE         0x10