[linux-usb-devel] [PATCH] USB: Add frame_no big endian OHCI quirk

Dale Farnsworth dale at farnsworth.org
Tue Oct 9 04:52:25 EST 2007


On Mon, Oct 08, 2007 at 10:41:40PM +0400, Valentine Barshak wrote:
> Add OHCI big endian frame_no quirk.
> The frame_no value stored in the HCCA is a 16 bit field 
> at a specific offset, but since not all CPUs can do 16-bit
> memory accesses it's used as a 32 bit field.
> And that's why big-endian OHCI will shift 16 bits,
> unless the spec is not followed. Currently there's one MPC52xx
> platform that doesn't need the shift. This case is hanled
> using big endian frame_no quirk.
> 
> Signed-off-by: Valentine Barshak <vbarshak at ru.mvista.com>

Acked-by: Dale Farnsworth <dale at farnsworth.org>



More information about the Linuxppc-dev mailing list