diff options
author | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-05-19 08:33:22 +0000 |
---|---|---|
committer | juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2008-05-19 08:33:22 +0000 |
commit | f2a91858ac9fb6fcb23aa6625973a37af464888f (patch) | |
tree | e6c7e526b0662c33aa8803a51ce6be6208ff61ef /target/linux/brcm63xx/patches-2.6.25/100-bcm963xx_add_new_timer_code.patch | |
parent | 17bba1a8f677463d167bff354036fb3f0f04160e (diff) |
[brcm63xx] refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11201 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/brcm63xx/patches-2.6.25/100-bcm963xx_add_new_timer_code.patch')
-rw-r--r-- | target/linux/brcm63xx/patches-2.6.25/100-bcm963xx_add_new_timer_code.patch | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/target/linux/brcm63xx/patches-2.6.25/100-bcm963xx_add_new_timer_code.patch b/target/linux/brcm63xx/patches-2.6.25/100-bcm963xx_add_new_timer_code.patch index dc4f57f06..ce75ba8e8 100644 --- a/target/linux/brcm63xx/patches-2.6.25/100-bcm963xx_add_new_timer_code.patch +++ b/target/linux/brcm63xx/patches-2.6.25/100-bcm963xx_add_new_timer_code.patch @@ -12,10 +12,10 @@ Signed-off-by: Axel Gembe <ago@bastart.eu.org> arch/mips/bcm963xx/time.c | 64 ++++++++++++++++++++------------------------ 2 files changed, 31 insertions(+), 35 deletions(-) -diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig -index 1b1c4bf..3f8be3f 100644 ---- a/arch/mips/Kconfig -+++ b/arch/mips/Kconfig +Index: linux-2.6.25.4/arch/mips/Kconfig +=================================================================== +--- linux-2.6.25.4.orig/arch/mips/Kconfig ++++ linux-2.6.25.4/arch/mips/Kconfig @@ -67,6 +67,8 @@ config BCM963XX select HW_HAS_PCI select DMA_NONCOHERENT @@ -25,10 +25,10 @@ index 1b1c4bf..3f8be3f 100644 help This is a fmaily of boards based on the Broadcom MIPS32 -diff --git a/arch/mips/bcm963xx/time.c b/arch/mips/bcm963xx/time.c -index 8a5007e..9fae8fd 100644 ---- a/arch/mips/bcm963xx/time.c -+++ b/arch/mips/bcm963xx/time.c +Index: linux-2.6.25.4/arch/mips/bcm963xx/time.c +=================================================================== +--- linux-2.6.25.4.orig/arch/mips/bcm963xx/time.c ++++ linux-2.6.25.4/arch/mips/bcm963xx/time.c @@ -1,6 +1,7 @@ /* <:copyright-gpl @@ -97,12 +97,13 @@ index 8a5007e..9fae8fd 100644 + + printk("CPU frequency %lu.%02lu MHz\n", cpu_clock / 1000000, + (cpu_clock % 1000000) * 100 / 1000000); ++ ++ mips_hpt_frequency = cpu_clock / 2; - printk("calculating r4koff... "); - r4k_offset = cal_r4koff(); - printk("%08lx(%d)\n", r4k_offset, (int)r4k_offset); -+ mips_hpt_frequency = cpu_clock / 2; - +- - est_freq = 2 * r4k_offset * HZ; - est_freq += 5000; /* round */ - est_freq -= est_freq % 10000; @@ -116,6 +117,3 @@ index 8a5007e..9fae8fd 100644 + write_c0_count(0); + write_c0_compare(0xffff); } --- -1.5.5.1 - |