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>
		
			
				
	
	
		
			13 lines
		
	
	
		
			254 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
		
			254 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #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 */
 |