freebsd-dev/sys/dev/sdhci
Luiz Otavio O Souza ba6fc1c73c Raise the SDHCI timeout to 10 seconds and add a sysctl to allow changing
this value at runtime.

The SD card specification says that a block write or a block erase can take
up to 250ms to complete and thus, under some circumstances, the existent 2
seconds timeout was triggering with normal usage.

This change fixes the sporadic controller timeout that happens on RPi and
RPi 2.

Discussed with:		ian (some time ago)
2015-05-21 20:09:36 +00:00
..
sdhci_fdt.c - Nuke unused sdhci_softc. 2014-08-31 17:56:54 +00:00
sdhci_if.m - Nuke unused sdhci_softc. 2014-08-31 17:56:54 +00:00
sdhci_pci.c - Switching the mode of Ricoh R5CE823 to SD2.0 causes their PCI device ID 2014-12-31 16:06:26 +00:00
sdhci.c Raise the SDHCI timeout to 10 seconds and add a sysctl to allow changing 2015-05-21 20:09:36 +00:00
sdhci.h Raise the SDHCI timeout to 10 seconds and add a sysctl to allow changing 2015-05-21 20:09:36 +00:00