diff options
author | ian <ian@FreeBSD.org> | 2014-02-12 22:25:08 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-02-12 22:25:08 +0000 |
commit | 9d42d0af5a3f2486ee16c9050d345cc94297ff9b (patch) | |
tree | d410ce2434de22bd36c84677597bbc5ab3d78315 /sys | |
parent | b1650f2d1e8163febcdbc126c3d61318a5a7597a (diff) | |
download | FreeBSD-src-9d42d0af5a3f2486ee16c9050d345cc94297ff9b.zip FreeBSD-src-9d42d0af5a3f2486ee16c9050d345cc94297ff9b.tar.gz |
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.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/sdhci/sdhci.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/sdhci/sdhci.h b/sys/dev/sdhci/sdhci.h index d136409..8ad2429 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 |