public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: Frederic Giasson <fgiasson@mediatrix.com>
Cc: Abraham vd Merwe <abraham@2d3d.co.za>,
	MTD for Linux <linux-mtd@lists.infradead.org>
Subject: Re: erasesize
Date: Tue, 05 Jun 2001 14:12:30 +0100	[thread overview]
Message-ID: <22079.991746750@redhat.com> (raw)
In-Reply-To: <F1BED55F35F4D3118C0F00E0295CFF4D995484@mail.mediatrix.com>

fgiasson@mediatrix.com said:
> 	... Maybe it should be passed through the arg pointer in the ioctl(),
> in a 2 u_long sized structure?

I don't fully understand the question. The 'len' member of the struct 
erase_info contains the total length of the erase requested by the user of 
the MTD device. The only connexion with the device's erase size(s) is that 
obviously the range to be erase must start and end on an eraseblock 
boundary.

cfi_amdstd_erase_varsize() is an internal function intended to issue the
magic erase commands only to a certain address on the chip - it doesn't 
know anything about the erase size at that address, or care about the 
length field, does it?

--
dwmw2

  reply	other threads:[~2001-06-05 13:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-05 13:03 erasesize Frederic Giasson
2001-06-05 13:12 ` David Woodhouse [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-06-05 17:40 erasesize Frederic Giasson
2001-06-05 12:49 erasesize Frederic Giasson
2001-06-05 10:52 erasesize Abraham vd Merwe
2001-06-05 12:30 ` erasesize David Woodhouse

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=22079.991746750@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=abraham@2d3d.co.za \
    --cc=fgiasson@mediatrix.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