mmc: handle "high capacity' (>2GB) devices similarly to SDHC

A similar change was made to address sectors instead of bytes.
The detection method is different in the initialization sequence.

Change-Id: I38af6e21b720d4437594431964a5244fb0d80848
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10933
Reviewed-by: Adrien Destugues <[email protected]>
Tested-by: Commit checker robot <[email protected]>
This commit is contained in:
PulkoMandy
2026-05-07 07:22:21 +00:00
committed by Adrien Destugues
parent 0753e9eb5e
commit 1e9473f97e
3 changed files with 15 additions and 12 deletions
+1
View File
@@ -20,6 +20,7 @@ struct IOOperation;
typedef enum card_type {
CARD_TYPE_UNKNOWN,
CARD_TYPE_MMC,
CARD_TYPE_MMC_EXTENDED_CAPACITY,
CARD_TYPE_SD,
CARD_TYPE_SDHC,
CARD_TYPE_UHS1,