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

From: Valentine Barshak <[email-masked]>
Date: Mon, 8 Oct 2007 18:25:54 +0400

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

Signed-off-by: Valentine Barshak <[email-masked]>
---
 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