[linux-usb-devel] [PATCH] OHCI: add PowerPC 440EP/440EPx support
David Brownell
david-b at pacbell.net
Tue Oct 9 01:01:26 EST 2007
> @@ -612,7 +612,7 @@ static inline u32 hc32_to_cpup (const st
> * to arch/powerpc
> */
>
> -#ifdef CONFIG_STB03xxx
> +#if defined(CONFIG_STB03xxx) || defined(CONFIG_440EP) || defined(CONFIG_440EPX)
> #define OHCI_BE_FRAME_NO_SHIFT 16
> #else
> #define OHCI_BE_FRAME_NO_SHIFT 0
Near as I can tell, the original code is wrong ... the hcca->frame_no
byte offset is fully specified, so that shift should always be 16.
- Dave
More information about the Linuxppc-dev
mailing list