Re: [PATCH v6 02/22] usb: usbtmc: Add ioctl for vendor specific write

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Sep 12, 2018 at 10:50:52AM +0200, Guido Kiener wrote:
> +/*
> + * 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



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux