freebsd-dev/sys/dev/sdhci
Ian Lepore a6873fd141 After a timeout, reset the controller using SDHCI_RESET_CMD|SDHCI_RESET_DATA
rather than SDHCI_RESET_ALL; the latter turns off clocks and power, removing
any possibility of recovering from the error.

Also, double the timeout to 2 seconds.  Despite what the SD spec says about
all transactions completing in 250ms or less, I have a card which sometimes
takes more than a second to complete a write.
2014-02-16 17:22:49 +00:00
..
sdhci_fdt.c Follow r261352 by updating all drivers which are children of simplebus 2014-02-02 19:17:28 +00:00
sdhci_if.m Add hooks for plugging platform-provided transfer backend. 2013-02-28 19:43:14 +00:00
sdhci_pci.c Use DEVMETHOD_END macro defined in sys/bus.h instead of {0, 0} sentinel on device_method_t arrays 2013-01-30 18:01:20 +00:00
sdhci.c After a timeout, reset the controller using SDHCI_RESET_CMD|SDHCI_RESET_DATA 2014-02-16 17:22:49 +00:00
sdhci.h Add timeout logic to sdhci, separate from the timeouts done by the hardware. 2014-02-15 20:45:53 +00:00