summaryrefslogtreecommitdiffstats
path: root/driver/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver/config.h')
-rw-r--r--driver/config.h34
1 files changed, 23 insertions, 11 deletions
diff --git a/driver/config.h b/driver/config.h
index c217afd..abf8011 100644
--- a/driver/config.h
+++ b/driver/config.h
@@ -1,6 +1,5 @@
-/*******************************/
-/* Configuration of the driver */
-/*******************************/
+#ifndef _PCIDRIVER_CONFIG_H
+#define _PCIDRIVER_CONFIG_H
/* Debug messages */
//#define DEBUG
@@ -8,16 +7,29 @@
/* Enable/disable IRQ handling */
#define ENABLE_IRQ
-/* The name of the module */
-#define MODNAME "pciDriver"
+/* Maximum number of interrupt sources */
+#define PCIDRIVER_INT_MAXSOURCES 16
+
+/* Maximum number of devices*/
+#define MAXDEVICES 4
-/* Major number is allocated dynamically */
/* Minor number */
-#define MINORNR 0
+#define MINORNR 0
+
+/* The name of the module */
+#define MODNAME "pciDriver"
/* Node name of the char device */
-#define NODENAME "fpga"
-#define NODENAMEFMT "fpga%d"
+#define NODENAME "fpga"
+#define NODENAMEFMT "fpga%d"
-/* Maximum number of devices*/
-#define MAXDEVICES 4
+/* Identifies the PCI-E Xilinx ML605 */
+#define PCIE_XILINX_VENDOR_ID 0x10ee
+#define PCIE_ML605_DEVICE_ID 0x6024
+
+/* Identifies the PCI-E IPE Hardware */
+#define PCIE_IPECAMERA_DEVICE_ID 0x6081
+#define PCIE_KAPTURE_DEVICE_ID 0x6028
+
+
+#endif /* _PCIDRIVER_CONFIG_H */