summaryrefslogtreecommitdiffstats
path: root/pci.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@dside.dyndns.org>2011-04-12 20:57:41 +0200
committerSuren A. Chilingaryan <csa@dside.dyndns.org>2011-04-12 20:57:41 +0200
commit445d5db0183cf5dc98a33160857f22f012cacea6 (patch)
tree24a86dc05195546cf888c104e604da9eb77b3309 /pci.h
parent39b33ce4be920b19a6b0f694febf8609ae64512b (diff)
downloadipecamera-445d5db0183cf5dc98a33160857f22f012cacea6.tar.gz
ipecamera-445d5db0183cf5dc98a33160857f22f012cacea6.tar.bz2
ipecamera-445d5db0183cf5dc98a33160857f22f012cacea6.tar.xz
ipecamera-445d5db0183cf5dc98a33160857f22f012cacea6.zip
Prototype of IPECamera image protocol
Diffstat (limited to 'pci.h')
-rw-r--r--pci.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/pci.h b/pci.h
index 9426c33..e3e5c9a 100644
--- a/pci.h
+++ b/pci.h
@@ -15,9 +15,9 @@ const pci_board_info *pcilib_get_board_info(pcilib_t *ctx);
# include "default.h"
pcilib_model_description_t pcilib_model[3] = {
- { NULL, NULL, NULL, NULL },
- { NULL, NULL, NULL, NULL },
- { ipecamera_registers, ipecamera_register_banks, ipecamera_register_ranges, &ipecamera_image_api }
+ { 4, PCILIB_HOST_ENDIAN, NULL, NULL, NULL, NULL },
+ { 4, PCILIB_HOST_ENDIAN, NULL, NULL, NULL, NULL },
+ { 4, PCILIB_BIG_ENDIAN, ipecamera_registers, ipecamera_register_banks, ipecamera_register_ranges, ipecamera_events, &ipecamera_image_api }
};
pcilib_protocol_description_t pcilib_protocol[3] = {