Bjørn Mork | 3edce1c | 2013-03-17 21:00:06 +0100 | [diff] [blame] | 1 | /* |
| 2 | * USB CDC Device Management userspace API definitions |
| 3 | * |
| 4 | * This program is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU General Public License |
| 6 | * version 2 as published by the Free Software Foundation. |
| 7 | */ |
| 8 | |
| 9 | #ifndef _UAPI__LINUX_USB_CDC_WDM_H |
| 10 | #define _UAPI__LINUX_USB_CDC_WDM_H |
| 11 | |
Greg Kroah-Hartman | 7ac3764 | 2014-05-27 16:32:10 -0700 | [diff] [blame] | 12 | #include <linux/types.h> |
| 13 | |
Bjørn Mork | 3edce1c | 2013-03-17 21:00:06 +0100 | [diff] [blame] | 14 | /* |
| 15 | * This IOCTL is used to retrieve the wMaxCommand for the device, |
| 16 | * defining the message limit for both reading and writing. |
| 17 | * |
| 18 | * For CDC WDM functions this will be the wMaxCommand field of the |
| 19 | * Device Management Functional Descriptor. |
| 20 | */ |
| 21 | #define IOCTL_WDM_MAX_COMMAND _IOR('H', 0xA0, __u16) |
| 22 | |
| 23 | #endif /* _UAPI__LINUX_USB_CDC_WDM_H */ |