1 /*****************************************************************************/
4 * usbdevice_fs.h -- USB device file system.
7 * Thomas Sailer (sailer@ife.ee.ethz.ch)
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24 * 0.1 04.01.2000 Created
27 /*****************************************************************************/
28 #ifndef _LINUX_USBDEVICE_FS_H
29 #define _LINUX_USBDEVICE_FS_H
31 #include <uapi/linux/usbdevice_fs.h>
34 #include <linux/compat.h>
36 struct usbdevfs_ctrltransfer32
{
42 u32 timeout
; /* in milliseconds */
46 struct usbdevfs_bulktransfer32
{
49 compat_uint_t timeout
; /* in milliseconds */
53 struct usbdevfs_disconnectsignal32
{
55 compat_caddr_t context
;
58 struct usbdevfs_urb32
{
60 unsigned char endpoint
;
63 compat_caddr_t buffer
;
64 compat_int_t buffer_length
;
65 compat_int_t actual_length
;
66 compat_int_t start_frame
;
67 compat_int_t number_of_packets
;
68 compat_int_t error_count
;
70 compat_caddr_t usercontext
; /* unused */
71 struct usbdevfs_iso_packet_desc iso_frame_desc
[0];
74 struct usbdevfs_ioctl32
{
80 #endif /* _LINUX_USBDEVICE_FS_H */