Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=0fbbeba2427a842a1a4ac9f379ca2ca37ea907eb
Commit:     0fbbeba2427a842a1a4ac9f379ca2ca37ea907eb
Parent:     6e1af384f1c1742ae6d86bbf779d4fa020c509bc
Author:     Bart Van Assche <[EMAIL PROTECTED]>
AuthorDate: Mon Mar 26 21:40:29 2007 -0800
Committer:  Paul Mackerras <[EMAIL PROTECTED]>
CommitDate: Fri Apr 13 03:55:15 2007 +1000

    [POWERPC] Ocotea board: ntpd complains that the frequency error exceeds the 
tolerance
    
    Lifted from http://bugzilla.kernel.org/show_bug.cgi?id=8182
    
    Steps to reproduce:
    - Boot an Ocotea board with the mainline 2.6.20.1 kernel.
    - Create an /etc/ntp.conf file with at least one NTP server and iburst mode 
set.
    - Issue the command "ntpd -g".
    - Wait about two minutes.
    - Verify ntpd's status via "ntpq -pn" and by looking in /var/log/ntp.
    
    This fixes this problem by adjusting the expected clock frequency.
    
    Cc: Kumar Gala <[EMAIL PROTECTED]>
    Cc: Benjamin Herrenschmidt <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: Paul Mackerras <[EMAIL PROTECTED]>
---
 arch/ppc/platforms/4xx/ocotea.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/ppc/platforms/4xx/ocotea.c b/arch/ppc/platforms/4xx/ocotea.c
index c8017c9..5e994e1 100644
--- a/arch/ppc/platforms/4xx/ocotea.c
+++ b/arch/ppc/platforms/4xx/ocotea.c
@@ -289,7 +289,7 @@ ocotea_setup_arch(void)
         * from FPGA, because it can be changed by on-board switches
         * --ebs
         */
-       ibm440gx_get_clocks(&clocks, 33333333, 6 * 1843200);
+       ibm440gx_get_clocks(&clocks, 33300000, 6 * 1843200);
        ocp_sys_info.opb_bus_freq = clocks.opb;
 
        /* Setup TODC access */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to