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 <><