From: Valentine Barshak <vbarshak@ru•mvista.com>
To: linuxppc-dev@ozlabs•org
Cc: linux-usb-devel@lists•sourceforge.net
Subject: [PATCH] OHCI: add PowerPC 440EP/440EPx support
Date: Mon, 8 Oct 2007 18:25:54 +0400 [thread overview]
Message-ID: <20071008142554.GA15175@ru.mvista.com> (raw)
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
next reply other threads:[~2007-10-08 14:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-10-08 14:25 Valentine Barshak [this message]
2007-10-08 15:01 ` [linux-usb-devel] [PATCH] OHCI: add PowerPC 440EP/440EPx support 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20071008142554.GA15175@ru.mvista.com \
--to=vbarshak@ru$(echo .)mvista.com \
--cc=linux-usb-devel@lists$(echo .)sourceforge.net \
--cc=linuxppc-dev@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox