From: "Achim Machura" <achim.machura@berghof.com>
To: "'Vijay Padiyar'" <vijay_padiyar@hotmail.com>
Cc: "Linuxppc-Embedded \(E-Mail\)" <linuxppc-embedded@ozlabs.org>
Subject: AW: some more doubts regarding memory access from user/kernel space
Date: Mon, 14 Feb 2005 10:09:01 +0100 [thread overview]
Message-ID: <000b01c51274$d3e2ce50$34f1ff0a@BATEEE52> (raw)
In-Reply-To: <BAY1-DAV517B7CC4DBDF3A8A0BEA68B770@phx.gbl>
Hello Vijay,
> -----Ursprüngliche Nachricht-----
> Von: linuxppc-embedded-bounces@ozlabs.org
> [mailto:linuxppc-embedded-bounces@ozlabs.org]Im Auftrag von Vijay
> Padiyar
> with reference to my earlier mail, when do we need to use
> ioremap() and when
> do we need to use request_mem_region()? Or do we need to use both in a
> particular sequence?
I think first you have to progamm the chip select of your cpld correctly.
(see the mail from Mark)
You can do this in your module_init funktion.
Now you call request_mem_region to mark this memory used.
Now can mapp the virtual adress to your process by calling ioremap().
Regards
Achim
prev parent reply other threads:[~2005-02-14 9:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-11 15:15 some more doubts regarding memory access from user/kernel space Vijay Padiyar
2005-02-14 9:09 ` Achim Machura [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='000b01c51274$d3e2ce50$34f1ff0a@BATEEE52' \
--to=achim.machura@berghof.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=vijay_padiyar@hotmail.com \
/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;
as well as URLs for NNTP newsgroup(s).