git: sdhci - Add some missing register constants, and dump some more registers.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Mon Jan 9 08:48:17 PST 2017


commit 9e3c8f638d5b727702de7307fa42ceded5080c2d
Author: Imre Vadász <imre at vdsz.com>
Date:   Thu Jan 5 21:17:49 2017 +0100

    sdhci - Add some missing register constants, and dump some more registers.
    
    * Adds defines for 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_LOW
      registers in sdhci_dumpregs().

Summary of changes:
 sys/dev/disk/sdhci/sdhci.c | 12 ++++++++----
 sys/dev/disk/sdhci/sdhci.h | 30 ++++++++++++++++++++++++++++++
 2 files changed, 38 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/9e3c8f638d5b727702de7307fa42ceded5080c2d


-- 
DragonFly BSD source repository


More information about the Commits mailing list