1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-20 11:11:24 +00:00
freebsd/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 - 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