summaryrefslogtreecommitdiff
path: root/sys/dev/sdmmc/sdmmcreg.h
diff options
context:
space:
mode:
authorRaphael Graf <rapha@cvs.openbsd.org>2014-09-23 12:08:14 +0000
committerRaphael Graf <rapha@cvs.openbsd.org>2014-09-23 12:08:14 +0000
commitf2bb874073ea96763592128e60c52f29680d663b (patch)
tree87d31297eee5261e380f4d5b58019266dfae5f66 /sys/dev/sdmmc/sdmmcreg.h
parentf1c9e193f5e4245788a169307c088d1963b38258 (diff)
Fix high capacity (> 2GB) eMMC support.
Based on a diff by Cedric Tessier, nezetic at gmail dot com, thanks! Discussed with and ok jsg@
Diffstat (limited to 'sys/dev/sdmmc/sdmmcreg.h')
-rw-r--r--sys/dev/sdmmc/sdmmcreg.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sdmmc/sdmmcreg.h b/sys/dev/sdmmc/sdmmcreg.h
index 99660761c7f..7807f3b76ea 100644
--- a/sys/dev/sdmmc/sdmmcreg.h
+++ b/sys/dev/sdmmc/sdmmcreg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: sdmmcreg.h,v 1.5 2013/09/12 11:54:04 rapha Exp $ */
+/* $OpenBSD: sdmmcreg.h,v 1.6 2014/09/23 12:08:13 rapha Exp $ */
/*
* Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org>
@@ -95,6 +95,7 @@
#define EXT_CSD_REV 192 /* RO */
#define EXT_CSD_STRUCTURE 194 /* RO */
#define EXT_CSD_CARD_TYPE 196 /* RO */
+#define EXT_CSD_SEC_COUNT 212 /* RO */
/* EXT_CSD field definitions */
#define EXT_CSD_CMD_SET_NORMAL (1U << 0)