crypto: atmel-sha - remove unnecessary static in atmel_sha_remove()
[linux-stable.git] / include / linux / usbdevice_fs.h
blob04a26285416cf339dbbef58e5565b676bcf7c65a
1 /*****************************************************************************/
3 /*
4 * usbdevice_fs.h -- USB device file system.
6 * Copyright (C) 2000
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.
23 * History:
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>
33 #ifdef CONFIG_COMPAT
34 #include <linux/compat.h>
36 struct usbdevfs_ctrltransfer32 {
37 u8 bRequestType;
38 u8 bRequest;
39 u16 wValue;
40 u16 wIndex;
41 u16 wLength;
42 u32 timeout; /* in milliseconds */
43 compat_caddr_t data;
46 struct usbdevfs_bulktransfer32 {
47 compat_uint_t ep;
48 compat_uint_t len;
49 compat_uint_t timeout; /* in milliseconds */
50 compat_caddr_t data;
53 struct usbdevfs_disconnectsignal32 {
54 compat_int_t signr;
55 compat_caddr_t context;
58 struct usbdevfs_urb32 {
59 unsigned char type;
60 unsigned char endpoint;
61 compat_int_t status;
62 compat_uint_t flags;
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;
69 compat_uint_t signr;
70 compat_caddr_t usercontext; /* unused */
71 struct usbdevfs_iso_packet_desc iso_frame_desc[0];
74 struct usbdevfs_ioctl32 {
75 s32 ifno;
76 s32 ioctl_code;
77 compat_caddr_t data;
79 #endif
80 #endif /* _LINUX_USBDEVICE_FS_H */