1*49148020SSam Ravnborg /* 2*49148020SSam Ravnborg * sun3ints.h -- Linux/Sun3 interrupt handling code definitions 3*49148020SSam Ravnborg * 4*49148020SSam Ravnborg * Erik Verbruggen (erik@bigmama.xtdnet.nl) 5*49148020SSam Ravnborg * 6*49148020SSam Ravnborg * This file is subject to the terms and conditions of the GNU General Public 7*49148020SSam Ravnborg * License. See the file COPYING in the main directory of this archive for 8*49148020SSam Ravnborg * more details. 9*49148020SSam Ravnborg */ 10*49148020SSam Ravnborg 11*49148020SSam Ravnborg #ifndef SUN3INTS_H 12*49148020SSam Ravnborg #define SUN3INTS_H 13*49148020SSam Ravnborg 14*49148020SSam Ravnborg #include <linux/types.h> 15*49148020SSam Ravnborg #include <linux/interrupt.h> 16*49148020SSam Ravnborg #include <asm/intersil.h> 17*49148020SSam Ravnborg #include <asm/oplib.h> 18*49148020SSam Ravnborg #include <asm/traps.h> 19*49148020SSam Ravnborg #include <asm/irq.h> 20*49148020SSam Ravnborg 21*49148020SSam Ravnborg #define SUN3_INT_VECS 192 22*49148020SSam Ravnborg 23*49148020SSam Ravnborg void sun3_enable_irq(unsigned int irq); 24*49148020SSam Ravnborg void sun3_disable_irq(unsigned int irq); 25*49148020SSam Ravnborg extern void sun3_init_IRQ (void); 26*49148020SSam Ravnborg extern void sun3_enable_interrupts (void); 27*49148020SSam Ravnborg extern void sun3_disable_interrupts (void); 28*49148020SSam Ravnborg extern volatile unsigned char* sun3_intreg; 29*49148020SSam Ravnborg 30*49148020SSam Ravnborg /* master list of VME vectors -- don't fuck with this */ 31*49148020SSam Ravnborg #define SUN3_VEC_FLOPPY (IRQ_USER+0) 32*49148020SSam Ravnborg #define SUN3_VEC_VMESCSI0 (IRQ_USER+0) 33*49148020SSam Ravnborg #define SUN3_VEC_VMESCSI1 (IRQ_USER+1) 34*49148020SSam Ravnborg #define SUN3_VEC_CG (IRQ_USER+104) 35*49148020SSam Ravnborg 36*49148020SSam Ravnborg 37*49148020SSam Ravnborg #endif /* SUN3INTS_H */ 38