diff options
author | Jeff Garzik <jeff@garzik.org> | 2007-10-29 09:48:09 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-11-05 13:35:17 -0800 |
commit | bd3989e006ed1c88d47c3308746ae0330fc1bcf4 (patch) | |
tree | e2e5bb10e57e901519f998f9ac703d3bc8bb9c1e /drivers/pci/Kconfig | |
parent | ccb9d59e682d7bd758457b6d2458365cc68fad7a (diff) | |
download | talos-op-linux-bd3989e006ed1c88d47c3308746ae0330fc1bcf4.tar.gz talos-op-linux-bd3989e006ed1c88d47c3308746ae0330fc1bcf4.zip |
PCI: Add Kconfig option to disable deprecated pci_find_* API
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/Kconfig')
-rw-r--r-- | drivers/pci/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/pci/Kconfig b/drivers/pci/Kconfig index 7a1d6d512837..e1ca42591ac4 100644 --- a/drivers/pci/Kconfig +++ b/drivers/pci/Kconfig @@ -21,6 +21,17 @@ config PCI_MSI If you don't know what to do here, say N. +config PCI_LEGACY + bool "Enable deprecated pci_find_* API" + depends on PCI + default y + help + Say Y here if you want to include support for the deprecated + pci_find_slot() and pci_find_device() APIs. Most drivers have + been converted over to using the proper hotplug APIs, so this + option serves to include/exclude only a few drivers that are + still using this API. + config PCI_DEBUG bool "PCI Debugging" depends on PCI && DEBUG_KERNEL |