diff options
author | Adrian Bunk <bunk@stusta.de> | 2007-03-26 21:02:51 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-05-02 22:02:38 -0400 |
commit | 5adc55da4a7758021bcc374904b0f8b076508a11 (patch) | |
tree | 41f113f25532c3ffc1e3194114fbc68d67ce2001 /drivers/pci | |
parent | 032de8e2fe3c0eec5fb0ffe4d38aa602dad397dc (diff) |
PCI: remove the broken PCI_MULTITHREAD_PROBE option
This patch removes the PCI_MULTITHREAD_PROBE option that had already
been marked as broken.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/Kconfig | 25 | ||||
-rw-r--r-- | drivers/pci/pci-driver.c | 15 |
2 files changed, 0 insertions, 40 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index 70efe8f285a6..7a1d6d512837 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig | |||
@@ -21,31 +21,6 @@ config PCI_MSI | |||
21 | 21 | ||
22 | If you don't know what to do here, say N. | 22 | If you don't know what to do here, say N. |
23 | 23 | ||
24 | config PCI_MULTITHREAD_PROBE | ||
25 | bool "PCI Multi-threaded probe (EXPERIMENTAL)" | ||
26 | depends on PCI && EXPERIMENTAL && BROKEN | ||
27 | help | ||
28 | Say Y here if you want the PCI core to spawn a new thread for | ||
29 | every PCI device that is probed. This can cause a huge | ||
30 | speedup in boot times on multiprocessor machines, and even a | ||
31 | smaller speedup on single processor machines. | ||
32 | |||
33 | But it can also cause lots of bad things to happen. A number | ||
34 | of PCI drivers cannot properly handle running in this way, | ||
35 | some will just not work properly at all, while others might | ||
36 | decide to blow up power supplies with a huge load all at once, | ||
37 | so use this option at your own risk. | ||
38 | |||
39 | It is very unwise to use this option if you are not using a | ||
40 | boot process that can handle devices being created in any | ||
41 | order. A program that can create persistent block and network | ||
42 | device names (like udev) is a good idea if you wish to use | ||
43 | this option. | ||
44 | |||
45 | Again, use this option at your own risk, you have been warned! | ||
46 | |||
47 | When in doubt, say N. | ||
48 | |||
49 | config PCI_DEBUG | 24 | config PCI_DEBUG |
50 | bool "PCI Debugging" | 25 | bool "PCI Debugging" |
51 | depends on PCI && DEBUG_KERNEL | 26 | depends on PCI && DEBUG_KERNEL |
diff --git a/drivers/pci/pci-driver.c b/drivers/pci/pci-driver.c index 07fdb3cd6172..3bb7739d26a5 100644 --- a/drivers/pci/pci-driver.c +++ b/drivers/pci/pci-driver.c | |||
@@ -14,20 +14,6 @@ | |||
14 | #include "pci.h" | 14 | #include "pci.h" |
15 | 15 | ||
16 | /* | 16 | /* |
17 | * Registration of PCI drivers and handling of hot-pluggable devices. | ||
18 | */ | ||
19 | |||
20 | /* multithreaded probe logic */ | ||
21 | static int pci_multithread_probe = | ||
22 | #ifdef CONFIG_PCI_MULTITHREAD_PROBE | ||
23 | 1; | ||
24 | #else | ||
25 | 0; | ||
26 | #endif | ||
27 | __module_param_call("", pci_multithread_probe, param_set_bool, param_get_bool, &pci_multithread_probe, 0644); | ||
28 | |||
29 | |||
30 | /* | ||
31 | * Dynamic device IDs are disabled for !CONFIG_HOTPLUG | 17 | * Dynamic device IDs are disabled for !CONFIG_HOTPLUG |
32 | */ | 18 | */ |
33 | 19 | ||
@@ -569,7 +555,6 @@ struct bus_type pci_bus_type = { | |||
569 | 555 | ||
570 | static int __init pci_driver_init(void) | 556 | static int __init pci_driver_init(void) |
571 | { | 557 | { |
572 | pci_bus_type.multithread_probe = pci_multithread_probe; | ||
573 | return bus_register(&pci_bus_type); | 558 | return bus_register(&pci_bus_type); |
574 | } | 559 | } |
575 | 560 | ||