summaryrefslogtreecommitdiffstats
path: root/sys/dev/mmc/mmcreg.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/mmc/mmcreg.h')
-rw-r--r--sys/dev/mmc/mmcreg.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/mmc/mmcreg.h b/sys/dev/mmc/mmcreg.h
index 6bd45fc..3aac296 100644
--- a/sys/dev/mmc/mmcreg.h
+++ b/sys/dev/mmc/mmcreg.h
@@ -351,4 +351,12 @@ struct mmc_csd
wp_grp_enable:1;
};
+/*
+ * Older versions of the MMC standard had a variable sector size. However,
+ * I've been able to find no old MMC or SD cards that have a non 512
+ * byte sector size anywhere, so we assume that such cards are very rare
+ * and only note their existance in passing here...
+ */
+#define MMC_SECTOR_SIZE 512
+
#endif /* DEV_MMCREG_H */
OpenPOWER on IntegriCloud