CVSROOT:        /cvs
Module name:    src
Changes by:     piro...@cvs.openbsd.org 2013/01/14 14:18:47

Modified files:
        sys/arch/loongson/conf: GENERIC files.loongson 
        sys/arch/loongson/dev: mainbus.c 
        sys/arch/loongson/loongson: machdep.c yeeloong_machdep.c 
        sys/arch/mips64/mips64: mips64_machdep.c 
        sys/dev/pci    : files.pci glxpcib.c glxvar.h 
Added files:
        sys/arch/loongson/dev: glxclk.c 

Log message:
Loongson: Replace the system clock provided by the CPU with a GLX MFGPT.

CPU throttling was not possible due to the fact that the system clock
was the CPU clock. So slowing down the CPU would also slow down the
passing of time.

This commit adds a driver for the MFGPT1 clock from the AMD companion
chip found on lemote and hooks it up as the system clock.

It also changes the frequency value of hz from the default, which was
100, to 128. That's because the scaling on MFGPT clocks is represented
by powers of two.

Okay miod@.

Reply via email to