Re: [PATCH] USB: Add frame_no big endian OHCI quirk.
Valentine Barshak <[email protected]>
| Newsgroups | gmane.linux.usb.devel |
|---|---|
| Message-ID | <[email protected]> |
Dale Farnsworth wrote: > On Mon, Oct 08, 2007 at 04:54:36PM +0000, 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 <[email protected]> > > This patch looks good for arch/powerpc. > > Note, however, that it breaks arch/ppc for mpc5200 platforms. Thanks, I'll resubmit the patch that also adds a quirk to ohci-ppc-soc for those who care :) > > I don't know if anyone cares. > > -Dale ------------------------------------------------------------------------- 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