Am 06.07.2011 um 09:09 schrieb Alexander Graf <ag...@suse.de>:

> Device code some times needs to access physical memory and does that
> through the ld./st._phys functions. However, these are the exact same
> functions that the CPU uses to access memory, which means they will
> be endianness swapped depending on the target CPU.
> 
> However, devices don't know about the CPU's endianness, but instead
> access memory directly using their own interface to the memory bus,
> so they need some way to read data with their native endianness.
> 
> This patch adds _le and _be functions to ld./st._phys.

Blue, mind to apply at least this one if there are no concerns? The API it adds 
makes sense IMHO and I don't want to hold up the megasas patch due to it ;).

Alex

> 

Reply via email to