public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [PATCH][MTD] Add COMPATIBLE_IOCTL() for MEMGETOOBSEL
@ 2007-06-20 23:52 Mark A. Greer
  2007-06-21  1:52 ` Josh Boyer
  0 siblings, 1 reply; 4+ messages in thread
From: Mark A. Greer @ 2007-06-20 23:52 UTC (permalink / raw)
  To: linux-mtd

The flash_eraseall MTD utility uses the MEMGETOOBSEL so add a
COMPATIBLE_IOCTL() entry for it.

Signed-off-by: Mark A. Greer <mgreer@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.

 include/linux/compat_ioctl.h |    1 +
 1 file changed, 1 insertion(+)


diff --git a/include/linux/compat_ioctl.h b/include/linux/compat_ioctl.h
index c26c3ad..3f7d6ab 100644
--- a/include/linux/compat_ioctl.h
+++ b/include/linux/compat_ioctl.h
@@ -694,6 +694,7 @@ COMPATIBLE_IOCTL(MEMLOCK)
 COMPATIBLE_IOCTL(MEMUNLOCK)
 COMPATIBLE_IOCTL(MEMGETREGIONCOUNT)
 COMPATIBLE_IOCTL(MEMGETREGIONINFO)
+COMPATIBLE_IOCTL(MEMGETOOBSEL)
 COMPATIBLE_IOCTL(MEMGETBADBLOCK)
 COMPATIBLE_IOCTL(MEMSETBADBLOCK)
 /* NBD */

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-07-13 14:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-06-20 23:52 [PATCH][MTD] Add COMPATIBLE_IOCTL() for MEMGETOOBSEL Mark A. Greer
2007-06-21  1:52 ` Josh Boyer
2007-07-13  6:33   ` Deepak Saxena
2007-07-13 14:12     ` Josh Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox