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