2005-10-10 19:28:16 -04:00
|
|
|
#ifndef _ASM_POWERPC_I8259_H
|
|
|
|
#define _ASM_POWERPC_I8259_H
|
2005-12-16 16:43:46 -05:00
|
|
|
#ifdef __KERNEL__
|
2005-04-16 18:20:36 -04:00
|
|
|
|
|
|
|
#include <linux/irq.h>
|
|
|
|
|
2006-07-03 07:36:01 -04:00
|
|
|
#ifdef CONFIG_PPC_MERGE
|
|
|
|
extern void i8259_init(struct device_node *node, unsigned long intack_addr);
|
2006-10-07 08:08:26 -04:00
|
|
|
extern unsigned int i8259_irq(void);
|
2006-10-24 23:22:27 -04:00
|
|
|
extern struct irq_host *i8259_get_host(void);
|
2006-07-03 07:36:01 -04:00
|
|
|
#else
|
2005-10-26 02:47:42 -04:00
|
|
|
extern void i8259_init(unsigned long intack_addr, int offset);
|
2006-10-07 08:08:26 -04:00
|
|
|
extern int i8259_irq(void);
|
2006-07-03 07:36:01 -04:00
|
|
|
#endif
|
2005-04-16 18:20:36 -04:00
|
|
|
|
2005-12-16 16:43:46 -05:00
|
|
|
#endif /* __KERNEL__ */
|
2005-10-10 19:28:16 -04:00
|
|
|
#endif /* _ASM_POWERPC_I8259_H */
|