Hi Philippe,
Philippe De Muyter wrote:
CLOCK_TICK_RATE should give the underlying frequency of the tick timer,
to make ntp happy. For Coldfires, that's the main clock.
Here is a fix.
Signed-off-by: Philippe De Muyter <[EMAIL PROTECTED]>
This looks like a good excuse to not bother using
asm-m68k/timex.h anymore, and have our own local one.
So I modified this slightly to do that.
I suspect the default CLOCK_TICK_RATE is probably wrong
for the other 68k parts supported in m68knommu too...
But someone who uses those parts will need to check and
modifiy accordingly :-)
Regards
Greg
--- linux-2.6-hg/include/asm-m68knommu/timex.h 2005-09-14 15:11:09.000000000
+0200
+++ linux-2.6.x//include/asm-m68knommu/timex.h 2006-02-13 08:29:12.000000000
+0100
@@ -1 +1,17 @@
+/*
+ * linux/include/asm-m68knommu/timex.h
+ *
+ * m68knommu architecture timex specifications
+ */
+#ifndef _ASMm68kNOMMU_TIMEX_H
+#define _ASMm68kNOMMU_TIMEX_H
+
#include <asm-m68k/timex.h>
+
+#ifdef CONFIG_COLDFIRE
+#undef CLOCK_TICK_RATE
+#include <asm/coldfire.h>
+#define CLOCK_TICK_RATE MCF_CLK /* Underlying HZ */
+#endif
+
+#endif
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev
--
------------------------------------------------------------------------
Greg Ungerer -- Chief Software Dude EMAIL: [EMAIL PROTECTED]
Secure Computing Corporation PHONE: +61 7 3435 2888
825 Stanley St, FAX: +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia WEB: http://www.SnapGear.com
_______________________________________________
uClinux-dev mailing list
[email protected]
http://mailman.uclinux.org/mailman/listinfo/uclinux-dev
This message was resent by [email protected]
To unsubscribe see:
http://mailman.uclinux.org/mailman/options/uclinux-dev