Bert Vermeulen
5c3c1241d2
sr: change input/output modules to use struct sr_dev_inst *
2012-08-03 11:27:31 +02:00
Bert Vermeulen
6f4b1868e8
sr/drivers: use sr_dev_inst instead of device index for dev_config_set()
...
All driver API calls using device index as a parameter will instead use a
const struct sr_dev_inst.
2012-08-03 10:27:39 +02:00
Bert Vermeulen
9c4311c524
chronovu-la8: adjust to multi-vid/pid patch
2012-08-03 10:27:39 +02:00
Bert Vermeulen
387014de63
sr: use new info_get API call in session driver
2012-08-03 10:27:39 +02:00
Bert Vermeulen
444adea232
zeroplus-logic-cube: don't use deprecated hwcap_get_all() driver API call
2012-08-03 10:27:39 +02:00
Bert Vermeulen
2ca4465b3d
ols: don't use deprecated hwcap_get_all() driver API call
2012-08-03 10:27:39 +02:00
Bert Vermeulen
2ce9f04629
hantek-dso: don't use deprecated hwcap_get_all() driver API call
2012-08-03 10:27:39 +02:00
Bert Vermeulen
cbd798f400
fx2lafw: don't use deprecated hwcap_get_all() driver API call
2012-08-03 10:27:39 +02:00
Bert Vermeulen
46c7a4daa7
demo: don't use deprecated hwcap_get_all() driver API call
2012-08-03 10:27:39 +02:00
Bert Vermeulen
7566601c21
chronovu-la8: don't use deprecated hwcap_get_all() driver API call
2012-08-03 10:27:39 +02:00
Bert Vermeulen
b2b5445c30
asix-sigma: don't use deprecated hwcap_get_all() driver API call
2012-08-03 10:27:39 +02:00
Bert Vermeulen
2efc5948b6
ols: scan fix
2012-08-03 10:27:39 +02:00
Bert Vermeulen
b0c8d7ac7f
hantek-dso: scan/info_get fixes
2012-08-03 10:27:39 +02:00
Bert Vermeulen
7dfcf010a0
demo: scan/info_get fixes
2012-08-03 10:27:39 +02:00
Bert Vermeulen
cfe8a84dd7
chronovu-la8: scan/info_get fixes
2012-08-03 10:27:39 +02:00
Bert Vermeulen
d7bbecfdb9
asix-sigma: scan/info_get fixes
2012-08-03 10:27:39 +02:00
Bert Vermeulen
626409abfb
zeroplus-logic-cube: use new driver info_get() API call
2012-08-03 10:27:38 +02:00
Bert Vermeulen
dddfb3dbf0
ols: use new driver info_get() API call
2012-08-03 10:27:38 +02:00
Bert Vermeulen
0b79bcbb9d
hantek-dso: use new driver info_get() API call
2012-08-03 10:27:38 +02:00
Bert Vermeulen
dfb0fa1a66
demo: use new driver info_get() API call
2012-08-03 10:27:38 +02:00
Bert Vermeulen
6a2761fd99
chronovu-la8: use new driver info_get() API call
2012-08-03 10:27:38 +02:00
Bert Vermeulen
4147960558
asix-sigma: use new driver info_get() API call
2012-08-03 10:27:38 +02:00
Bert Vermeulen
eec944c5b8
asix-sigma: don't attempt to free static struct
...
Added more debugging as well.
2012-08-03 10:27:38 +02:00
Bert Vermeulen
067d07166b
demo: use new scan API
2012-08-03 10:27:38 +02:00
Bert Vermeulen
7da6f9d54a
zeroplus-logic-cube: init and scan fixes
...
libusb context needs to be initialized only once, not ever scan.
Every scan invalidates the last one, so clean up any previous run's
results first.
2012-08-03 10:27:38 +02:00
Bert Vermeulen
4ca3898445
zeroplus-logic-cube: use new scan API
2012-08-03 10:27:38 +02:00
Bert Vermeulen
39cfdd75f9
hantek-dso: use new scan API
2012-08-03 10:27:38 +02:00
Bert Vermeulen
0448d11097
asix-sigma: use new scan API + fixes
...
Now freeing FTDI context and driver-private context.
2012-08-03 10:27:38 +02:00
Bert Vermeulen
c4f3ed4bb0
chronovu-la8: use new scan API + fixes
...
Now freeing FTDI context and driver-private context.
2012-08-03 10:27:38 +02:00
Bert Vermeulen
f8c617cf4c
hantek-dso: instance list fix
2012-08-03 10:27:38 +02:00
Bert Vermeulen
10e5cbede8
ols: use new scan API
2012-08-03 10:27:38 +02:00
Bert Vermeulen
ed300b9f6a
asix-sigma: use driver struct-based device instance list
2012-08-03 10:27:38 +02:00
Bert Vermeulen
765ef2f725
chronovu-la8: use driver struct-based device instance list
2012-08-03 10:27:38 +02:00
Bert Vermeulen
dcf03d6dbd
demo: use driver struct-based device instance list
2012-08-03 10:27:38 +02:00
Bert Vermeulen
3275654708
zeroplus-logic-cube: use driver struct-based device instance list
2012-08-03 10:27:38 +02:00
Bert Vermeulen
982947f7a2
hantek-dso: use driver struct-based device instance list
2012-08-03 10:27:38 +02:00
Bert Vermeulen
e5e81856b4
ols: use driver struct-based device instance list
2012-08-03 10:27:38 +02:00
Bert Vermeulen
d6db79a48c
genericdmm: device scan fixes
2012-08-03 10:27:38 +02:00
Bert Vermeulen
f1a14ea7ab
genericdmm: don't use deprecated hwcap_get_all() driver API call
2012-08-03 10:27:37 +02:00
Bert Vermeulen
6910bf6bf6
genericdmm: use new driver info_get() API call
2012-08-03 10:27:37 +02:00
Bert Vermeulen
a27999e657
fx2lafw: don't use deprecated hwcap_get_all() driver API call
2012-08-03 10:27:37 +02:00
Bert Vermeulen
c5e82ca5e3
fx2lafw: device scan fixes
2012-08-03 10:27:37 +02:00
Bert Vermeulen
f69b47f0f8
fx2lafw: a device scan always invalidates any previous scans
2012-08-03 10:27:37 +02:00
Bert Vermeulen
6e9339aae2
fx2lafw: use new driver info_get() API call
2012-08-03 10:27:37 +02:00
Bert Vermeulen
be34a1c746
sr: deprecate driver API call hwcap_get_all()
...
This is now handled with a call to info_get(SR_DI_HWCAPS). This brings
it in line with the new driver opts: info_get(SR_DI_HWOPTS).
2012-08-03 10:27:37 +02:00
Bert Vermeulen
df12380181
sr: new sr_info_get() API call, wrapper for driver info_get()
...
This will replace sr_dev_info_get(), the wrapper for driver dev_info_get()
2012-08-03 10:27:37 +02:00
Bert Vermeulen
f92f4eab23
sr: add new driver API call info_get()
...
This will replace dev_info_get(), and will be used to fetch both
driver and device instance-specific information. The sr_dev_inst
argument is NULL in case of a driver info fetch. In line with the
libsigrok wrapper, this function returns an error code, using the
supplied void ** to return the requested data.
2012-08-03 10:27:37 +02:00
Bert Vermeulen
9e41fdba40
sr: add driver field to sr_dev_inst, to bring it on a par with sr_dev.
2012-08-03 10:27:37 +02:00
Bert Vermeulen
8bfdc8c4a5
sr: split driver options into separate list
2012-08-03 10:27:37 +02:00
Bert Vermeulen
3a0fe4023d
genericdmm: use new scan API
2012-08-03 10:27:37 +02:00