USB: usbtmc: Add flag rigol_quirk to usbtmc_device_data
authorAlexandre Peixoto Ferreira <alexandref75@gmail.com>
Tue, 30 Apr 2013 05:51:50 +0000 (00:51 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 17 May 2013 00:50:50 +0000 (17:50 -0700)
commit8402db5dda3ac167014c143a633efff340aaff5b
treec319ee51bb6716d3aded0de8b6f611077cf5d1d0
parent6523f6d2475df99e441bd742d2a8993f64124ce9
USB: usbtmc: Add flag rigol_quirk to usbtmc_device_data

These patches implement a modification of the USBTMC
protocol to allow operation with Rigol equipment. Rigol requires that a
single TMC request to receive any buffer size and bulk requests to get the
data. The original algorithm sends a TMC request for each subset of the data
(a single USB transaction). The modification is only active for Rigol
equipment, vendor and product set is contained in the array usbtmc_id_quirk.

This patch creates the rigol_quirk variable and the arrays for the
idvendor and idproduct.

Signed-off-by: Alexandre Peixoto Ferreira <alexandref75@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/class/usbtmc.c