This commit was manufactured by cvs2svn to create branch 'vserver'.
[linux-2.6.git] / include / asm-h8300 / generic / timer_rate.h
1 #include <linux/config.h>
2
3 #if defined(CONFIG_H83007) || defined(CONFIG_H83068) || defined(CONFIG_H8S2678)
4 #define H8300_TIMER_COUNT_DATA CONFIG_CPU_CLOCK*10/8192
5 #define H8300_TIMER_FREQ CONFIG_CPU_CLOCK*1000/8192
6 #endif
7
8 #if defined(H8_3002) || defined(CONFIG_H83048)
9 #define H8300_TIMER_COUNT_DATA  CONFIG_CPU_CLOCK*10/8
10 #define H8300_TIMER_FREQ CONFIG_CPU_CLOCK*1000/8
11 #endif
12
13 #if !defined(H8300_TIMER_COUNT_DATA)
14 #error illigal configuration
15 #endif