[PATCH] arm/io.h: add macros to read/write big/little endian register

Viresh Kumar viresh.kumar at st.com
Thu Feb 23 05:53:11 EST 2012


On 2/23/2012 3:23 PM, Russell King - ARM Linux wrote:
> 1. Using the PCI/ISA IO macros for non-PCI/ISA IO purposes is silly

We mistakenly placed it outside #ifdef __io, #endif
Sorry, i am still missing your point.

> 2. We should have readb_be() etc instead.

Actually, existing drivers are using out_be32(), etc in their implementation.
What do you suggest in order to use these drivers for SPEAr/ARM.

-- 
viresh



More information about the linux-arm-kernel mailing list