patch-2.4.20 linux-2.4.20/arch/mips/au1000/common/clocks.c
Next file: linux-2.4.20/arch/mips/au1000/common/dbg_io.c
Previous file: linux-2.4.20/arch/mips/au1000/common/Makefile
Back to the patch index
Back to the overall index
-  Lines: 12
-  Date:
Thu Nov 28 15:53:09 2002
-  Orig file: 
linux-2.4.19/arch/mips/au1000/common/clocks.c
-  Orig date: 
Fri Aug  2 17:39:43 2002
diff -urN linux-2.4.19/arch/mips/au1000/common/clocks.c linux-2.4.20/arch/mips/au1000/common/clocks.c
@@ -75,9 +75,9 @@
 	unsigned int static_cfg0;
 	unsigned int sys_busclk =
 		(get_au1000_speed()/1000) /
-		((int)(inl(SYS_POWERCTRL)&0x03) + 2);
+		((int)(au_readl(SYS_POWERCTRL)&0x03) + 2);
 
-	static_cfg0 = inl(MEM_STCFG0);
+	static_cfg0 = au_readl(MEM_STCFG0);
 
 	if (static_cfg0 & (1<<11))
 		lcd_clock = sys_busclk / 5; /* note: BCLK switching fails with D5 */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)