[PATCH 2/2] Staging: VME: Ensure TSI148 link list descriptors are written big endian
Martyn Welch
martyn.welch at ge.com
Thu Mar 22 16:32:21 UTC 2012
On 22/03/12 13:48, Dan Carpenter wrote:
> On Thu, Mar 22, 2012 at 01:27:30PM +0000, Martyn Welch wrote:
>> The DMA functionality fails to work on little endian processors, such as
>> found on x86 based platforms. The DMA engine copies the link list
>> descriptors from memory into big endian registers. On little endian systems
>> this results in the values being byte swapped. This patch uses standard
>> kernel functionality to ensure that the descriptors are stored in big
>> endian format.
>>
>> Signed-off-by: Martyn Welch <martyn.welch at ge.com>
>
> Looks good. :) Thanks for doing that.
No problem, now that I've been coerced into giving sparse a try I can see me
using it more regularly :-)
Martyn
--
Martyn Welch (Lead Software Engineer) | Registered in England and Wales
GE Intelligent Platforms | (3828642) at 100 Barbirolli Square
T +44(0)1327322748 | Manchester, M2 3AB
E martyn.welch at ge.com | VAT:GB 927559189
More information about the devel
mailing list