[PATCH 2/2][MTD] Add support for > 2GiB MTD devices

Tim Anderson tanderson at mvista.com
Wed Aug 27 02:20:46 EDT 2008


Artem,

I see your point. Ioctls are going away after all.

So we should have something like:
/sys/class/mtd/mtd0/

Or just under device or platform? 

> -----Original Message-----
> From: Artem Bityutskiy [mailto:dedekind at infradead.org] 
> Sent: Tuesday, August 26, 2008 11:04 PM
> To: Tim Anderson
> Cc: Bruce_Leonard at selinc.com; 'Andrew Morton'; 
> linux-mtd-bounces at lists.infradead.org; 'David Woodhouse'; 
> linux-mtd at lists.infradead.org; linux-kernel at vger.kernel.org; 
> 'Bruce Leonard'
> Subject: RE: [PATCH 2/2][MTD] Add support for > 2GiB MTD devices
> 
> On Tue, 2008-08-26 at 23:01 -0700, Tim Anderson wrote:
> > I have been experimenting with this. I think there is at 
> least 3 maybe 4
> > IOCTLS that are going to need to have a LARGE mode. The 2 
> most obvious are
> > MEMGETINFO and MEMERASE.
> 
> dwmw2 vetoed any MEMGETINFO ioctl changes, or new similar 
> ioctls, and it
> kind of make sense, because we should use sysfs instead. But this, in
> turn, means implementing sysfs support for MTD, because MTD is not
> LinuxDeviceModel-enabled at the moment.
> 
> -- 
> Best regards,
> Artem Bityutskiy (???????? ?????)
> 




More information about the linux-mtd mailing list