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

Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]>
---
 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
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to