]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/mmc/pxamci.c
libata/IDE: remove combined mode quirk
[linux-2.6-omap-h63xx.git] / drivers / mmc / pxamci.c
index 6073d998b11f3ee1164d3209be639a21ba640be3..9774fc68b61a0c56cae19d96276aab5bd18e56cc 100644 (file)
@@ -450,6 +450,16 @@ static int pxamci_probe(struct platform_device *pdev)
         */
        mmc->max_seg_size = PAGE_SIZE;
 
+       /*
+        * Block length register is 10 bits.
+        */
+       mmc->max_blk_size = 1023;
+
+       /*
+        * Block count register is 16 bits.
+        */
+       mmc->max_blk_count = 65535;
+
        host = mmc_priv(mmc);
        host->mmc = mmc;
        host->dma = -1;