linux-cvs-patches
[Top] [All Lists]

CVS Update@linux-mips.org: linux

To: linux-cvs-patches@linux-mips.org
Subject: CVS Update@linux-mips.org: linux
From: ralf@linux-mips.org
Date: Mon, 01 Aug 2005 11:05:43 +0100
Reply-to: linux-mips@linux-mips.org
Sender: linux-cvs-patches-bounce@linux-mips.org
CVSROOT:        /home/cvs
Module name:    linux
Changes by:     ralf@ftp.linux-mips.org 05/08/01 11:05:37

Modified files:
        arch/mips/tx4938/toshiba_rbtx4938: setup.c 

Log message:
        Handle 66MHz PCI correctly.

diff -urN linux/arch/mips/tx4938/toshiba_rbtx4938/setup.c 
linux/arch/mips/tx4938/toshiba_rbtx4938/setup.c
--- linux/arch/mips/tx4938/toshiba_rbtx4938/setup.c     2005/07/29 15:03:26     
1.4
+++ linux/arch/mips/tx4938/toshiba_rbtx4938/setup.c     2005/08/01 10:05:37     
1.5
@@ -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>