This commit was manufactured by cvs2svn to create branch 'vserver'.
[linux-2.6.git] / include / asm-h8300 / generic / machine-depend.h
1 /* machine depend header */
2
3 /* TIMER rate define */
4 #ifdef H8300_TIMER_DEFINE
5 #include <linux/config.h>
6 #if defined(CONFIG_H83007) || defined(CONFIG_H83068) || defined(CONFIG_H8S2678)
7 #define H8300_TIMER_COUNT_DATA CONFIG_CPU_CLOCK*10/8192
8 #define H8300_TIMER_FREQ CONFIG_CPU_CLOCK*1000/8192
9 #endif
10
11 #if defined(CONFIG_H8_3002) || defined(CONFIG_H83048)
12 #define H8300_TIMER_COUNT_DATA  CONFIG_CPU_CLOCK*10/8
13 #define H8300_TIMER_FREQ CONFIG_CPU_CLOCK*1000/8
14 #endif
15
16 #endif
17