diff options
Diffstat (limited to 'include/linux/usbdevice_fs.h')
| -rw-r--r-- | include/linux/usbdevice_fs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/usbdevice_fs.h b/include/linux/usbdevice_fs.h index 15591d2ea400..3b74666be027 100644 --- a/include/linux/usbdevice_fs.h +++ b/include/linux/usbdevice_fs.h | |||
| @@ -125,6 +125,12 @@ struct usbdevfs_hub_portinfo { | |||
| 125 | char port [127]; /* e.g. port 3 connects to device 27 */ | 125 | char port [127]; /* e.g. port 3 connects to device 27 */ |
| 126 | }; | 126 | }; |
| 127 | 127 | ||
| 128 | /* Device capability flags */ | ||
| 129 | #define USBDEVFS_CAP_ZERO_PACKET 0x01 | ||
| 130 | #define USBDEVFS_CAP_BULK_CONTINUATION 0x02 | ||
| 131 | #define USBDEVFS_CAP_NO_PACKET_SIZE_LIM 0x04 | ||
| 132 | #define USBDEVFS_CAP_BULK_SCATTER_GATHER 0x08 | ||
| 133 | |||
| 128 | #ifdef __KERNEL__ | 134 | #ifdef __KERNEL__ |
| 129 | #ifdef CONFIG_COMPAT | 135 | #ifdef CONFIG_COMPAT |
| 130 | #include <linux/compat.h> | 136 | #include <linux/compat.h> |
| @@ -204,4 +210,6 @@ struct usbdevfs_ioctl32 { | |||
| 204 | #define USBDEVFS_CONNECT _IO('U', 23) | 210 | #define USBDEVFS_CONNECT _IO('U', 23) |
| 205 | #define USBDEVFS_CLAIM_PORT _IOR('U', 24, unsigned int) | 211 | #define USBDEVFS_CLAIM_PORT _IOR('U', 24, unsigned int) |
| 206 | #define USBDEVFS_RELEASE_PORT _IOR('U', 25, unsigned int) | 212 | #define USBDEVFS_RELEASE_PORT _IOR('U', 25, unsigned int) |
| 213 | #define USBDEVFS_GET_CAPABILITIES _IOR('U', 26, __u32) | ||
| 214 | |||
| 207 | #endif /* _LINUX_USBDEVICE_FS_H */ | 215 | #endif /* _LINUX_USBDEVICE_FS_H */ |
