summaryrefslogtreecommitdiffstats
path: root/pci.h
diff options
context:
space:
mode:
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] = {