Deleted Added
full compact
usb_debug.h (207077) usb_debug.h (241987)
1/* $FreeBSD: head/sys/dev/usb/usb_debug.h 207077 2010-04-22 21:31:34Z thompsa $ */
1/* $FreeBSD: head/sys/dev/usb/usb_debug.h 241987 2012-10-24 07:23:29Z hselasky $ */
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.

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

54struct usb_xfer;
55
56void usb_dump_iface(struct usb_interface *iface);
57void usb_dump_device(struct usb_device *udev);
58void usb_dump_queue(struct usb_endpoint *ep);
59void usb_dump_endpoint(struct usb_endpoint *ep);
60void usb_dump_xfer(struct usb_xfer *xfer);
61
2/*-
3 * Copyright (c) 2008 Hans Petter Selasky. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer.

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

54struct usb_xfer;
55
56void usb_dump_iface(struct usb_interface *iface);
57void usb_dump_device(struct usb_device *udev);
58void usb_dump_queue(struct usb_endpoint *ep);
59void usb_dump_endpoint(struct usb_endpoint *ep);
60void usb_dump_xfer(struct usb_xfer *xfer);
61
62#ifdef USB_DEBUG
63extern unsigned int usb_port_reset_delay;
64extern unsigned int usb_port_root_reset_delay;
65extern unsigned int usb_port_reset_recovery;
66extern unsigned int usb_port_powerup_delay;
67extern unsigned int usb_port_resume_delay;
68extern unsigned int usb_set_address_settle;
69extern unsigned int usb_resume_delay;
70extern unsigned int usb_resume_wait;
71extern unsigned int usb_resume_recovery;
72extern unsigned int usb_extra_power_up_time;
73#else
74#define usb_port_reset_delay USB_PORT_RESET_DELAY
75#define usb_port_root_reset_delay USB_PORT_ROOT_RESET_DELAY
76#define usb_port_reset_recovery USB_PORT_RESET_RECOVERY
77#define usb_port_powerup_delay USB_PORT_POWERUP_DELAY
78#define usb_port_resume_delay USB_PORT_RESUME_DELAY
79#define usb_set_address_settle USB_SET_ADDRESS_SETTLE
80#define usb_resume_delay USB_RESUME_DELAY
81#define usb_resume_wait USB_RESUME_WAIT
82#define usb_resume_recovery USB_RESUME_RECOVERY
83#define usb_extra_power_up_time USB_EXTRA_POWER_UP_TIME
84#endif
85
62#endif /* _USB_DEBUG_H_ */
86#endif /* _USB_DEBUG_H_ */