static wait_queue_head_t send_wq;
static wait_queue_head_t receive_wq;
-static u8 irq; /* FIXME: Get it from the pci struct */
+static u8 irq;
static int my_dhwk_dev_id;
MODULE_LICENSE("Dual BSD/GPL");
short word = 0;
short status = 0;
int next_status = 0;
-
+
if (! access_ok(VERIFY_WRITE, u, size)) {
return -EFAULT;
}
wake_up_interruptible(& send_wq);
}
- if (irq_to_check == irq) {
+ if (irq_to_check == irq) {
return IRQ_HANDLED;
} else {