Re: [PATCH 20/32] rt2x00: byte ordering correctness
From: Christoph Hellwig <hch@infradead.org>
Date: 2006-04-28 13:14:32
From: Christoph Hellwig <hch@infradead.org>
Date: 2006-04-28 13:14:32
On Fri, Apr 28, 2006 at 02:59:23PM +0200, Ivo van Doorn wrote:
I am not sure if that would be a wise idea, there is no byte ordering done in rt2500usb except for the EEPROM contents which is little endian. So when the module is used on a normal x86 platform, there won't be any big endian structures or fields.
Well, then you'll need __le* annotation and the le*_to_cpu/cpu_to_le* instead. Any new driver should be endian clean.