From: Pete P. <pp...@us...> - 2001-08-28 07:23:57
|
Update of /cvsroot/linux-mips/linux/drivers/video In directory usw-pr-cvs1:/tmp/cvs-serv14591/drivers/video Modified Files: epson1356fb.c Log Message: Added preliminary power management supuport: * turn off the clocks to the uarts when not used * turn off the clocks to the ethernets when not used * adhoc /proc interface for putting the cpu to sleep and dynamically scaling the cpu frequency. * fixed a pci compile problem Index: epson1356fb.c =================================================================== RCS file: /cvsroot/linux-mips/linux/drivers/video/epson1356fb.c,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** epson1356fb.c 2001/08/17 22:53:26 1.2 --- epson1356fb.c 2001/08/28 07:23:54 1.3 *************** *** 1975,1982 **** #ifdef CONFIG_MIPS_PB1000 if (epfix->system >= SYS_PB1000_CRT && epfix->system <= SYS_PB1000_TFT) { - extern unsigned int au1000_clock; u32 static_cfg0; unsigned int sys_busclk = ! (au1000_clock/1000) / ((int)(inl(PM_POWERUP_CONTROL)&0x03) + 2); // The board locks-up if the LCD clock is over 40 MHz. --- 1975,1981 ---- #ifdef CONFIG_MIPS_PB1000 if (epfix->system >= SYS_PB1000_CRT && epfix->system <= SYS_PB1000_TFT) { u32 static_cfg0; unsigned int sys_busclk = ! (get_au1000_speed()/1000) / ((int)(inl(PM_POWERUP_CONTROL)&0x03) + 2); // The board locks-up if the LCD clock is over 40 MHz. |