blob: 14c48e5aeebae87f2a7400046f4bc22713fe72e5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#ifndef __IRQ_H__
#define __IRQ_H__
#include <device/device_types.h>
#include <mach.h>
#include "netdevice.h"
void deliver_irq (int irq);
typedef struct
{
mach_msg_header_t irq_header;
mach_msg_type_t irq_type;
int irq;
} mach_irq_notification_t;
#define IRQ_NOTIFY_MSGH_SEQNO 0
#define MACH_NOTIFY_IRQ 100
int request_irq (struct linux_device *dev,
void (*handler) (int), unsigned long flags);
void free_irq (struct linux_device *dev);
#endif
|