sdhci - Check slot type cap, set SDHCI_SLOT_EMBEDDED for an embedded slot.
commit65704a461e67d0885686e24d2771810d2485c9b4
authorImre Vadász <imre@vdsz.com>
Tue, 17 Jan 2017 23:12:05 +0000 (18 00:12 +0100)
committerImre Vadász <imre@vdsz.com>
Sun, 14 May 2017 16:56:55 +0000 (14 18:56 +0200)
tree8d5b3b2eee7f1a4cdce5c93d7e279b5e2870f75a
parent4f67f60c4bb0b4069004adf218f9e21cdfc384bf
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.
sys/dev/disk/sdhci/sdhci.c
sys/dev/disk/sdhci/sdhci.h
sys/dev/disk/sdhci/sdhci_pci.c