summaryrefslogtreecommitdiffstats
path: root/driver
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-02-18 23:51:35 +0100
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-02-18 23:51:35 +0100
commitc428e3496a3c5f8046a7f1778b5bdcb551993e7b (patch)
tree03d56325bc6926f4842bd776cbe45c9e56357fdd /driver
parentf08ec5dd017eecb20b69e664d9b80184969d08d9 (diff)
downloadipecamera-c428e3496a3c5f8046a7f1778b5bdcb551993e7b.tar.gz
ipecamera-c428e3496a3c5f8046a7f1778b5bdcb551993e7b.tar.bz2
ipecamera-c428e3496a3c5f8046a7f1778b5bdcb551993e7b.tar.xz
ipecamera-c428e3496a3c5f8046a7f1778b5bdcb551993e7b.zip
Initial support for registers, infrastructure only
Diffstat (limited to 'driver')
-rw-r--r--driver/common.h30
-rw-r--r--driver/pciDriver.h32
2 files changed, 32 insertions, 30 deletions
diff --git a/driver/common.h b/driver/common.h
index c3f86a3..992f0ea 100644
--- a/driver/common.h
+++ b/driver/common.h
@@ -59,36 +59,6 @@ typedef struct {
} pcidriver_privdata_t;
-/* Identifies the mpRACE-1 boards */
-#define MPRACE1_VENDOR_ID 0x10b5
-#define MPRACE1_DEVICE_ID 0x9656
-
-/* Identifies the PCI-X Test boards */
-#define PCIXTEST_VENDOR_ID 0x10dc
-#define PCIXTEST_DEVICE_ID 0x0156
-
-/* Identifies the PCIe-PLDA Test board */
-#define PCIEPLDA_VENDOR_ID 0x1556
-#define PCIEPLDA_DEVICE_ID 0x1100
-
-/* Identifies the PCIe-ABB Test board */
-#define PCIEABB_VENDOR_ID 0x10dc
-#define PCIEABB_DEVICE_ID 0x0153
-
-/* Identifies the PCI-X PROGRAPE4 */
-#define PCIXPG4_VENDOR_ID 0x1679
-#define PCIXPG4_DEVICE_ID 0x0001
-
-/* Identifies the PCI-64 PROGRAPE4 */
-#define PCI64PG4_VENDOR_ID 0x1679
-#define PCI64PG4_DEVICE_ID 0x0005
-
-/* Identifies the PCI-E Xilinx ML605 */
-#define PCIE_XILINX_VENDOR_ID 0x10ee
-#define PCIE_ML605_DEVICE_ID 0x04a0
-
-/* Identifies the PCI-E IPE Camera */
-#define PCIE_IPECAMERA_DEVICE_ID 0x6018
/*************************************************************************/
/* Some nice defines that make code more readable */
diff --git a/driver/pciDriver.h b/driver/pciDriver.h
index ed04d65..05326ab 100644
--- a/driver/pciDriver.h
+++ b/driver/pciDriver.h
@@ -58,6 +58,38 @@
#include <linux/ioctl.h>
+/* Identifies the mpRACE-1 boards */
+#define MPRACE1_VENDOR_ID 0x10b5
+#define MPRACE1_DEVICE_ID 0x9656
+
+/* Identifies the PCI-X Test boards */
+#define PCIXTEST_VENDOR_ID 0x10dc
+#define PCIXTEST_DEVICE_ID 0x0156
+
+/* Identifies the PCIe-PLDA Test board */
+#define PCIEPLDA_VENDOR_ID 0x1556
+#define PCIEPLDA_DEVICE_ID 0x1100
+
+/* Identifies the PCIe-ABB Test board */
+#define PCIEABB_VENDOR_ID 0x10dc
+#define PCIEABB_DEVICE_ID 0x0153
+
+/* Identifies the PCI-X PROGRAPE4 */
+#define PCIXPG4_VENDOR_ID 0x1679
+#define PCIXPG4_DEVICE_ID 0x0001
+
+/* Identifies the PCI-64 PROGRAPE4 */
+#define PCI64PG4_VENDOR_ID 0x1679
+#define PCI64PG4_DEVICE_ID 0x0005
+
+/* Identifies the PCI-E Xilinx ML605 */
+#define PCIE_XILINX_VENDOR_ID 0x10ee
+#define PCIE_ML605_DEVICE_ID 0x04a0
+
+/* Identifies the PCI-E IPE Camera */
+#define PCIE_IPECAMERA_DEVICE_ID 0x6018
+
+
/* Possible values for ioctl commands */
/* PCI mmap areas */