summaryrefslogtreecommitdiffstats
path: root/pci.c
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2015-03-10 21:47:38 +0100
committerSuren A. Chilingaryan <csa@suren.me>2015-03-10 21:47:38 +0100
commitb222af943c405df509eb9df084d203da4fbd324e (patch)
treef5dc06ba386a2c079bdf295adeec64b1bdf73543 /pci.c
parentf3d280fb8a7f2bccd4367349e00be00d25702195 (diff)
downloadipecamera-b222af943c405df509eb9df084d203da4fbd324e.tar.gz
ipecamera-b222af943c405df509eb9df084d203da4fbd324e.tar.bz2
ipecamera-b222af943c405df509eb9df084d203da4fbd324e.tar.xz
ipecamera-b222af943c405df509eb9df084d203da4fbd324e.zip
ipecamera hack
Diffstat (limited to 'pci.c')
-rw-r--r--pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pci.c b/pci.c
index 474e315..ca858de 100644
--- a/pci.c
+++ b/pci.c
@@ -90,7 +90,7 @@ pcilib_model_t pcilib_get_model(pcilib_t *ctx) {
if ((board_info->vendor_id == PCIE_XILINX_VENDOR_ID)&&(board_info->device_id == PCIE_IPECAMERA_DEVICE_ID))
ctx->model = PCILIB_MODEL_IPECAMERA;
else if ((board_info->vendor_id == PCIE_XILINX_VENDOR_ID)&&(board_info->device_id == PCIE_KAPTURE_DEVICE_ID))
- ctx->model = PCILIB_MODEL_KAPTURE;
+ ctx->model = PCILIB_MODEL_IPECAMERA;
else
ctx->model = PCILIB_MODEL_PCI;
}