Deleted Added
full compact
usb_ioctl.h (184610) usb_ioctl.h (185087)
1/* $FreeBSD: head/sys/dev/usb2/include/usb2_ioctl.h 184610 2008-11-04 02:31:03Z alfred $ */
1/* $FreeBSD: head/sys/dev/usb2/include/usb2_ioctl.h 185087 2008-11-19 08:56:35Z alfred $ */
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:

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

26 * SUCH DAMAGE.
27 */
28
29#ifndef _USB2_IOCTL_H_
30#define _USB2_IOCTL_H_
31
32#include <sys/ioccom.h>
33
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:

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

26 * SUCH DAMAGE.
27 */
28
29#ifndef _USB2_IOCTL_H_
30#define _USB2_IOCTL_H_
31
32#include <sys/ioccom.h>
33
34/* Building "kdump" depends on these includes */
35
36#include <dev/usb2/include/usb2_endian.h>
37#include <dev/usb2/include/usb2_standard.h>
38
34#define USB_DEVICE_NAME "usb"
35#define USB_GENERIC_NAME "ugen"
36
37/* definition of USB power mode */
38#define USB_POWER_MODE_OFF 0 /* turn off device */
39#define USB_POWER_MODE_ON 1 /* always on */
40#define USB_POWER_MODE_SAVE 2 /* automatic suspend and resume */
41#define USB_POWER_MODE_SUSPEND 3 /* force suspend */

--- 260 unchanged lines hidden ---
39#define USB_DEVICE_NAME "usb"
40#define USB_GENERIC_NAME "ugen"
41
42/* definition of USB power mode */
43#define USB_POWER_MODE_OFF 0 /* turn off device */
44#define USB_POWER_MODE_ON 1 /* always on */
45#define USB_POWER_MODE_SAVE 2 /* automatic suspend and resume */
46#define USB_POWER_MODE_SUSPEND 3 /* force suspend */

--- 260 unchanged lines hidden ---