From: David Brownell <david-b@pacbell.net>
To: "Artem B. Bityutskiy" <dedekind@yandex.ru>
Cc: Linux MTD <linux-mtd@lists.infradead.org>
Subject: Re: DataFlash & writesize
Date: Tue, 27 Jun 2006 01:10:59 -0700 [thread overview]
Message-ID: <200606270110.59318.david-b@pacbell.net> (raw)
In-Reply-To: <44A0D8D3.4020908@yandex.ru>
On Tuesday 27 June 2006 12:05 am, Artem B. Bityutskiy wrote:
> David,
>
> David Brownell wrote:
> > What are the intended semantics for "writesize" by the way?
>
> Design-wise, it an attempt to generalize MTD. Different flashes have
> different minimal I/O unit size, like 1 byte in case of NOR, 16 bytes in
> case of ECCed NOR, 512/2K in case of NAND, etc.
OK, thanks. For some reason the "writesize" I found didn't include
the <linux/mtd/mtd.h> comment you mentioned... I guess that was the
one in mtd-abi.h instead.
> > I noticed I was getting that first BUG_ON in mtdcore:add_mtd_device
> > since, with NOR CFI cmdset 1 flash, with current GIT. Seems like
> > writesie should have been set up already.
>
> We fixed all drivers and now it should be fine - see commit
> 17ffc7ba6d7ea68b8d5f55a5ca1b87163e69720d
It's not fixed upstream yet.
- Dave
prev parent reply other threads:[~2006-06-27 8:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-20 7:49 DataFlash & writesize Artem B. Bityutskiy
2006-06-23 10:27 ` Andrew Victor
2006-06-23 10:43 ` Artem B. Bityutskiy
2006-06-26 20:33 ` David Brownell
2006-06-26 21:42 ` Josh Boyer
2006-06-26 22:27 ` David Brownell
2006-06-26 22:32 ` Thomas Gleixner
2006-06-27 7:02 ` Artem B. Bityutskiy
2006-06-27 7:05 ` Artem B. Bityutskiy
2006-06-27 8:10 ` David Brownell [this message]
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=200606270110.59318.david-b@pacbell.net \
--to=david-b@pacbell.net \
--cc=dedekind@yandex.ru \
--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