diff options
author | Suren A. Chilingaryan <csa@suren.me> | 2016-02-04 03:24:23 +0100 |
---|---|---|
committer | Suren A. Chilingaryan <csa@suren.me> | 2016-02-04 03:24:23 +0100 |
commit | 616853e5f2ca5f7306c667bb2bb443f9ad09d853 (patch) | |
tree | c9978cc65d0d4e050b5048ecc82f3fd88d378339 /model.c | |
parent | c392c9920f9baadc9267e726b46b9c64c82915c7 (diff) | |
download | ipecamera-616853e5f2ca5f7306c667bb2bb443f9ad09d853.tar.gz ipecamera-616853e5f2ca5f7306c667bb2bb443f9ad09d853.tar.bz2 ipecamera-616853e5f2ca5f7306c667bb2bb443f9ad09d853.tar.xz ipecamera-616853e5f2ca5f7306c667bb2bb443f9ad09d853.zip |
Update to new version of pcitool
Diffstat (limited to 'model.c')
-rw-r--r-- | model.c | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -15,7 +15,7 @@ enum ipecamera_protocol_s { static const pcilib_register_protocol_api_description_t ipecamera_cmosis_protocol_api = - { IPECAMERA_VERSION, ipecamera_cmosis_open, ipecamera_cmosis_close, ipecamera_cmosis_read, ipecamera_cmosis_write }; + { IPECAMERA_VERSION, ipecamera_cmosis_open, ipecamera_cmosis_close, NULL, ipecamera_cmosis_read, ipecamera_cmosis_write }; /* static const pcilib_dma_description_t ipecamera_dma = @@ -86,7 +86,7 @@ const pcilib_register_description_t cmosis_registers[] = { }; const pcilib_register_description_t cmosis20000_registers[] = { -{15, 0, 2, 1, 0, PCILIB_REGISTER_RW, PCILIB_REGISTER_STANDARD, PCILIB_REGISTER_BANK0, "cmosis_nr_slopes", ""}, +{15, 0, 2, 1, 0, PCILIB_REGISTER_RW, PCILIB_REGISTER_STANDARD, PCILIB_REGISTER_BANK0, "cmosis_nr_slopes_ex", ""}, {22, 0, 16, 1, 0, PCILIB_REGISTER_RW, PCILIB_REGISTER_STANDARD, PCILIB_REGISTER_BANK0, "cmosis_number_frames", ""}, {24, 0, 16, 0, 0, PCILIB_REGISTER_RW, PCILIB_REGISTER_STANDARD, PCILIB_REGISTER_BANK0, "cmosis_start_single", ""}, {26, 0, 16, 3840, 0, PCILIB_REGISTER_RW, PCILIB_REGISTER_STANDARD, PCILIB_REGISTER_BANK0, "cmosis_number_lines_single", ""}, @@ -231,6 +231,8 @@ static const pcilib_model_description_t ipecamera_models[] = {{ ipecamera_banks, ipecamera_protocols, ipecamera_ranges, + NULL, + NULL, ipecamera_events, ipecamera_data_types, "ipecamera", |