[PATCH 6/8] staging/mei: Header file contain the Userland API, (IOCTL and its struct)
randy.dunlap at oracle.com
Wed Apr 27 15:15:41 UTC 2011
On Wed, 27 Apr 2011 13:27:35 +0300 Oren Weil wrote:
> + * This IOCTL is used to associate the current file descriptor with a
> + * FW Client (given by UUID). This opens a communication channel
> + * between a host client and a FW client. From this point every read and write
> + * will communicate with the associated FW client.
> + * Only in close() (file_operation release()) the communication between
> + * the clients is disconnected
> + *
> + * The IOCTL argument is a struct with a union the contains
> + * the input parameter and the output parameter for this IOCTL.
> + *
> + * The input parameter is UUID of the FW Client.
> + * The output parameter is the properties of the FW client
> + * (FW protocol version and max message size).
> + *
> + */
> +#define IOCTL_MEI_CONNECT_CLIENT \
> + _IOWR('H' , 0x01, struct mei_connect_client_data)
Please update Documentation/ioctl/ioctl-number.txt.
*** Remember to use Documentation/SubmitChecklist when testing your code ***
More information about the devel