Re: [PATCH v6 01/22] usb: usbtmc: Add ioctl for generic requests on control

2018-09-20 Thread Greg KH
On Thu, Sep 20, 2018 at 01:00:35PM +0200, Greg KH wrote: > On Wed, Sep 12, 2018 at 10:50:51AM +0200, Guido Kiener wrote: > > --- a/include/uapi/linux/usb/tmc.h > > +++ b/include/uapi/linux/usb/tmc.h > > @@ -4,6 +4,7 @@ > > * Copyright (C) 2008 Novell, Inc. > > * Copyright (C) 2008 Greg

Re: [PATCH v6 01/22] usb: usbtmc: Add ioctl for generic requests on control

2018-09-20 Thread Greg KH
On Wed, Sep 12, 2018 at 10:50:51AM +0200, Guido Kiener wrote: > --- a/include/uapi/linux/usb/tmc.h > +++ b/include/uapi/linux/usb/tmc.h > @@ -4,6 +4,7 @@ > * Copyright (C) 2008 Novell, Inc. > * Copyright (C) 2008 Greg Kroah-Hartman > * Copyright (C) 2015 Dave Penkler > + * Copyright (C)

[PATCH v6 01/22] usb: usbtmc: Add ioctl for generic requests on control

2018-09-12 Thread Guido Kiener
Add USBTMC_IOCTL_CTRL_REQUEST to send arbitrary requests on the control pipe. Used by specific applications of IVI Foundation, Inc. to implement VISA API functions: viUsbControlIn/Out. The maximum length of control request is set to 4k. This ioctl does not support compatibility for 32 bit