Re: Problem with mmap( ) in linux ppc!
Benjamin Herrenschmidt (email@example.com)
10 Mar 2003 09:48:21 +0100
On Mon, 2003-03-10 at 07:20, Anand Gurumurthy wrote:
> 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
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/