git: sdhci - Check slot type cap, set SDHCI_SLOT_EMBEDDED for an embedded slot.

Imre Vadasz ivadasz at crater.dragonflybsd.org
Sun May 14 10:03:09 PDT 2017


commit 65704a461e67d0885686e24d2771810d2485c9b4
Author: Imre Vadász <imre at vdsz.com>
Date:   Wed Jan 18 00:12:05 2017 +0100

    sdhci - Check slot type cap, set SDHCI_SLOT_EMBEDDED for an embedded slot.
    
    * Fail in sdhci(4) initialization for slot type shared, which is completely
      unsupported by this driver at the moment.
    
    * We shouldn't need to do any card insertion handling for embedded slots.
      XXX We could also do a couple of consistency checks, if the configuration
          selected by the driver actually makes sense for the slot type.

Summary of changes:
 sys/dev/disk/sdhci/sdhci.c     | 25 ++++++++++++++++++++++---
 sys/dev/disk/sdhci/sdhci.h     |  1 +
 sys/dev/disk/sdhci/sdhci_pci.c |  4 +++-
 3 files changed, 26 insertions(+), 4 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/65704a461e67d0885686e24d2771810d2485c9b4


-- 
DragonFly BSD source repository


More information about the Commits mailing list