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:
|