diff options
author | Marcin Juszkiewicz <hrw@openembedded.org> | 2006-03-09 14:19:02 +0000 |
---|---|---|
committer | OpenEmbedded Project <openembedded-devel@lists.openembedded.org> | 2006-03-09 14:19:02 +0000 |
commit | 1678899392b30943dd237f8d5427aa4ee6dd8e56 (patch) | |
tree | f6ada019cb353adaf34ec9d04636490a09b3a920 /packages/linux/linux-openzaurus-2.6.14-rc1 | |
parent | 88b1a76819355fc0b2d95331b9e3f270b478f4ac (diff) | |
download | openembedded-1678899392b30943dd237f8d5427aa4ee6dd8e56.tar.gz |
linux-openzaurus 2.6.14-rc1: [MMC] Support MMC version 4 cards
Version 4 of the MMC specification increased the version number of the
CID structure. None of the fields changed though so the only required
change is adding '4' to the approved list.
patch taken from 2.6.15
Diffstat (limited to 'packages/linux/linux-openzaurus-2.6.14-rc1')
-rw-r--r-- | packages/linux/linux-openzaurus-2.6.14-rc1/mmc_plus_2gb.diff | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/linux/linux-openzaurus-2.6.14-rc1/mmc_plus_2gb.diff b/packages/linux/linux-openzaurus-2.6.14-rc1/mmc_plus_2gb.diff new file mode 100644 index 0000000000..a9e6cd4b02 --- /dev/null +++ b/packages/linux/linux-openzaurus-2.6.14-rc1/mmc_plus_2gb.diff @@ -0,0 +1,17 @@ +Author Pierre Ossman + +[MMC] Support MMC version 4 cards +Version 4 of the MMC specification increased the version number of the +CID structure. None of the fields changed though so the only required +change is adding '4' to the approved list. + +--- linux/drivers/mmc/mmc.c.orig 2006-02-04 20:51:52.000000000 +0300 ++++ linux/drivers/mmc/mmc.c 2006-02-04 20:53:58.000000000 +0300 +@@ -495,6 +495,7 @@ + + case 2: /* MMC v2.0 - v2.2 */ + case 3: /* MMC v3.1 - v3.3 */ ++ case 4: /* MMC v4 */ + card->cid.manfid = UNSTUFF_BITS(resp, 120, 8); + card->cid.oemid = UNSTUFF_BITS(resp, 104, 16); + card->cid.prod_name[0] = UNSTUFF_BITS(resp, 96, 8); |