Skip to contentSkip to conversation

mmc: add card quirks support

PATCH In review Ohad Ben-Cohen 1 participant 1 message Aug 26, 2009 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 mmc: add card quirks support

From: Ohad Ben-Cohen <[email protected]>

A card quirks field is added to support non-standard devices (e.g. embedded sdio devices).

---
 include/linux/mmc/card.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
include/linux/mmc/card.h +1 -0
index 403aa50..eac86fe 100644
@@ -94,6 +94,7 @@ struct mmc_card {
 #define MMC_STATE_READONLY	(1<<1)		/* card is read-only */
 #define MMC_STATE_HIGHSPEED	(1<<2)		/* card is in high speed mode */
 #define MMC_STATE_BLOCKADDR	(1<<3)		/* card uses block-addressing */
+	unsigned int		quirks; 	/* card quirks */
 
 	u32			raw_cid[4];	/* raw card CID */
 	u32			raw_csd[4];	/* raw card CSD */
Signature · 1 line
1.5.4.3