UIO: uio_mem does not handle devices above 4 GB address
Benjamin Herrenschmidt
benh at kernel.crashing.org
Tue Jun 16 13:25:58 EST 2009
On Thu, 2009-04-02 at 09:20 -0400, Steven A. Falco wrote:
> struct uio_mem {
> phys_addr_t addr;
> phys_addr_t size;
> int memtype;
> void __iomem *internal_addr;
> struct uio_map *map;
> };
>
> A few other changes would be needed. We'd have to use something
> other than
Use a struct resource instead.
> return sprintf(buf, "0x%lx\n", mem->addr);
>
The struct resource has a printk format string.
Cheers,
Ben.
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev at ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
More information about the Linuxppc-dev
mailing list