summaryrefslogtreecommitdiff
path: root/packages/linux/compulab-pxa270-2.6.20/0005-mmcsd_large_cards-r0.patch
diff options
context:
space:
mode:
Diffstat (limited to 'packages/linux/compulab-pxa270-2.6.20/0005-mmcsd_large_cards-r0.patch')
-rw-r--r--packages/linux/compulab-pxa270-2.6.20/0005-mmcsd_large_cards-r0.patch41
1 files changed, 0 insertions, 41 deletions
diff --git a/packages/linux/compulab-pxa270-2.6.20/0005-mmcsd_large_cards-r0.patch b/packages/linux/compulab-pxa270-2.6.20/0005-mmcsd_large_cards-r0.patch
deleted file mode 100644
index 87c46d7144..0000000000
--- a/packages/linux/compulab-pxa270-2.6.20/0005-mmcsd_large_cards-r0.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From nobody Mon Sep 17 00:00:00 2001
-From: Cliff Brake <cbrake@happy.dev.bec-systems.com>
-Date: Tue Apr 3 22:16:15 2007 -0400
-Subject: [PATCH] mmcsd_large_cards r0
-
-large card patch
-
----
-
- drivers/mmc/mmc_block.c | 6 ++++++
- 1 files changed, 6 insertions(+), 0 deletions(-)
-
-base deaa2960bd8fb1f706a935cd7a87321977e6f568
-last b6144d28fde6225f49d1d56e49b333b7ff11d8dd
-diff --git a/drivers/mmc/mmc_block.c b/drivers/mmc/mmc_block.c
-index 87713572293f0d3044e077e1b9944617dc14ce1f..8ebf6c6d672236ee23081769aebd7aaffea70d1a 100644
---- a/drivers/mmc/mmc_block.c
-+++ b/drivers/mmc/mmc_block.c
-@@ -406,6 +406,7 @@ static struct mmc_blk_data *mmc_blk_alloc(struct mmc_card *card)
- {
- struct mmc_blk_data *md;
- int devidx, ret;
-+ unsigned long cap;
-
- devidx = find_first_zero_bit(dev_use, MMC_NUM_MINORS);
- if (devidx >= MMC_NUM_MINORS)
-@@ -471,6 +472,11 @@ static struct mmc_blk_data *mmc_blk_alloc(struct mmc_card *card)
-
- sprintf(md->disk->disk_name, "mmcblk%d", devidx);
-
-+ if (card->csd.read_blkbits > 9)
-+ md->block_bits = 9;
-+ else
-+ md->block_bits = card->csd.read_blkbits;
-+
- blk_queue_hardsect_size(md->queue.queue, 1 << md->block_bits);
-
- /*
---
-1.4.4.4
-