linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ioremap questions
@ 2004-10-28 20:53 Yoav Steinberg
  2004-10-28 22:29 ` Matt Porter
  0 siblings, 1 reply; 2+ messages in thread
From: Yoav Steinberg @ 2004-10-28 20:53 UTC (permalink / raw)
  To: linuxppc-embedded

[-- Attachment #1: Type: text/plain, Size: 673 bytes --]

Hello,
i'm trying to map a physical address on the 440GP's external bus to a virtual address so I can access it from kernel space. While looking at the ebony.c file under the drivers/mtd/maps I saw that a function called ioremap64 was used.
My questions:
1) Why use the ioremap64 function which receives a 64bit physical address when the CPU is a 32 bit CPU? It seems like this is a special function for th 44x series, is this true?
2) There seem to be multiple ioremap functions: ioremap/64/_nocache etc. which is the most appropriate one? What are the differences?
3) Do I need to call iounmap before remapping somethig previouslly mapped with ioremap?
 
Thank's

[-- Attachment #2: Type: text/html, Size: 1225 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-28 22:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-28 20:53 ioremap questions Yoav Steinberg
2004-10-28 22:29 ` Matt Porter

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).