usb: usbtmc: Add ioctl for vendor specific write
Greg Kroah-Hartman
maintainerPATCH v6 2/22 usb: usbtmc: Add ioctl for vendor specific write
Review
Quoted 10 lines · Guido Kiener
(quoted diff) +10
-0+/* + * usbtmc_message->flags: + */ +#define USBTMC_FLAG_ASYNC 0x0001 +#define USBTMC_FLAG_APPEND 0x0002 + +struct usbtmc_message { + __u32 transfer_size; /* size of bytes to transfer */ + __u32 transferred; /* size of received/written bytes */ + __u32 flags; /* bit 0: 0 = synchronous; 1 = asynchronous */
endian? Native or are these properly transferred to the hardware in the correct way?
thanks,
greg k-h