From 445d5db0183cf5dc98a33160857f22f012cacea6 Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Tue, 12 Apr 2011 20:57:41 +0200 Subject: Prototype of IPECamera image protocol --- pci.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'pci.h') 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] = { -- cgit v1.2.3