summaryrefslogtreecommitdiff
path: root/sys/dev/mmc
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2018-01-13 17:36:11 +0000
committerMarius Strobl <marius@FreeBSD.org>2018-01-13 17:36:11 +0000
commit9007ed84d64692794605fa99bbc7ff3b2371e4a1 (patch)
treee7c877636392803aa83883e5a39311f0cad80370 /sys/dev/mmc
parent8e14018389e473928a3001c5b512b90bbd73355f (diff)
Notes
Diffstat (limited to 'sys/dev/mmc')
-rw-r--r--sys/dev/mmc/mmc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mmc/mmc.c b/sys/dev/mmc/mmc.c
index 4c46158b87736..c75b7fd68d0e7 100644
--- a/sys/dev/mmc/mmc.c
+++ b/sys/dev/mmc/mmc.c
@@ -1868,7 +1868,7 @@ mmc_discover_cards(struct mmc_softc *sc)
* units of 10 ms), defaulting to 500 ms.
*/
ivar->cmd6_time = 500 * 1000;
- if (ivar->csd.spec_vers >= 6)
+ if (ivar->raw_ext_csd[EXT_CSD_REV] >= 6)
ivar->cmd6_time = 10 *
ivar->raw_ext_csd[EXT_CSD_GEN_CMD6_TIME];
/* Handle HC erase sector size. */