Unable to read/write consistently to a device.

Benjamin Herrenschmidt benh at kernel.crashing.org
Wed Feb 28 06:27:29 EST 2001


>  We have a device 0xf0040000.  This address has been
>ioremapped.
>(Hence directly using the physical address to access
>the memory)

What do you mean by ioremapped ? You should use the virtual address
returned by ioremap (which is usually _not_ the same as the physical
address, except in some specific cases), not the physical address, to
access the registers.

Ben.

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/






More information about the Linuxppc-dev mailing list