Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
mb93493-irqs.h
Go to the documentation of this file.
1 /* mb93493-irqs.h: MB93493 companion chip IRQs
2  *
3  * Copyright (C) 2004 Red Hat, Inc. All Rights Reserved.
4  * Written by David Howells ([email protected])
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 #include <asm/irq.h>
16 
17 #ifndef __ASSEMBLY__
18 
19 /* IRQ IDs presented to drivers */
20 enum {
31 };
32 
33 /* IRQ multiplexor mappings */
34 #define ROUTE_VIA_IRQ0 0 /* route IRQ by way of CPU external IRQ 0 */
35 #define ROUTE_VIA_IRQ1 1 /* route IRQ by way of CPU external IRQ 1 */
36 
37 #define IRQ_MB93493_VDC_ROUTE ROUTE_VIA_IRQ0
38 #define IRQ_MB93493_VCC_ROUTE ROUTE_VIA_IRQ1
39 #define IRQ_MB93493_AUDIO_OUT_ROUTE ROUTE_VIA_IRQ1
40 #define IRQ_MB93493_I2C_0_ROUTE ROUTE_VIA_IRQ1
41 #define IRQ_MB93493_I2C_1_ROUTE ROUTE_VIA_IRQ1
42 #define IRQ_MB93493_USB_ROUTE ROUTE_VIA_IRQ1
43 #define IRQ_MB93493_LOCAL_BUS_ROUTE ROUTE_VIA_IRQ1
44 #define IRQ_MB93493_PCMCIA_ROUTE ROUTE_VIA_IRQ1
45 #define IRQ_MB93493_GPIO_ROUTE ROUTE_VIA_IRQ1
46 #define IRQ_MB93493_AUDIO_IN_ROUTE ROUTE_VIA_IRQ1
47 
48 #endif /* !__ASSEMBLY__ */
49 
50 #endif /* _ASM_MB93493_IRQS_H */