Hi Shashidhar On 08/02/2011 10:47 PM, James Hogan wrote: >> I was adding the support for Dual_Buffer Descriptors support in dw_mmc >> driver.Does it require a change in the above elements of mmc_host >> structure ? > > I don't know, but I'll see if I can find out. The initial IDMAC settings were relatively sane defaults taken from the original NXP driver, and things that were deducted from the source. Most of the values pertain to the block layer: * max_seg_size /* upper limit on size of a coalesced segment */ * max_segs /* upper limit on hw data segments in a request */ * max_req_size /* maximum number of bytes in one request */ * max_blk_size /* maximum size of one mmc block */ * max_blk_count /* maximum number of blocks in one request */ They may not be the most efficient defaults, as they used the whole of the IDMAC bandwidth (max_segs and max_blk_count are the size of the whole ring buffer, and max_seg_size is the size of the largest DMA transferrable block) but this shouldn't hinder a dual-buffered implementation. Cheers James -- To unsubscribe from this list: send the line "unsubscribe linux-mmc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html