[POWERPC] 8xx: powerpc port of core CPM PIC
This covers common CPM access functions, CPM interrupt controller code, micropatch and a few compatibility things to kee the same driver base working with arch/ppc. This version is refined with all the comments (mostly PIC-related) addressed. Signed-off-by: Vitaly Bordug <vbordug@ru.mvista.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
88bdc6f061
commit
f2a0bd3753
12
arch/powerpc/sysdev/mpc8xx_pic.h
Normal file
12
arch/powerpc/sysdev/mpc8xx_pic.h
Normal file
@ -0,0 +1,12 @@
|
||||
#ifndef _PPC_KERNEL_MPC8xx_H
|
||||
#define _PPC_KERNEL_MPC8xx_H
|
||||
|
||||
#include <linux/irq.h>
|
||||
#include <linux/interrupt.h>
|
||||
|
||||
extern struct hw_interrupt_type mpc8xx_pic;
|
||||
|
||||
int mpc8xx_pic_init(void);
|
||||
unsigned int mpc8xx_get_irq(void);
|
||||
|
||||
#endif /* _PPC_KERNEL_PPC8xx_H */
|
Reference in New Issue
Block a user