Merge tag 'xtensa-20180225' of git://github.com/jcmvbkbc/linux-xtensa
[cris-mirror.git] / include / uapi / linux / usb / cdc-wdm.h
bloba927c7f6f68ab9e064f220b5373598496dbeb250
1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
2 /*
3 * USB CDC Device Management userspace API definitions
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License
7 * version 2 as published by the Free Software Foundation.
8 */
10 #ifndef _UAPI__LINUX_USB_CDC_WDM_H
11 #define _UAPI__LINUX_USB_CDC_WDM_H
13 #include <linux/types.h>
16 * This IOCTL is used to retrieve the wMaxCommand for the device,
17 * defining the message limit for both reading and writing.
19 * For CDC WDM functions this will be the wMaxCommand field of the
20 * Device Management Functional Descriptor.
22 #define IOCTL_WDM_MAX_COMMAND _IOR('H', 0xA0, __u16)
24 #endif /* _UAPI__LINUX_USB_CDC_WDM_H */