sdhci - Add tunables for disabling SDMA and/or ADMA2, and for testing ADMA2.
commit4f67f60c4bb0b4069004adf218f9e21cdfc384bf
authorImre Vadász <imre@vdsz.com>
Fri, 6 Jan 2017 21:53:26 +0000 (6 22:53 +0100)
committerImre Vadász <imre@vdsz.com>
Sun, 14 May 2017 15:38:34 +0000 (14 17:38 +0200)
tree77738ecbd6536f95c1ed49d4dd11aabb5233ddfa
parent6bdaa92f00c576cae5e1c3ef2f03e447937c8884
sdhci - Add tunables for disabling SDMA and/or ADMA2, and for testing ADMA2.

* Also document hw.sdhci.debug tunable while there.

* Limit ADMA2 support to the already tested and working Intel sdhci
  controllers for now. Currently we only explicitly match against the Intel
  models in sdhci_acpi(4).
  XXX sdhci_pci(4) should explicitly match against the Intel sdhci
      controllers as well to whitelist ADMA2 support, via the
      SDHCI_QUIRK_WHITELIST_ADMA2 flag.

* For testing on not-yet whitelisted models, add the hw.sdhci.adma2_test
  tunable to skip the whitelist check.
share/man/man4/sdhci.4
sys/dev/disk/sdhci/sdhci.c
sys/dev/disk/sdhci/sdhci.h
sys/dev/disk/sdhci/sdhci_acpi.c