diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-26 13:33:01 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-01-26 13:33:01 -0500 |
commit | ac3d266bf1bbbdd7efb6bd6760f2ee29e43bb132 (patch) | |
tree | d498e947176f4b77938034ff6c6427f9875da721 /arch/m68k/include/asm/q40ints.h | |
parent | 9f4863b7dc7f545bb3a01746feafdc1208e86c89 (diff) | |
parent | 49148020bcb6910ce71417bd990a5ce7017f9bd3 (diff) |
Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu
* 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu:
m68k,m68knommu: merge header files
Resolve trivial conflict in arch/m68knommu/include/asm/Kbuild
Diffstat (limited to 'arch/m68k/include/asm/q40ints.h')
-rw-r--r-- | arch/m68k/include/asm/q40ints.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/m68k/include/asm/q40ints.h b/arch/m68k/include/asm/q40ints.h new file mode 100644 index 000000000000..3d970afb708f --- /dev/null +++ b/arch/m68k/include/asm/q40ints.h | |||
@@ -0,0 +1,29 @@ | |||
1 | /* | ||
2 | * contains some Q40 related interrupt definitions | ||
3 | */ | ||
4 | |||
5 | #define Q40_IRQ_MAX (34) | ||
6 | |||
7 | #define Q40_IRQ_SAMPLE (34) | ||
8 | #define Q40_IRQ_KEYBOARD (32) | ||
9 | #define Q40_IRQ_FRAME (33) | ||
10 | |||
11 | |||
12 | /* masks for interrupt regiosters*/ | ||
13 | /* internal, IIRQ_REG */ | ||
14 | #define Q40_IRQ_KEYB_MASK (2) | ||
15 | #define Q40_IRQ_SER_MASK (1<<2) | ||
16 | #define Q40_IRQ_FRAME_MASK (1<<3) | ||
17 | #define Q40_IRQ_EXT_MASK (1<<4) /* is a EIRQ */ | ||
18 | /* eirq, EIRQ_REG */ | ||
19 | #define Q40_IRQ3_MASK (1) | ||
20 | #define Q40_IRQ4_MASK (1<<1) | ||
21 | #define Q40_IRQ5_MASK (1<<2) | ||
22 | #define Q40_IRQ6_MASK (1<<3) | ||
23 | #define Q40_IRQ7_MASK (1<<4) | ||
24 | #define Q40_IRQ10_MASK (1<<5) | ||
25 | #define Q40_IRQ14_MASK (1<<6) | ||
26 | #define Q40_IRQ15_MASK (1<<7) | ||
27 | |||
28 | extern unsigned long q40_probe_irq_on (void); | ||
29 | extern int q40_probe_irq_off (unsigned long irqs); | ||