PowerPC/Linux device driver question

Matt Porter mporter at kernel.crashing.org
Fri Oct 21 06:21:50 EST 2005


On Thu, Oct 20, 2005 at 02:56:21PM -0500, Madhu Saravana Sibi Govindan wrote:
> I'm not sure how to request this range of physical memory from the
> kernel. I thought I could use ioremap to map this range into the
> virtual space, but ioremap takes only an unsigned long as an argument,
> which is only 32 bits on 440GP. I don't think I can represent the range of my
> device with 32 bits.
> 
> Could someone tell me how to solve the problem? I want this range of
> physical addresses to be associated with my device driver and how do I
> do that?

Use the ppc-specific ioremap64() call. 

-Matt



More information about the Linuxppc-dev mailing list