Deleted Added
full compact
usb_ioctl.h (192984) usb_ioctl.h (194230)
1/* $FreeBSD: head/sys/dev/usb/usb_ioctl.h 192984 2009-05-28 17:36:36Z thompsa $ */
1/* $FreeBSD: head/sys/dev/usb/usb_ioctl.h 194230 2009-06-15 01:09:19Z thompsa $ */
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 * Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
5 * Copyright (c) 1998 Lennart Augustsson. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

--- 11 unchanged lines hidden (view full) ---

21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 */
28
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 * Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
5 * Copyright (c) 1998 Lennart Augustsson. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions
9 * are met:

--- 11 unchanged lines hidden (view full) ---

21 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 * SUCH DAMAGE.
27 */
28
29#ifndef _USB2_IOCTL_H_
30#define _USB2_IOCTL_H_
29#ifndef _USB_IOCTL_H_
30#define _USB_IOCTL_H_
31
32#include <sys/ioccom.h>
33
34/* Building "kdump" depends on these includes */
35
36#include <dev/usb/usb_endian.h>
37#include <dev/usb/usb.h>
38

--- 228 unchanged lines hidden (view full) ---

267#define USB_FS_CLEAR_STALL_SYNC _IOW ('U', 199, struct usb_fs_clear_stall_sync)
268
269/* USB quirk system interface */
270#define USB_DEV_QUIRK_GET _IOWR('Q', 0, struct usb_gen_quirk)
271#define USB_QUIRK_NAME_GET _IOWR('Q', 1, struct usb_gen_quirk)
272#define USB_DEV_QUIRK_ADD _IOW ('Q', 2, struct usb_gen_quirk)
273#define USB_DEV_QUIRK_REMOVE _IOW ('Q', 3, struct usb_gen_quirk)
274
31
32#include <sys/ioccom.h>
33
34/* Building "kdump" depends on these includes */
35
36#include <dev/usb/usb_endian.h>
37#include <dev/usb/usb.h>
38

--- 228 unchanged lines hidden (view full) ---

267#define USB_FS_CLEAR_STALL_SYNC _IOW ('U', 199, struct usb_fs_clear_stall_sync)
268
269/* USB quirk system interface */
270#define USB_DEV_QUIRK_GET _IOWR('Q', 0, struct usb_gen_quirk)
271#define USB_QUIRK_NAME_GET _IOWR('Q', 1, struct usb_gen_quirk)
272#define USB_DEV_QUIRK_ADD _IOW ('Q', 2, struct usb_gen_quirk)
273#define USB_DEV_QUIRK_REMOVE _IOW ('Q', 3, struct usb_gen_quirk)
274
275#endif /* _USB2_IOCTL_H_ */
275#endif /* _USB_IOCTL_H_ */