public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Deepak Saxena <dsaxena@plexity.net>
To: Josh Boyer <jwboyer@gmail.com>
Cc: Thomas Gleixner <tglx@linutronix.de>,
	linux-mtd@lists.infradead.org,
	"Mark A. Greer" <mgreer@mvista.com>
Subject: Re: [PATCH][MTD] Add COMPATIBLE_IOCTL() for MEMGETOOBSEL
Date: Thu, 12 Jul 2007 23:33:47 -0700	[thread overview]
Message-ID: <20070713063347.GA19047@plexity.net> (raw)
In-Reply-To: <625fc13d0706201852g5348a209q82c5cc5b9dc42bf6@mail.gmail.com>

On Jun 20 2007, at 20:52, Josh Boyer was caught saying:
> On 6/20/07, Mark A. Greer <mgreer@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@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.

Josh,

I'm merging Mark's patch into the MontaVista tree and will send out and
updated patch vs upstream but also wondering what the proper route is for
MEMSETOOBSEL? I've been out of the mtd loop for a while but looking at the 
git log for mtd-abi.h and mtdchar.c, it looks like the ioctl() was removed 
over a year ago (commit ff268fb8791cf18df536113355d7184007c269d9).  Do we 
re-introduce it or can we update the tools?

Thomas, I'm including you b/c you made the original commit to remove 
MEMSETOOBSEL but also made changes to nandwrite.c that use it a month 
later. :) Should we put MEMSETOOBSEL back in?

Tnx,
~Deepak

-- 
Deepak Saxena - dsaxena@plexity.net - http://www.plexity.net 

"Ever bigger machines, entailing ever bigger concentrations of economic
power and exerting ever greater violence against the environment, do not
represent progress: they are a denial of wisdom. Wisdom demands a new
orientation of science and technology towards the organic, the gentle, the
non-violent, the elegant and beautiful." - Small is Beautiful

  reply	other threads:[~2007-07-13  7:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=20070713063347.GA19047@plexity.net \
    --to=dsaxena@plexity.net \
    --cc=jwboyer@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=mgreer@mvista.com \
    --cc=tglx@linutronix.de \
    /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