On Thu, May 17, 2018 at 07:03:32PM +0200, Guido Kiener wrote: > - Optimize read/write functions for better bandwidth and > fixes reading of long transfers > > - add ioctl USBTMC_IOCTL_AUTO_ABORT to configure auto_abort for > each specific file handle. > > - add ioctl USBTMC_IOCTL_MSG_IN_ATTR that returns the specific > bmTransferAttributes field of the last DEV_DEP_MSG_IN Bulk-IN > header. This header is received by the read() function. The > meaning of the (u8) bitmap bmTransferAttributes is: > Bit 0 = EOM flag is set when the last of a USBTMC message is > received. > Bit 1 = is set when the last byte is a termchar (e.g. '\n'). > Note that this bit is always zero when the device does not support > termchar feature or when termchar detection is not enabled > (see ioctl USBTMC_IOCTL_CONFIG_TERMCHAR). Should be 3 patches. Again, if you have to list things in a changelog, that's a huge hint it needs to be broken up. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html