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
sdhci_if.m
sdhci_pci.c
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