On Fri, Jan 10, 2020 at 05:55:14PM -0600, Scott Cheloha wrote:
> Here the timeout constants are all in terms of seconds. We can change
> the input unit of the wait functions from hz to seconds and then
> convert as needed.
> sdhc_wait_intr_cold() uses delay(9), so convert to microseconds.
> sdhc_wait_intr() (now) uses tsleep_nsec(9), so convert to nanoseconds.
> I've sprinkled in some name changes and intermediate variables to make
> the units in use more obvious.