.config_list = config_list, \ .dev_open = dev_open, \ .dev_close = dev_close, \ .dev_acquisition_start = dev_acquisition_start, \ .dev_acquisition_stop = dev_acquisition_stop, \ .context = NULL, \ }, \ VENDOR, MODEL, BAUDRATE, PACKETSIZE, \ VALID, PARSE, DETAILS, sizeof(struct CHIPSET##_info) \ } SR_PRIV const struct dmm_info *uni_t_dmm_drivers[] = { DMM( "tecpel-dmm-8061", fs9721, "Tecpel", "DMM-8061", 2400, FS9721_PACKET_SIZE, sr_fs9721_packet_valid, sr_fs9721_parse, sr_fs9721_00_temp_c ), DMM( "uni-t-ut372", ut372, "UNI-T", "UT372", 2400, UT372_PACKET_SIZE, sr_ut372_packet_valid, sr_ut372_parse, NULL ), DMM( "uni-t-ut60a", fs9721, "UNI-T", "UT60A", 2400, FS9721_PACKET_SIZE, sr_fs9721_packet_valid, sr_fs9721_parse,
.config_list = config_list, \ .dev_open = std_serial_dev_open, \ .dev_close = std_serial_dev_close, \ .dev_acquisition_start = dev_acquisition_start, \ .dev_acquisition_stop = std_serial_dev_acquisition_stop, \ .context = NULL, \ }, \ VENDOR, MODEL, CONN, BAUDRATE, PACKETSIZE, TIMEOUT, DELAY, \ REQUEST, VALID, PARSE, DETAILS, sizeof(struct CHIPSET##_info) \ }).di SR_REGISTER_DEV_DRIVER_LIST(serial_dmm_drivers, DMM( "bbcgm-2010", metex14, "BBC Goertz Metrawatt", "M2110", "1200/7n2", 1200, BBCGM_M2110_PACKET_SIZE, 0, 0, NULL, sr_m2110_packet_valid, sr_m2110_parse, NULL ), DMM( "digitek-dt4000zc", fs9721, "Digitek", "DT4000ZC", "2400/8n1/dtr=1", 2400, FS9721_PACKET_SIZE, 0, 0, NULL, sr_fs9721_packet_valid, sr_fs9721_parse, sr_fs9721_10_temp_c ), DMM( "tekpower-tp4000ZC", fs9721, "TekPower", "TP4000ZC", "2400/8n1/dtr=1", 2400, FS9721_PACKET_SIZE, 0, 0, NULL, sr_fs9721_packet_valid, sr_fs9721_parse,