Subversion Repositories shark

Rev

Rev 3 | Details | Compare with Previous | 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>
80 pj 5
#include "ll/sys/cdefs.h"
2 pj 6
 
80 pj 7
__BEGIN_DECLS
8
 
2 pj 9
#define NR_IRQS 128
10
 
11
int request_irq(unsigned int irq, void (*handler)(int, void *dev_id, struct pt_regs *), unsigned long flags, const char *device, void *dev_id);
12
 
13
#define disable_irq_nosync(i) irq_mask(i)
14
#define disable_irq(i)  irq_mask(i)
15
#define enable_irq(i)   irq_unmask(i)
16
 
17
void free_irq(unsigned int irq, void *d);
18
 
80 pj 19
__END_DECLS
2 pj 20
#endif