-From 2a717b2b888346d9384baa3a69fd82f78c13d362 Mon Sep 17 00:00:00 2001
+From daac0e8c6f2350c8f66d81fb1adea23fa63e2dc5 Mon Sep 17 00:00:00 2001
 From: Philip Balister <philip@opensdr.com>
 Date: Fri, 3 Aug 2012 15:30:44 -0400
-Subject: [PATCH] axi_fpga : Driver to support a user space interface between
- the PL and PS on a Zynq.
+Subject: [PATCH 1/2] axi_fpga : Driver to support a user space interface
+ between the PL and PS on a Zynq.
 
 Signed-off-by: Philip Balister <philip@opensdr.com>
 ---

+
diff --git a/drivers/misc/axi_fpga.c b/drivers/misc/axi_fpga.c
new file mode 100644
index 0000000..562811f
--- /dev/null
+++ b/drivers/misc/axi_fpga.c
@@ -0,0 +1,419 @@

+	dev_info(&pdev->dev, "Dev name: %s\n", d->name);
+
+	/* Setup interrupt */
+	d->irq_number = irq->start;
+	init_waitqueue_head(&d->wait);
+
+	atomic_set(&d->irq_happened, 0);
