git: sdhci - Check slot type cap, set SDHCI_SLOT_EMBEDDED for an embedded slot.
ivadasz at crater.dragonflybsd.org
Sun May 14 10:03:09 PDT 2017
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(-)
DragonFly BSD source repository
More information about the Commits