summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorPierre Ossman <drzeus@drzeus.cx>2007-06-11 20:25:43 +0200
committerPierre Ossman <drzeus@drzeus.cx>2007-09-23 20:12:18 +0200
commit35c66c19088bddb11110c124bad8abd4441a8421 (patch)
tree54f62d67396b50716945d7ef321097715bcc3365 /include/linux
parentfa64efa1f2a0672767ad0753a6e4bfa4bcc77b87 (diff)
downloadop-kernel-dev-35c66c19088bddb11110c124bad8abd4441a8421.zip
op-kernel-dev-35c66c19088bddb11110c124bad8abd4441a8421.tar.gz
sdio: read and decode interesting parts of the CCCR
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/mmc/card.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h
index 9f5f744..520d9d2 100644
--- a/include/linux/mmc/card.h
+++ b/include/linux/mmc/card.h
@@ -55,6 +55,16 @@ struct sd_switch_caps {
unsigned int hs_max_dtr;
};
+struct sdio_cccr {
+ unsigned int sdio_vsn;
+ unsigned int sd_vsn;
+ unsigned int multi_block:1,
+ low_speed:1,
+ wide_bus:1,
+ high_power:1,
+ high_speed:1;
+};
+
struct mmc_host;
struct sdio_func;
@@ -87,6 +97,7 @@ struct mmc_card {
struct sd_switch_caps sw_caps; /* switch (CMD6) caps */
unsigned int sdio_funcs; /* number of SDIO functions */
+ struct sdio_cccr cccr; /* common card info */
struct sdio_func *sdio_func[SDIO_MAX_FUNCS]; /* SDIO functions (devices) */
};
OpenPOWER on IntegriCloud