]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit - sys/dev/sdhci/sdhci.h
MFC: r315431
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 11 May 2017 21:13:06 +0000 (21:13 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 11 May 2017 21:13:06 +0000 (21:13 +0000)
commit2c4a82788724945ea5d39b616351c02df02b1506
treec8ed3a0f08367981d3e087e903ff793461f4831c
parent4b2f3989c028365201afccd9865fa38fb4dbe971
MFC: r315431

- Adds macros for the content of SDHCI_ADMA_ERR and SDHCI_HOST_CONTROL2
  registers.
- Add slot type capability bits. These bits should allow recognizing
  removable card slots, embedded cards and shared buses (shared bus
  supposedly is always comprised of non-removable cards).
- Dump CAPABILITIES2, ADMA_ERR, HOST_CONTROL2 and ADMA_ADDRESS_LO
  registers in sdhci_dumpregs().
- The drive type support flags in the CAPABILITIES2 register are for
  drive types A,C,D, drive type B is the default setting (value 0) of
  the drive strength field in the SDHCI_HOST_CONTROL2 register.

Obtained from: DragonFlyBSD (9e3c8f63455bd1b1)

git-svn-id: svn://svn.freebsd.org/base/stable/10@318200 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/dev/sdhci/sdhci.c
sys/dev/sdhci/sdhci.h