diff options
author | Greg Kroah-Hartman <gregkh@suse.de> | 2007-01-16 18:41:03 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-01-22 14:55:17 -0500 |
commit | b1bf4f412b4818869106ffcb5304d69551697b9c (patch) | |
tree | 3cad316827279f836d28ce4954d7f87fa34acb7c /drivers/usb/core | |
parent | 53e8f84dc68f29c724bbb7e0675040386f6143ae (diff) |
USB: disable USB_MULTITHREAD_PROBE
Disable the USB_MULTITHREAD_PROBE option because it causes crashes on
people's machines and they never remember to actually read the config
help files.
No one likes this, everyone hates it, I'm going to go eat worms...
The full logic will be ripped out later.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core')
-rw-r--r-- | drivers/usb/core/Kconfig | 16 | ||||
-rw-r--r-- | drivers/usb/core/hub.c | 9 |
2 files changed, 1 insertions, 24 deletions
diff --git a/drivers/usb/core/Kconfig b/drivers/usb/core/Kconfig index f8324d8d06ac..3e66b2a9974a 100644 --- a/drivers/usb/core/Kconfig +++ b/drivers/usb/core/Kconfig | |||
@@ -72,22 +72,6 @@ config USB_SUSPEND | |||
72 | 72 | ||
73 | If you are unsure about this, say N here. | 73 | If you are unsure about this, say N here. |
74 | 74 | ||
75 | config USB_MULTITHREAD_PROBE | ||
76 | bool "USB Multi-threaded probe (EXPERIMENTAL)" | ||
77 | depends on USB && EXPERIMENTAL | ||
78 | default n | ||
79 | help | ||
80 | Say Y here if you want the USB core to spawn a new thread for | ||
81 | every USB device that is probed. This can cause a small speedup | ||
82 | in boot times on systems with a lot of different USB devices. | ||
83 | |||
84 | This option should be safe to enable, but if any odd probing | ||
85 | problems are found, please disable it, or dynamically turn it | ||
86 | off in the /sys/module/usbcore/parameters/multithread_probe | ||
87 | file | ||
88 | |||
89 | When in doubt, say N. | ||
90 | |||
91 | config USB_OTG | 75 | config USB_OTG |
92 | bool | 76 | bool |
93 | depends on USB && EXPERIMENTAL | 77 | depends on USB && EXPERIMENTAL |
diff --git a/drivers/usb/core/hub.c b/drivers/usb/core/hub.c index 2651c2e2a89f..1988224b362b 100644 --- a/drivers/usb/core/hub.c +++ b/drivers/usb/core/hub.c | |||
@@ -88,14 +88,7 @@ static DECLARE_WAIT_QUEUE_HEAD(khubd_wait); | |||
88 | static struct task_struct *khubd_task; | 88 | static struct task_struct *khubd_task; |
89 | 89 | ||
90 | /* multithreaded probe logic */ | 90 | /* multithreaded probe logic */ |
91 | static int multithread_probe = | 91 | static int multithread_probe = 0; |
92 | #ifdef CONFIG_USB_MULTITHREAD_PROBE | ||
93 | 1; | ||
94 | #else | ||
95 | 0; | ||
96 | #endif | ||
97 | module_param(multithread_probe, bool, S_IRUGO); | ||
98 | MODULE_PARM_DESC(multithread_probe, "Run each USB device probe in a new thread"); | ||
99 | 92 | ||
100 | /* cycle leds on hubs that aren't blinking for attention */ | 93 | /* cycle leds on hubs that aren't blinking for attention */ |
101 | static int blinkenlights = 0; | 94 | static int blinkenlights = 0; |