[PATCH v3 06/10] mtd: fix the wrong mtd->type for nand chip
Brian Norris
computersforpeace at gmail.com
Thu Aug 29 01:05:35 EDT 2013
On 08/28/2013 06:24 PM, Huang Shijie wrote:
> On Wed, Aug 28, 2013 at 12:28:51AM -0700, Brian Norris wrote:
>> On 08/27/2013 11:59 PM, Huang Shijie wrote:
>>
>> Yes, I saw that.
>>
>>> That's why we should expose the MTD_MLCNANDFLASH to the user-space
>>
>> All you've shown is the breakage, not the reason for exposing
>> MTD_MLCNANFLASH. There's a difference between MTD_MLCNANDFLASH being
> Do you mean this patch exposes the MTD_MLCNANDFLASH to user space?
> or the patch 8 exposes the MTD_MLCNANDFLASH to user space?
This patch (patch 6) changes the mtd->type for MLC NAND. And mtd->type
is exposed to user-space via ioctl(MEMGETINFO), and (as of this patch),
it is exposed as "unknown" in sysfs.
Patch 8 only changes the "unknown" to "mlc-nand"---an improvement, but
patch 6 is still the first one that makes a visible change to the ABI.
Brian
More information about the linux-mtd
mailing list