]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/linux/linux-openzaurus-2.6.14-rc1/mmc_plus_2gb.diff
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / linux / linux-openzaurus-2.6.14-rc1 / mmc_plus_2gb.diff
1 Author  Pierre Ossman
2
3 [MMC] Support MMC version 4 cards
4 Version 4 of the MMC specification increased the version number of the
5 CID structure. None of the fields changed though so the only required
6 change is adding '4' to the approved list.
7
8 --- linux/drivers/mmc/mmc.c.orig        2006-02-04 20:51:52.000000000 +0300
9 +++ linux/drivers/mmc/mmc.c     2006-02-04 20:53:58.000000000 +0300
10 @@ -495,6 +495,7 @@
11  
12                 case 2: /* MMC v2.0 - v2.2 */
13                 case 3: /* MMC v3.1 - v3.3 */
14 +               case 4: /* MMC v4 */
15                         card->cid.manfid        = UNSTUFF_BITS(resp, 120, 8);
16                         card->cid.oemid         = UNSTUFF_BITS(resp, 104, 16);
17                         card->cid.prod_name[0]  = UNSTUFF_BITS(resp, 96, 8);