Re: [PATCH 1/3] drivers/misc: Add realtek card reader core driver
From: Maxim Levitsky <maximlevitsky@gmail.com>
Date: 2012-08-13 20:59:43
Also in:
linux-mmc
On Wed, 2012-08-01 at 14:31 +0000, Arnd Bergmann wrote:
On Wednesday 01 August 2012, wwang wrote:quoted
于 2012年07月31日 19:23, Arnd Bergmann 写道:quoted
You posted the sdmmc host driver and the pci card reader driver. I assume that the USB card reader and the memstick host will also get posted at some point. Do you have a timeframe for those?I will submit my memstick host driver around two months later, and submit USB part at the end of this year.ok.quoted
quoted
The hardware seems to also support xd/smartmedia. Do you have plans to add those? I think we have some code in drivers/mfd that acts as an abstraction layer for these, given that the host has to do the wear leveling there too.Yes, xD is still in our plan. But because the user population of xD/SM is so small, we put the priority of writing xD host driver in a relevant low level. Maybe we will submit this driver in the next year.Ok. When you get to that, I think you should use the code from drivers/mtd/nand/sm_common.c, but it's better to confirm that with the MTD maintainers first.
Just note that this file doesn't have much stuff as it turned out that xD card readers and cards are just raw NAND. Except that large xD cards, still use small block size, and somewhat different IDs, thus I placed them in this file. You just need to write a NAND driver exposing raw flash, and my sm_ftl will take care of wear leveling and everything else. If any questions, bug-reports, just notes, I glad to hear about this. Best regards, Maxim Levitsky