1 /*
2  *
3  *    Copyright (c) 1999 Grant Erickson <grant@lcse.umn.edu>
4  *
5  *    Module name: ppc4xx_pic.h
6  *
7  *    Description:
8  *      Interrupt controller driver for PowerPC 4xx-based processors.
9  */
10 
11 #ifndef	__PPC4XX_PIC_H__
12 #define	__PPC4XX_PIC_H__
13 
14 #include <linux/config.h>
15 #include <linux/irq.h>
16 
17 /* External Global Variables */
18 extern struct hw_interrupt_type *ppc4xx_pic;
19 
20 /*
21  * The IBM4xxPIC_InitSenses table gives sense/polarity information
22  * for each interrupt, encoded using IRQ_SENSE_* and IRQ_POLARITY_*
23  * definitions from <asm-ppc/irq.h>.  -- paulus
24  */
25 extern unsigned int ibm4xxPIC_NumInitSenses;
26 extern unsigned char *ibm4xxPIC_InitSenses;
27 
28 /* Function Prototypes */
29 
30 extern void ppc4xx_pic_init(void);
31 extern int ppc4xx_pic_get_irq(struct pt_regs *regs);
32 
33 #endif				/* __PPC4XX_PIC_H__ */
34