[PATCH][MTD] Add COMPATIBLE_IOCTL() for MEMGETOOBSEL

Josh Boyer jwboyer at gmail.com
Wed Jun 20 21:52:27 EDT 2007


On 6/20/07, Mark A. Greer <mgreer at mvista.com> wrote:
> The flash_eraseall MTD utility uses the MEMGETOOBSEL so add a
> COMPATIBLE_IOCTL() entry for it.
>
> Signed-off-by: Mark A. Greer <mgreer at mvista.com>
> ---
> I know MEMGETOOBSEL is supposed to be obsolete but flash_eraseall uses
> it so...
>
> Also, MEMSETOOBSEL is used by nandwrite.c but that ioctl doesn't appear
> to be implemented so I didn't add it.  My util source is
> http://ftp.linux.org.uk/pub/people/dwmw2/mtd/cvs/mtd/util/
> in case I'm looking at old source.

You are.  But it's still the same in the current code:

http://git.infradead.org/?p=mtd-utils.git;a=summary

And now that you've found MEMSETOOBSEL being used but not implemented,
I'll have to go figure out what that's about.

Curse you Mark!  ;)

josh



More information about the linux-mtd mailing list