Re: [PATCH] OHCI: add PowerPC 440EP/440EPx support

David Brownell <[email protected]>
Newsgroups gmane.linux.usb.devel,gmane.linux.ports.ppc64.devel
Message-ID <20071008150125.26C802393C7@adsl-69-226-248-13.dsl.pltn13.pacbell.net>
> @@ -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


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.