2005-06-30 05:58:55 -04:00
|
|
|
#ifndef __ASM_I8253_H__
|
|
|
|
#define __ASM_I8253_H__
|
|
|
|
|
2007-02-16 04:28:04 -05:00
|
|
|
#include <linux/clockchips.h>
|
|
|
|
|
2007-07-21 11:11:34 -04:00
|
|
|
/* i8253A PIT registers */
|
|
|
|
#define PIT_MODE 0x43
|
|
|
|
#define PIT_CH0 0x40
|
|
|
|
#define PIT_CH2 0x42
|
|
|
|
|
2005-06-30 05:58:55 -04:00
|
|
|
extern spinlock_t i8253_lock;
|
|
|
|
|
2007-02-16 04:28:04 -05:00
|
|
|
extern struct clock_event_device *global_clock_event;
|
|
|
|
|
2007-07-21 11:11:34 -04:00
|
|
|
extern void setup_pit_timer(void);
|
|
|
|
|
2005-06-30 05:58:55 -04:00
|
|
|
#endif /* __ASM_I8253_H__ */
|