* Problem with mmap( ) in linux ppc!
@ 2003-03-10 6:20 Anand Gurumurthy
2003-03-10 8:48 ` Benjamin Herrenschmidt
0 siblings, 1 reply; 2+ messages in thread
From: Anand Gurumurthy @ 2003-03-10 6:20 UTC (permalink / raw)
To: linux-mm; +Cc: linux-kernel
Hi,
We have a driver for a communication card which has memory mapped IO.We are using redhat 2.2.14 kernel on intel p3 processor. The driver has an mmap entry point to map device memory into the user space using remap_page_range(). It works fine with intel P3. When we try to use the same driver with ppc linux 2.2.17 kernel, the mmap system call does not map the proper device memory.Is there anything extra required for using mmap with ppc? Please help me with your suggestions.
Thanks,
Anand Gurumurthy.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Problem with mmap( ) in linux ppc!
2003-03-10 6:20 Problem with mmap( ) in linux ppc! Anand Gurumurthy
@ 2003-03-10 8:48 ` Benjamin Herrenschmidt
0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Herrenschmidt @ 2003-03-10 8:48 UTC (permalink / raw)
To: Anand Gurumurthy; +Cc: linux-mm, linux-kernel
On Mon, 2003-03-10 at 07:20, Anand Gurumurthy wrote:
> Hi,
> We have a driver for a communication card which has memory mapped IO
> We are using redhat 2.2.14 kernel on intel p3 processor. The driver has an
> mmap entry point to map device memory into the user space using remap_page_range().
> It works fine with intel P3. When we try to use the same driver with ppc linux 2.2.17
> kernel, the mmap system call does not map the proper device memory.Is there anything
> extra required for using mmap with ppc? Please help me with your suggestions.
You may have some remapping going on the bus, it depends which PPC machine you
are using (how it's host bridge is confiured). 2.2 kernel didn't deal with
that as transparently as 2.4 do. Just a guess... I don't know much about
your HW
Ben.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-03-10 8:48 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-10 6:20 Problem with mmap( ) in linux ppc! Anand Gurumurthy
2003-03-10 8:48 ` Benjamin Herrenschmidt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox