freebsd-skq/sys/dev/sdhci
Ian Lepore 6e37fb2b62 Add a new sdhci interface method, get_card_present().
Many embedded SoC controllers that are (more or less) sdhci-compatible don't
implement card detect, and the related values in the PRESENT_STATE register
aren't useful.  A bridge driver can now implement get_card_present() to read
a gpio pin or whatever else is necessary for that system.

The default implementation reads the CARD_PRESENT bit from the PRESENT_STATE
register, so existing drivers will keep working (or keep not-fully-working,
since many drivers right now can't detect card insert/remove).
2017-01-08 02:32:53 +00:00
..
fsl_sdhci.c Since it's no longer accessing a powerpc-specific register, drop the #ifdef. 2016-11-02 23:44:30 +00:00
sdhci_fdt.c Fix fallout from r292180 (Dec 2015)... ensure that every driver which has 2016-03-21 00:52:24 +00:00
sdhci_if.m Add a new sdhci interface method, get_card_present(). 2017-01-08 02:32:53 +00:00
sdhci_pci.c Follow-up to r310340: Add missing "Intel" to description 2016-12-20 22:47:09 +00:00
sdhci.c Add a new sdhci interface method, get_card_present(). 2017-01-08 02:32:53 +00:00
sdhci.h Add a new sdhci interface method, get_card_present(). 2017-01-08 02:32:53 +00:00