]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * sun3ints.h -- Linux/Sun3 interrupt handling code definitions | |
3 | * | |
4 | * Erik Verbruggen ([email protected]) | |
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> | |
1da177e4 | 15 | #include <linux/interrupt.h> |
1da177e4 LT |
16 | #include <asm/intersil.h> |
17 | #include <asm/oplib.h> | |
ebba61d5 | 18 | #include <asm/traps.h> |
1da177e4 LT |
19 | |
20 | #define SUN3_INT_VECS 192 | |
21 | ||
22 | void sun3_enable_irq(unsigned int irq); | |
23 | void sun3_disable_irq(unsigned int irq); | |
1da177e4 | 24 | extern void sun3_init_IRQ (void); |
1da177e4 LT |
25 | extern void sun3_enable_interrupts (void); |
26 | extern void sun3_disable_interrupts (void); | |
1da177e4 LT |
27 | extern volatile unsigned char* sun3_intreg; |
28 | ||
29 | /* master list of VME vectors -- don't fuck with this */ | |
ebba61d5 RZ |
30 | #define SUN3_VEC_FLOPPY (IRQ_USER+0) |
31 | #define SUN3_VEC_VMESCSI0 (IRQ_USER+0) | |
32 | #define SUN3_VEC_VMESCSI1 (IRQ_USER+1) | |
33 | #define SUN3_VEC_CG (IRQ_USER+104) | |
1da177e4 LT |
34 | |
35 | ||
36 | #endif /* SUN3INTS_H */ |