Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2014 22:25:08 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r261814 - head/sys/dev/sdhci
Message-ID:  <201402122225.s1CMP8D2020618@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402122225.s1CMP8D2020618>