[POWERPC] Ocotea board: ntpd complains that the frequency error exceeds the tolerance
authorBart Van Assche <bart.vanassche@gmail.com>
Tue, 27 Mar 2007 05:40:29 +0000 (21:40 -0800)
committerPaul Mackerras <paulus@samba.org>
Thu, 12 Apr 2007 17:55:15 +0000 (03:55 +1000)
commit0fbbeba2427a842a1a4ac9f379ca2ca37ea907eb
treea9f14f2f350502ae422eaa24d696286e35adeefe
parent6e1af384f1c1742ae6d86bbf779d4fa020c509bc
[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 <galak@gate.crashing.org>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc/platforms/4xx/ocotea.c