[PATCH] OHCI: add PowerPC 440EP/440EPx support
Valentine Barshak
vbarshak at ru.mvista.com
Tue Oct 9 00:25:54 EST 2007
PowerPC 440EP 440EPx OHCI controller needs frame number value shift.
Signed-off-by: Valentine Barshak <vbarshak at 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
More information about the Linuxppc-dev
mailing list