1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-28 11:57:28 +00:00

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.
This commit is contained in:
Ian Lepore 2013-08-16 19:44:49 +00:00
parent ceb9e9f70d
commit 54c665855d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=254424

View File

@ -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