2005-10-11 07:28:16 +08:00
|
|
|
#ifndef _ASM_POWERPC_I8259_H
|
|
|
|
#define _ASM_POWERPC_I8259_H
|
2005-12-17 05:43:46 +08:00
|
|
|
#ifdef __KERNEL__
|
2005-04-17 06:20:36 +08:00
|
|
|
|
|
|
|
#include <linux/irq.h>
|
|
|
|
|
|
|
|
extern struct hw_interrupt_type i8259_pic;
|
|
|
|
|
2005-10-26 14:47:42 +08:00
|
|
|
extern void i8259_init(unsigned long intack_addr, int offset);
|
2005-04-17 06:20:36 +08:00
|
|
|
extern int i8259_irq(struct pt_regs *regs);
|
2005-10-26 14:47:42 +08:00
|
|
|
extern int i8259_irq_cascade(struct pt_regs *regs, void *unused);
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2005-12-17 05:43:46 +08:00
|
|
|
#endif /* __KERNEL__ */
|
2005-10-11 07:28:16 +08:00
|
|
|
#endif /* _ASM_POWERPC_I8259_H */
|