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