On Fri, 2009-06-12 at 10:17 +0800, taco wrote: > Steve Chen wrote: > > Hi, > > > > Have you find the patches? I started an inquiry within Monta Vista. > > Unfortunately, it took this long to find the patches that are > > accidentally deleted from the server. Please let me know if you still > > need the patches. > > > > Regards, > > > > Steve > > > > > > > > > Hi, Steve, > Thank you very much for what you had do for me.! Yeah, I still > need those patches.
Please note that TI contracted a third party to create these patches. I don't know how well that are tested. I certainly hope they works. Here is a link to the patches ftp://source.mvista.com/mv_private/ti/lsp_1_20_patches > Because I tried to use the newer version kernel, but > it can't work on my platform. meanwhile, I want to ask a question, how > the driver can probe two mmc/sds? I review the source file, > davinci_mmc.c, in the davici_mmcsd_probe function has below code: > res = platform_get_resource(pdev, IORESOURCE_MEM, 0); > if (!res || (res_size(res) < sizeof(mmcsd_regs_base)) > || !platform_get_resource(pdev, IORESOURCE_IRQ, 0)) > { > dev_err(dev, "insufficient resources\n"); > ret = -ENOENT; > goto free_host; > } > host->irq = platform_get_irq(pdev, 0); > > host->reg_res = request_mem_region(res->start, res_size(res), > pdev->name); > if (!host->reg_res) { > dev_err(dev, "cannot claim register memory region\n"); > ret = -EIO; > goto free_host; > } > mmcsd_regs(host) = (volatile mmcsd_regs_base *) IO_ADDRESS(res->start); > > it means get hardware resource and map to memory. We have two slots, so > we need to invoke this function twice? or load this module twice? Yes, we probe the device twice. If you take a look at dm355_evm_devices in arch/arm/mach-davinci/board-dm355-evm.c. You will see 2 probes for MMC device. > > Sorry for my poor English. ; ( > > Best Regards > > taco _______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
