libsigrok/hardware
Alexandru Gagniuc c69049091e libsigrok.h: Don't store subdriver in sr_dev_driver
Not all drivers use subdrivers. The only reason the subdriver field was
introduced was to accomodate the model of serial-dmm.

The sr_dev_driver struct is available to the frontend. Exposing the subdriver
field creates the problem of exposing knowledge of libsigrok's internal driver
layout, even though the drivers are designed to be a flat list to the frontend.

Store the subdriver in the dev_context struct of serial-dmm.

Signed-off-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
2012-12-13 23:16:34 +01:00
..
agilent-dmm hw_init(): Save struct sr_context * parameter in struct drv_context 2012-12-03 12:07:40 +01:00
alsa Add a struct sr_context * parameter to hw_init() 2012-12-03 12:07:40 +01:00
asix-sigma hw_init(): Save struct sr_context * parameter in struct drv_context 2012-12-03 12:07:40 +01:00
chronovu-la8 hw_init(): Save struct sr_context * parameter in struct drv_context 2012-12-03 12:07:40 +01:00
colead-slm hw_init(): Save struct sr_context * parameter in struct drv_context 2012-12-03 12:07:40 +01:00
common hardware: A few further USB error message fixups 2012-12-05 01:34:15 +01:00
demo hw_init(): Save struct sr_context * parameter in struct drv_context 2012-12-03 12:07:40 +01:00
fluke-dmm hw_init(): Save struct sr_context * parameter in struct drv_context 2012-12-03 12:07:40 +01:00
fx2lafw fx2lafw: Don't say "Device came back" when it didn't 2012-12-06 22:40:00 +01:00
hantek-dso hardware: A few further USB error message fixups 2012-12-05 01:34:15 +01:00
lascar-el-usb lascar-el-usb: add scanning functionality 2012-12-04 23:58:26 +01:00
link-mso19 Add a struct sr_context * parameter to hw_init() 2012-12-03 12:07:40 +01:00
openbench-logic-sniffer hw_init(): Save struct sr_context * parameter in struct drv_context 2012-12-03 12:07:40 +01:00
serial-dmm libsigrok.h: Don't store subdriver in sr_dev_driver 2012-12-13 23:16:34 +01:00
tondaj-sl-814 tondaj-sl-814: Fix unused parameter warning 2012-12-03 19:39:58 -06:00
uni-t-dmm hardware: Call libusb_error_name() in all USB-related error messages 2012-12-05 01:14:44 +01:00
victor-dmm hardware: Call libusb_error_name() in all USB-related error messages 2012-12-05 01:14:44 +01:00
zeroplus-logic-cube hardware: Call libusb_error_name() in all USB-related error messages 2012-12-05 01:14:44 +01:00
Makefile.am lascar-el-usb: Initial driver skeleton. 2012-12-03 03:53:44 +01:00