svn commit: r261814 - head/sys/dev/sdhci

Ian Lepore ian at FreeBSD.org
Wed Feb 12 22:25:08 UTC 2014


Author: ian
Date: Wed Feb 12 22:25:08 2014
New Revision: 261814
URL: http://svnweb.freebsd.org/changeset/base/261814

Log:
  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.

Modified:
  head/sys/dev/sdhci/sdhci.h

Modified: head/sys/dev/sdhci/sdhci.h
==============================================================================
--- head/sys/dev/sdhci/sdhci.h	Wed Feb 12 21:10:40 2014	(r261813)
+++ head/sys/dev/sdhci/sdhci.h	Wed Feb 12 22:25:08 2014	(r261814)
@@ -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


More information about the svn-src-head mailing list