Subversion Repositories shark

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 pj 1
#ifndef __INTERRUPT__
2
#define __INTERRUPT__
3
 
4
#include <linux/compatib.h>
5
 
6
#define NR_IRQS 128
7
 
8
int request_irq(unsigned int irq, void (*handler)(int, void *dev_id, struct pt_regs *), unsigned long flags, const char *device, void *dev_id);
9
 
10
#define disable_irq_nosync(i) irq_mask(i)
11
#define disable_irq(i)  irq_mask(i)
12
#define enable_irq(i)   irq_unmask(i)
13
 
14
void free_irq(unsigned int irq, void *d);
15
 
16
#endif