public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Mark A. Greer" <mgreer@mvista.com>
To: linux-mtd@lists.infradead.org
Subject: [PATCH][MTD] Add COMPATIBLE_IOCTL() for MEMGETOOBSEL
Date: Wed, 20 Jun 2007 16:52:45 -0700	[thread overview]
Message-ID: <20070620235245.GA12800@mag.az.mvista.com> (raw)

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 */

             reply	other threads:[~2007-06-20 23:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-20 23:52 Mark A. Greer [this message]
2007-06-21  1:52 ` [PATCH][MTD] Add COMPATIBLE_IOCTL() for MEMGETOOBSEL Josh Boyer
2007-07-13  6:33   ` Deepak Saxena
2007-07-13 14:12     ` Josh Boyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070620235245.GA12800@mag.az.mvista.com \
    --to=mgreer@mvista.com \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox