usb: usbtmc: Optimize read/write and add ioctls for auto_abort
Greg Kroah-Hartman
maintainerPATCH 8/12 usb: usbtmc: Optimize read/write and add ioctls for auto_abort
Quoted 6 lines · Guido Kiener
- Optimize read/write functions for better bandwidth and fixes reading of long transfers
- add ioctl
USBTMC_IOCTL_AUTO_ABORTto configureauto_abortfor each specific file handle.
Quoted 10 lines
- add ioctl
USBTMC_IOCTL_MSG_IN_ATTRthat returns the specific bmTransferAttributes field of the lastDEV_DEP_MSG_INBulk-IN header. This header is received by theread()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 ioctlUSBTMC_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 [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html