X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=include%2Fasm-x86%2Fi8253.h;h=b51c0487fc41d6aec43c7db474e80abd0330d50d;hb=8c5900b2d669c7aac1e5b3e8bb8e331a0e6cff61;hp=b2a4f995a33f91ccf4826f547f447c594419ce6b;hpb=038a5008b2f395c85e6e71d6ddf3c684e7c405b0;p=powerpc.git diff --git a/include/asm-x86/i8253.h b/include/asm-x86/i8253.h index b2a4f995a3..b51c0487fc 100644 --- a/include/asm-x86/i8253.h +++ b/include/asm-x86/i8253.h @@ -1,5 +1,18 @@ -#ifdef CONFIG_X86_32 -# include "i8253_32.h" -#else -# include "i8253_64.h" -#endif +#ifndef __ASM_I8253_H__ +#define __ASM_I8253_H__ + +/* i8253A PIT registers */ +#define PIT_MODE 0x43 +#define PIT_CH0 0x40 +#define PIT_CH2 0x42 + +extern spinlock_t i8253_lock; + +extern struct clock_event_device *global_clock_event; + +extern void setup_pit_timer(void); + +#define inb_pit inb_p +#define outb_pit outb_p + +#endif /* __ASM_I8253_H__ */