ChangeSet 1.1722.97.70, 2004/06/11 17:06:39-07:00, [EMAIL PROTECTED] [PATCH] USB: usb on big endian, ehci needs a byteswap
Adds a missing byteswap that would affect interrupt transfers with EHCI on big-endian platforms, like Rick's MIPS-4km uClinux. Needed for external hubs, and then likely for mice, keyboards, and so on. From: Rick Sewill <[EMAIL PROTECTED]> Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> drivers/usb/host/ehci-sched.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -Nru a/drivers/usb/host/ehci-sched.c b/drivers/usb/host/ehci-sched.c --- a/drivers/usb/host/ehci-sched.c Fri Jun 18 10:54:36 2004 +++ b/drivers/usb/host/ehci-sched.c Fri Jun 18 10:54:36 2004 @@ -483,7 +483,7 @@ qh->start = frame; /* reset S-frame and (maybe) C-frame masks */ - qh->hw_info2 &= ~0xffff; + qh->hw_info2 &= ~__constant_cpu_to_le32(0xffff); qh->hw_info2 |= cpu_to_le32 (1 << uframe) | c_mask; } else dbg ("reused previous qh %p schedule", qh); ------------------------------------------------------- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel