patch-2.4.22 linux-2.4.22/include/asm-ppc/ppc4xx_pic.h
Next file: linux-2.4.22/include/asm-ppc/ppc4xx_serial.h
Previous file: linux-2.4.22/include/asm-ppc/ppc4xx.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
2003-08-25 04:44:44.000000000 -0700
- Orig file:
linux-2.4.21/include/asm-ppc/ppc4xx_pic.h
- Orig date:
2003-06-13 07:51:38.000000000 -0700
diff -urN linux-2.4.21/include/asm-ppc/ppc4xx_pic.h linux-2.4.22/include/asm-ppc/ppc4xx_pic.h
@@ -12,15 +12,22 @@
#define __PPC4XX_PIC_H__
#include <linux/config.h>
+#include <linux/irq.h>
/* External Global Variables */
-
extern struct hw_interrupt_type *ppc4xx_pic;
+/*
+ * The IBM4xxPIC_InitSenses table gives sense/polarity information
+ * for each interrupt, encoded using IRQ_SENSE_* and IRQ_POLARITY_*
+ * definitions from <asm-ppc/irq.h>. -- paulus
+ */
+extern unsigned int ibm4xxPIC_NumInitSenses;
+extern unsigned char *ibm4xxPIC_InitSenses;
/* Function Prototypes */
-extern void ppc4xx_pic_init(void);
-extern int ppc4xx_pic_get_irq(struct pt_regs *regs);
+extern void ppc4xx_pic_init(void);
+extern int ppc4xx_pic_get_irq(struct pt_regs *regs);
-#endif /* __PPC4XX_PIC_H__ */
+#endif /* __PPC4XX_PIC_H__ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)