| To: | ralf@linux-mips.org |
|---|---|
| Subject: | [PATCH 1/1] TX4938: Bugfix for PCI 66MHz of Toshiba RBHMA4500(TX4938) |
| From: | Hiroshi DOYU <Hiroshi_DOYU@montavista.co.jp> |
| Date: | Sat, 30 Jul 2005 15:53:10 +0900 |
| Cc: | linux-mips@linux-mips.org, mlachwani@mvista.com |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
Hello,
This patch is against latest cvs.
Could you review it?
Hiroshi DOYU
----
Bugfix for handling PCI 66MHz correctly
Signed-off-by: Hiroshi DOYU <hdoyu@mvista.com>
setup.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: mipslinux/arch/mips/tx4938/toshiba_rbtx4938/setup.c
===================================================================
--- mipslinux.orig/arch/mips/tx4938/toshiba_rbtx4938/setup.c
+++ mipslinux/arch/mips/tx4938/toshiba_rbtx4938/setup.c
@@ -411,7 +411,8 @@
tx4938_ccfgptr->ccfg |= TX4938_CCFG_PCI66;
/* Double PCICLK (if possible) */
if (tx4938_ccfgptr->pcfg & TX4938_PCFG_PCICLKEN_ALL) {
- unsigned int pcidivmode = 0;
+ unsigned int pcidivmode =
+ tx4938_ccfgptr->ccfg & TX4938_CCFG_PCIDIVMODE_MASK;
switch (pcidivmode) {
case TX4938_CCFG_PCIDIVMODE_8:
case TX4938_CCFG_PCIDIVMODE_4:
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [PATCH 2.6] vr41xx: remove obsolete GIU function call, Yoichi Yuasa |
|---|---|
| Next by Date: | Re: New VINO video drivers for Indy, Mikael Nousiainen |
| Previous by Thread: | [PATCH 2.6] vr41xx: remove obsolete GIU function call, Yoichi Yuasa |
| Indexes: | [Date] [Thread] [Top] [All Lists] |