Deleted Added
full compact
usb_hub.c (199672) usb_hub.c (199675)
1/* $FreeBSD: head/sys/dev/usb/usb_hub.c 199672 2009-11-22 21:16:43Z thompsa $ */
1/* $FreeBSD: head/sys/dev/usb/usb_hub.c 199675 2009-11-22 21:21:22Z thompsa $ */
2/*-
3 * Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
4 * Copyright (c) 1998 Lennart Augustsson. All rights reserved.
5 * Copyright (c) 2008 Hans Petter Selasky. 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:

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

74#define UHUB_N_TRANSFER 1
75
76#ifdef USB_DEBUG
77static int uhub_debug = 0;
78
79SYSCTL_NODE(_hw_usb, OID_AUTO, uhub, CTLFLAG_RW, 0, "USB HUB");
80SYSCTL_INT(_hw_usb_uhub, OID_AUTO, debug, CTLFLAG_RW, &uhub_debug, 0,
81 "Debug level");
2/*-
3 * Copyright (c) 1998 The NetBSD Foundation, Inc. All rights reserved.
4 * Copyright (c) 1998 Lennart Augustsson. All rights reserved.
5 * Copyright (c) 2008 Hans Petter Selasky. 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:

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

74#define UHUB_N_TRANSFER 1
75
76#ifdef USB_DEBUG
77static int uhub_debug = 0;
78
79SYSCTL_NODE(_hw_usb, OID_AUTO, uhub, CTLFLAG_RW, 0, "USB HUB");
80SYSCTL_INT(_hw_usb_uhub, OID_AUTO, debug, CTLFLAG_RW, &uhub_debug, 0,
81 "Debug level");
82
83TUNABLE_INT("hw.usb.uhub.debug", &uhub_debug);
82#endif
83
84#if USB_HAVE_POWERD
85static int usb_power_timeout = 30; /* seconds */
86
87SYSCTL_INT(_hw_usb, OID_AUTO, power_timeout, CTLFLAG_RW,
88 &usb_power_timeout, 0, "USB power timeout");
89#endif

--- 2007 unchanged lines hidden ---
84#endif
85
86#if USB_HAVE_POWERD
87static int usb_power_timeout = 30; /* seconds */
88
89SYSCTL_INT(_hw_usb, OID_AUTO, power_timeout, CTLFLAG_RW,
90 &usb_power_timeout, 0, "USB power timeout");
91#endif

--- 2007 unchanged lines hidden ---