public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: Erwin Authried <eauth@softsys.co.at>
To: "'mtd@infradead.org'" <mtd@infradead.org>
Subject: block device for 2.0
Date: Thu, 16 Nov 2000 15:36:08 +0100	[thread overview]
Message-ID: <01C04FE2.F4415760@omnibook.home.at> (raw)

I have now got all important modules running to
support ROM, CFI and RAM with uClinux. I have
used an old version of mtdblk.c (1.14) for block
access, for several reasons:
*The current driver uses kernel_thread. I don't know
  if/how that could be used in 2.0
* Caching is used. In uClinux, where RAM is valuable,
  RAM with the size of one erase sector would be wasted.
  With flashes that have 64KB or 128KB erase sectors,
  thats a lot of wasted memory.
* When the block driver is used as replacement for
  the blkmem.c ROM driver, caching isn't of any use at all.
  I think that will be the main (or the only?) purpose
  of the blockdriver in uClinux.

I thought it might be best to have the choice between the
old, uncached block block driver (for uClinux) or the new driver
as a configuration option. Are there any better ideas?

Regards,

Erwin




To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

             reply	other threads:[~2000-11-16 15:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-16 14:36 Erwin Authried [this message]
2000-11-16 23:44 ` block device for 2.0 David Woodhouse
2000-11-17  1:18   ` Nicolas Pitre
2000-11-17  1:24     ` David Woodhouse
  -- strict thread matches above, loose matches on Subject: below --
2000-11-17  8:05 Erwin Authried
2000-11-17  9:02 ` 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=01C04FE2.F4415760@omnibook.home.at \
    --to=eauth@softsys.co.at \
    --cc=mtd@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