a problem of kernel-module version mismatch.
Arnd Bergmann
arnd.bergmann at de.ibm.com
Sat Jun 10 00:18:50 EST 2006
On Friday 09 June 2006 16:07, Ming Liu wrote:
> Are in_le32 and out_le32 two functions defined by the kernel to input and
> output 32-bit data? When we define XIo_In32 and XIo_Out32 as them, which is
> we use out_le32 and in_le32 to input and output data, they are still not
> resolvable. Any other suggestions? Thanks a lot.
They should be defined in include/asm-powerpc/io.h, include <asm/io.h>
to get the definition.
If your kernel is too old, they may not be there however, so you need
to use readl/writel or inl/outl, also defined in that file.
Arnd <><
More information about the Linuxppc-embedded
mailing list