diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-16 18:20:36 -0400 |
commit | 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 (patch) | |
tree | 0bba044c4ce775e45a88a51686b5d9f90697ea9d /include/asm-frv/mb93493-irqs.h |
Linux-2.6.12-rc2
Initial git repository build. I'm not bothering with the full history,
even though we have it. We can create a separate "historical" git
archive of that later if we want to, and in the meantime it's about
3.2GB when imported into git - space that would just make the early
git days unnecessarily complicated, when we don't have a lot of good
infrastructure for it.
Let it rip!
Diffstat (limited to 'include/asm-frv/mb93493-irqs.h')
-rw-r--r-- | include/asm-frv/mb93493-irqs.h | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/include/asm-frv/mb93493-irqs.h b/include/asm-frv/mb93493-irqs.h new file mode 100644 index 00000000000..15096e73132 --- /dev/null +++ b/include/asm-frv/mb93493-irqs.h | |||
@@ -0,0 +1,52 @@ | |||
1 | /* mb93493-irqs.h: MB93493 companion chip IRQs | ||
2 | * | ||
3 | * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved. | ||
4 | * Written by David Howells (dhowells@redhat.com) | ||
5 | * | ||
6 | * This program is free software; you can redistribute it and/or | ||
7 | * modify it under the terms of the GNU General Public License | ||
8 | * as published by the Free Software Foundation; either version | ||
9 | * 2 of the License, or (at your option) any later version. | ||
10 | */ | ||
11 | |||
12 | #ifndef _ASM_MB93493_IRQS_H | ||
13 | #define _ASM_MB93493_IRQS_H | ||
14 | |||
15 | #ifndef __ASSEMBLY__ | ||
16 | |||
17 | #include <asm/irq-routing.h> | ||
18 | |||
19 | #define IRQ_BASE_MB93493 (NR_IRQ_ACTIONS_PER_GROUP * 2) | ||
20 | |||
21 | /* IRQ IDs presented to drivers */ | ||
22 | enum { | ||
23 | IRQ_MB93493_VDC = IRQ_BASE_MB93493 + 0, | ||
24 | IRQ_MB93493_VCC = IRQ_BASE_MB93493 + 1, | ||
25 | IRQ_MB93493_AUDIO_OUT = IRQ_BASE_MB93493 + 2, | ||
26 | IRQ_MB93493_I2C_0 = IRQ_BASE_MB93493 + 3, | ||
27 | IRQ_MB93493_I2C_1 = IRQ_BASE_MB93493 + 4, | ||
28 | IRQ_MB93493_USB = IRQ_BASE_MB93493 + 5, | ||
29 | IRQ_MB93493_LOCAL_BUS = IRQ_BASE_MB93493 + 7, | ||
30 | IRQ_MB93493_PCMCIA = IRQ_BASE_MB93493 + 8, | ||
31 | IRQ_MB93493_GPIO = IRQ_BASE_MB93493 + 9, | ||
32 | IRQ_MB93493_AUDIO_IN = IRQ_BASE_MB93493 + 10, | ||
33 | }; | ||
34 | |||
35 | /* IRQ multiplexor mappings */ | ||
36 | #define ROUTE_VIA_IRQ0 0 /* route IRQ by way of CPU external IRQ 0 */ | ||
37 | #define ROUTE_VIA_IRQ1 1 /* route IRQ by way of CPU external IRQ 1 */ | ||
38 | |||
39 | #define IRQ_MB93493_VDC_ROUTE ROUTE_VIA_IRQ0 | ||
40 | #define IRQ_MB93493_VCC_ROUTE ROUTE_VIA_IRQ1 | ||
41 | #define IRQ_MB93493_AUDIO_OUT_ROUTE ROUTE_VIA_IRQ1 | ||
42 | #define IRQ_MB93493_I2C_0_ROUTE ROUTE_VIA_IRQ1 | ||
43 | #define IRQ_MB93493_I2C_1_ROUTE ROUTE_VIA_IRQ1 | ||
44 | #define IRQ_MB93493_USB_ROUTE ROUTE_VIA_IRQ1 | ||
45 | #define IRQ_MB93493_LOCAL_BUS_ROUTE ROUTE_VIA_IRQ1 | ||
46 | #define IRQ_MB93493_PCMCIA_ROUTE ROUTE_VIA_IRQ1 | ||
47 | #define IRQ_MB93493_GPIO_ROUTE ROUTE_VIA_IRQ1 | ||
48 | #define IRQ_MB93493_AUDIO_IN_ROUTE ROUTE_VIA_IRQ1 | ||
49 | |||
50 | #endif /* !__ASSEMBLY__ */ | ||
51 | |||
52 | #endif /* _ASM_MB93493_IRQS_H */ | ||