Linux MIPS Architecture development
 help / color / mirror / Atom feed
* [PATCH 1/1] TX4938: Bugfix for PCI 66MHz of Toshiba RBHMA4500(TX4938)
@ 2005-07-30  6:53 Hiroshi DOYU
  2005-08-01 10:09 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Hiroshi DOYU @ 2005-07-30  6:53 UTC (permalink / raw)
  To: ralf; +Cc: linux-mips, mlachwani

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:

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-08-01 10:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-30  6:53 [PATCH 1/1] TX4938: Bugfix for PCI 66MHz of Toshiba RBHMA4500(TX4938) Hiroshi DOYU
2005-08-01 10:09 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox