]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r321589
authormarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 6 Aug 2017 16:12:56 +0000 (16:12 +0000)
committermarius <marius@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sun, 6 Aug 2017 16:12:56 +0000 (16:12 +0000)
commitf5b3ed94e066ceac5d3c8dfe608a5b55db1ac39c
treead6acb91935d3f683b109e87f835208646dda0a5
parenta6763dbd675e8310d963b627a358ab1ffbb23dbd
MFC: r321589

- Check the slot type capability, set SDHCI_SLOT_{EMBEDDED,NON_REMOVABLE}
  for embedded slots. Fail in the sdhci(4) initialization for slot type
  shared, which is completely unsupported by this driver at the moment. [1]
  For Intel eMMC controllers, taking the embedded slot type into account
  obsoltes setting SDHCI_QUIRK_ALL_SLOTS_NON_REMOVABLE so remove these quirk
  entries.
- Hide the 1.8 V VDD capability when the slot is detected as non-embedded,
  as the SDHCI specification explicitly states that 1.8 V VDD is applicable
  to embedded slots only. [2]
- Define some easy bits of the SDHCI specification v4.20. [3]
- Don't leak bus_dma(9) resources in failure paths of sdhci_init_slot().

Obtained from: DragonFlyBSD 65704a46 [1], 7ba10b88 [2], 0df14648 [3]

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