X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=drivers%2Fmmc%2Fomap.c;h=1e96a2f65022eee03e234b14bae7e92fb0c30c02;hb=55db890a838c7b37256241b1fc53d6344aa79cc0;hp=fa69a0dc5969049b4e758b075b8017177a80d92d;hpb=fe4a3c7a20f14d86022a8132adbf6ddb98e7197c;p=safe%2Fjmp%2Flinux-2.6 diff --git a/drivers/mmc/omap.c b/drivers/mmc/omap.c index fa69a0d..1e96a2f 100644 --- a/drivers/mmc/omap.c +++ b/drivers/mmc/omap.c @@ -1100,8 +1100,9 @@ static int __init mmc_omap_probe(struct platform_device *pdev) mmc->max_phys_segs = 32; mmc->max_hw_segs = 32; mmc->max_blk_size = 2048; /* BLEN is 11 bits (+1) */ - mmc->max_sectors = 256; /* NBLK max 11-bits, OMAP also limited by DMA */ - mmc->max_seg_size = mmc->max_sectors * 512; + mmc->max_blk_count = 2048; /* NBLK is 11 bits (+1) */ + mmc->max_req_size = mmc->max_blk_size * mmc->max_blk_count; + mmc->max_seg_size = mmc->max_req_size; if (host->power_pin >= 0) { if ((ret = omap_request_gpio(host->power_pin)) != 0) {