summaryrefslogtreecommitdiffstats
path: root/driver/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/config.h')
-rw-r--r--driver/config.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/driver/config.h b/driver/config.h
new file mode 100644
index 0000000..c217afd
--- /dev/null
+++ b/driver/config.h
@@ -0,0 +1,23 @@
+/*******************************/
+/* Configuration of the driver */
+/*******************************/
+
+/* Debug messages */
+//#define DEBUG
+
+/* Enable/disable IRQ handling */
+#define ENABLE_IRQ
+
+/* The name of the module */
+#define MODNAME "pciDriver"
+
+/* Major number is allocated dynamically */
+/* Minor number */
+#define MINORNR 0
+
+/* Node name of the char device */
+#define NODENAME "fpga"
+#define NODENAMEFMT "fpga%d"
+
+/* Maximum number of devices*/
+#define MAXDEVICES 4