public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
* [PATCH] OHCI: add PowerPC 440EP/440EPx support
@ 2007-10-08 14:25 Valentine Barshak
  2007-10-08 15:01 ` [linux-usb-devel] " David Brownell
  0 siblings, 1 reply; 11+ messages in thread
From: Valentine Barshak @ 2007-10-08 14:25 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: linux-usb-devel

PowerPC 440EP 440EPx OHCI controller needs frame number value shift.

Signed-off-by: Valentine Barshak <vbarshak@ru•mvista.com>
---
 drivers/usb/host/ohci.h |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -pruN linux-2.6.orig/drivers/usb/host/ohci.h linux-2.6/drivers/usb/host/ohci.h
--- linux-2.6.orig/drivers/usb/host/ohci.h	2007-10-08 16:30:28.000000000 +0400
+++ linux-2.6/drivers/usb/host/ohci.h	2007-10-08 17:55:43.000000000 +0400
@@ -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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-10-08 19:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-08 14:25 [PATCH] OHCI: add PowerPC 440EP/440EPx support Valentine Barshak
2007-10-08 15:01 ` [linux-usb-devel] " David Brownell
2007-10-08 16:06   ` Valentine Barshak
2007-10-08 16:19     ` David Brownell
2007-10-08 16:54       ` [PATCH] USB: Add frame_no big endian OHCI quirk Valentine Barshak
2007-10-08 16:58         ` [linux-usb-devel] " Valentine Barshak
2007-10-08 18:41         ` Valentine Barshak
2007-10-08 18:52           ` [linux-usb-devel] " Dale Farnsworth
2007-10-08 17:39       ` [linux-usb-devel] [PATCH] OHCI: add PowerPC 440EP/440EPx support Kumar Gala
2007-10-08 17:42         ` Valentine Barshak
2007-10-08 19:45           ` David Brownell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox