[PATCH] CREDITS update
[linux-2.6/history.git] / include / asm-um / irq.h
blob8300c209a1bc0b120b1e0f8b2fb15f79ef4a4564
1 #ifndef __UM_IRQ_H
2 #define __UM_IRQ_H
4 /* The i386 irq.h has a struct task_struct in a prototype without including
5 * sched.h. This forward declaration kills the resulting warning.
6 */
7 struct task_struct;
9 #include "asm/ptrace.h"
11 #undef NR_IRQS
13 #define TIMER_IRQ 0
14 #define UMN_IRQ 1
15 #define CONSOLE_IRQ 2
16 #define CONSOLE_WRITE_IRQ 3
17 #define UBD_IRQ 4
18 #define UM_ETH_IRQ 5
19 #define SSL_IRQ 6
20 #define SSL_WRITE_IRQ 7
21 #define ACCEPT_IRQ 8
22 #define MCONSOLE_IRQ 9
23 #define WINCH_IRQ 10
24 #define SIGIO_WRITE_IRQ 11
25 #define TELNETD_IRQ 12
26 #define XTERM_IRQ 13
28 #define LAST_IRQ XTERM_IRQ
29 #define NR_IRQS (LAST_IRQ + 1)
31 extern int um_request_irq(unsigned int irq, int fd, int type,
32 void (*handler)(int, void *, struct pt_regs *),
33 unsigned long irqflags, const char * devname,
34 void *dev_id);
36 struct irqaction;
37 struct pt_regs;
38 int handle_IRQ_event(unsigned int, struct pt_regs *, struct irqaction *);
40 #endif