aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lepore <ian@FreeBSD.org>2014-02-12 22:25:08 +0000
committerIan Lepore <ian@FreeBSD.org>2014-02-12 22:25:08 +0000
commit4c155ae194a7897e63e12790ac5b060aeef315eb (patch)
treed410ce2434de22bd36c84677597bbc5ab3d78315
parent5f3563b0a52e5e59e669f1134e3a0eb65a0032d6 (diff)
downloadsrc-4c155ae194a7897e63e12790ac5b060aeef315eb.tar.gz
src-4c155ae194a7897e63e12790ac5b060aeef315eb.zip
Fix the definition of the SDHCI_STATE_DAT and SDHCI_STATE_CMD fields, and
add SDHCI_RETUNE_REQUEST. None of these are actually used in the code yet.
Notes
Notes: svn path=/head/; revision=261814
-rw-r--r--sys/dev/sdhci/sdhci.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/sdhci/sdhci.h b/sys/dev/sdhci/sdhci.h
index d13640933f47..8ad242921cd2 100644
--- a/sys/dev/sdhci/sdhci.h
+++ b/sys/dev/sdhci/sdhci.h
@@ -104,6 +104,7 @@
#define SDHCI_CMD_INHIBIT 0x00000001
#define SDHCI_DAT_INHIBIT 0x00000002
#define SDHCI_DAT_ACTIVE 0x00000004
+#define SDHCI_RETUNE_REQUEST 0x00000008
#define SDHCI_DOING_WRITE 0x00000100
#define SDHCI_DOING_READ 0x00000200
#define SDHCI_SPACE_AVAILABLE 0x00000400
@@ -112,8 +113,8 @@
#define SDHCI_CARD_STABLE 0x00020000
#define SDHCI_CARD_PIN 0x00040000
#define SDHCI_WRITE_PROTECT 0x00080000
-#define SDHCI_STATE_DAT 0x00700000
-#define SDHCI_STATE_CMD 0x00800000
+#define SDHCI_STATE_DAT_MASK 0x00f00000
+#define SDHCI_STATE_CMD 0x01000000
#define SDHCI_HOST_CONTROL 0x28
#define SDHCI_CTRL_LED 0x01