diff options
| author | Pierre Ossman <drzeus@drzeus.cx> | 2007-06-11 14:25:43 -0400 |
|---|---|---|
| committer | Pierre Ossman <drzeus@drzeus.cx> | 2007-09-23 14:12:18 -0400 |
| commit | 35c66c19088bddb11110c124bad8abd4441a8421 (patch) | |
| tree | 54f62d67396b50716945d7ef321097715bcc3365 /include/linux | |
| parent | fa64efa1f2a0672767ad0753a6e4bfa4bcc77b87 (diff) | |
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.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/linux/mmc/card.h b/include/linux/mmc/card.h index 9f5f74482d98..520d9d29b3b2 100644 --- a/include/linux/mmc/card.h +++ b/include/linux/mmc/card.h | |||
| @@ -55,6 +55,16 @@ struct sd_switch_caps { | |||
| 55 | unsigned int hs_max_dtr; | 55 | unsigned int hs_max_dtr; |
| 56 | }; | 56 | }; |
| 57 | 57 | ||
| 58 | struct sdio_cccr { | ||
| 59 | unsigned int sdio_vsn; | ||
| 60 | unsigned int sd_vsn; | ||
| 61 | unsigned int multi_block:1, | ||
| 62 | low_speed:1, | ||
| 63 | wide_bus:1, | ||
| 64 | high_power:1, | ||
| 65 | high_speed:1; | ||
| 66 | }; | ||
| 67 | |||
| 58 | struct mmc_host; | 68 | struct mmc_host; |
| 59 | struct sdio_func; | 69 | struct sdio_func; |
| 60 | 70 | ||
| @@ -87,6 +97,7 @@ struct mmc_card { | |||
| 87 | struct sd_switch_caps sw_caps; /* switch (CMD6) caps */ | 97 | struct sd_switch_caps sw_caps; /* switch (CMD6) caps */ |
| 88 | 98 | ||
| 89 | unsigned int sdio_funcs; /* number of SDIO functions */ | 99 | unsigned int sdio_funcs; /* number of SDIO functions */ |
| 100 | struct sdio_cccr cccr; /* common card info */ | ||
| 90 | struct sdio_func *sdio_func[SDIO_MAX_FUNCS]; /* SDIO functions (devices) */ | 101 | struct sdio_func *sdio_func[SDIO_MAX_FUNCS]; /* SDIO functions (devices) */ |
| 91 | }; | 102 | }; |
| 92 | 103 | ||
