summaryrefslogtreecommitdiffstats
path: root/driver/config.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-02-13 03:07:11 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-02-13 03:07:11 +0100
commitb72e8567723c30f0e5a83675743e9380c48e5d55 (patch)
treef0dc052508543771fca08c358836507770864249 /driver/config.h
downloadipecamera-b72e8567723c30f0e5a83675743e9380c48e5d55.tar.gz
ipecamera-b72e8567723c30f0e5a83675743e9380c48e5d55.tar.bz2
ipecamera-b72e8567723c30f0e5a83675743e9380c48e5d55.tar.xz
ipecamera-b72e8567723c30f0e5a83675743e9380c48e5d55.zip
Initial import
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