patch-2.4.25 linux-2.4.25/arch/mips/au1000/pb1000/board_setup.c
Next file: linux-2.4.25/arch/mips/au1000/pb1100/board_setup.c
Previous file: linux-2.4.25/arch/mips/au1000/mtx-1/init.c
Back to the patch index
Back to the overall index
-  Lines: 11
 -  Date:
2004-02-18 05:36:30.000000000 -0800
 -  Orig file: 
linux-2.4.24/arch/mips/au1000/pb1000/board_setup.c
 -  Orig date: 
2003-08-25 04:44:39.000000000 -0700
 
diff -urN linux-2.4.24/arch/mips/au1000/pb1000/board_setup.c linux-2.4.25/arch/mips/au1000/pb1000/board_setup.c
@@ -186,7 +186,9 @@
 	case 0x02: /* HB */
 		break;
 	default:  /* HC and newer */
-		au_writel(0x00000060, 0xb190003c);
+		/* Enable sys bus clock divider when IDLE state or no bus 
+		   activity. */
+		au_writel(au_readl(SYS_POWERCTRL) | (0x3 << 5), SYS_POWERCTRL);
 		break;
 	}
 }
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)