From: David Woodhouse <dwmw2@infradead.org>
To: Abraham vd Merwe <abraham@2d3d.co.za>
Cc: MTD for Linux <linux-mtd@lists.infradead.org>
Subject: Re: acceptable chip driver limitations
Date: Tue, 05 Jun 2001 10:00:10 +0100 [thread overview]
Message-ID: <25766.991731610@redhat.com> (raw)
In-Reply-To: <20010605105729.A26674@crystal.2d3d.co.za>
abraham@2d3d.co.za said:
> No, I'm talking about mtd->read() and mtd->write. Surely they can
> return errors? If not, what about physical write/read errors?
Sorry, I misunderstood. No, that is not acceptable. You must accept
unaligned and odd-sized writes. You can just special-case the first and
last read/write cycles, padding writes with 0xFF. See how the existing
driver for Intel chips does it.
--
dwmw2
prev parent reply other threads:[~2001-06-05 8:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-06-05 8:42 acceptable chip driver limitations Abraham vd Merwe
[not found] ` <25630.991730918@redhat.com>
2001-06-05 8:57 ` Abraham vd Merwe
2001-06-05 9:00 ` David Woodhouse [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=25766.991731610@redhat.com \
--to=dwmw2@infradead.org \
--cc=abraham@2d3d.co.za \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.