Ingo Molnar | 306e440 | 2005-06-30 02:58:55 -0700 | [diff] [blame] | 1 | #ifndef __ASM_I8253_H__ |
| 2 | #define __ASM_I8253_H__ |
| 3 | |
Thomas Gleixner | e9e2cdb | 2007-02-16 01:28:04 -0800 | [diff] [blame] | 4 | #include <linux/clockchips.h> |
| 5 | |
Thomas Gleixner | a290097 | 2007-07-21 17:11:34 +0200 | [diff] [blame^] | 6 | /* i8253A PIT registers */ |
| 7 | #define PIT_MODE 0x43 |
| 8 | #define PIT_CH0 0x40 |
| 9 | #define PIT_CH2 0x42 |
| 10 | |
Ingo Molnar | 306e440 | 2005-06-30 02:58:55 -0700 | [diff] [blame] | 11 | extern spinlock_t i8253_lock; |
| 12 | |
Thomas Gleixner | e9e2cdb | 2007-02-16 01:28:04 -0800 | [diff] [blame] | 13 | extern struct clock_event_device *global_clock_event; |
| 14 | |
Thomas Gleixner | a290097 | 2007-07-21 17:11:34 +0200 | [diff] [blame^] | 15 | extern void setup_pit_timer(void); |
| 16 | |
Ingo Molnar | 306e440 | 2005-06-30 02:58:55 -0700 | [diff] [blame] | 17 | #endif /* __ASM_I8253_H__ */ |