Author: ian
Date: Fri Aug 16 19:44:49 2013
New Revision: 254424
URL: http://svnweb.freebsd.org/changeset/base/254424

Log:
  Add named constants for 8-bit bus support.  The sdhci and mmc drivers
  don't have support for this yet, but some low-level hardware is ready
  for it when the higher layers catch up.

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

Modified: head/sys/dev/sdhci/sdhci.h
==============================================================================
--- head/sys/dev/sdhci/sdhci.h  Fri Aug 16 19:40:00 2013        (r254423)
+++ head/sys/dev/sdhci/sdhci.h  Fri Aug 16 19:44:49 2013        (r254424)
@@ -120,6 +120,8 @@
 #define  SDHCI_CTRL_SDMA       0x08
 #define  SDHCI_CTRL_ADMA2      0x10
 #define  SDHCI_CTRL_ADMA264    0x18
+#define  SDHCI_CTRL_DMA_MASK   0x18
+#define  SDHCI_CTRL_8BITBUS    0x20
 #define  SDHCI_CTRL_CARD_DET   0x40
 #define  SDHCI_CTRL_FORCE_CARD 0x80
 
@@ -195,6 +197,7 @@
 #define  SDHCI_CLOCK_BASE_SHIFT        8
 #define  SDHCI_MAX_BLOCK_MASK  0x00030000
 #define  SDHCI_MAX_BLOCK_SHIFT  16
+#define  SDHCI_CAN_DO_8BITBUS  0x00040000
 #define  SDHCI_CAN_DO_ADMA2    0x00080000
 #define  SDHCI_CAN_DO_HISPD    0x00200000
 #define  SDHCI_CAN_DO_DMA      0x00400000
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to