public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: akc <akc@pel.dk>
Cc: mtd@infradead.org
Subject: Re: Problem accessing physical memory...
Date: Thu, 29 Jun 2000 15:16:06 +0100	[thread overview]
Message-ID: <29551.962288166@cygnus.co.uk> (raw)
In-Reply-To: <395B574E.CD20E7C2@pel.dk>


akc@pel.dk said:
>  I've tried mtdram and it works, but I am going to make a flash driver
> and need access to physical memory.

Ignore slram which I haven't even looked at for months, and look at nora.c
Once we've coded up support for the various kinds of flash chips, all 
you'll need to do is provide the mmap access functions defined in 
linux/mtd/map.h

ISTR something about PPC falling over if you try a large ioremap() because 
it doesn't have a lot of spare VM space. Try smaller dynamic mappings 
rather than mapping the whole lot all at once. 

--
dwmw2




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

      reply	other threads:[~2000-06-29 14:13 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-29 14:03 Problem accessing physical memory akc
2000-06-29 14:16 ` 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=29551.962288166@cygnus.co.uk \
    --to=dwmw2@infradead.org \
    --cc=akc@pel.dk \
    --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