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

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)