aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/pci_hotplug.h
diff options
context:
space:
mode:
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>2006-05-01 21:54:50 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-06-19 17:13:22 -0400
commit7430e34c70106a9576fc61d77604d164b187a1b7 (patch)
tree4b9eeaaa3702c9be216f820e8eeaf11f93610d2c /drivers/pci/hotplug/pci_hotplug.h
parent2433ee2654f0ac86f7886e5a8d01bee7f3c7c6db (diff)
[PATCH] acpi_pcihp: Fix programming _HPP values
This patch fixes the problem that hotplug parameters are not programed when PCI cards are hot-added by ACPIPHP, SHPCHP and PCIEHP driver. The pci_dev structure being hot-added is not bound to ACPI handle, so we need to trace PCI bus tree to find ACPI handle. Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com> Cc: Kristen Accardi <kristen.c.accardi@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/pci_hotplug.h')
-rw-r--r--drivers/pci/hotplug/pci_hotplug.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/hotplug/pci_hotplug.h b/drivers/pci/hotplug/pci_hotplug.h
index eb0d01d47236..6913ace70e9b 100644
--- a/drivers/pci/hotplug/pci_hotplug.h
+++ b/drivers/pci/hotplug/pci_hotplug.h
@@ -188,7 +188,7 @@ struct hotplug_params {
188#include <acpi/acpi_bus.h> 188#include <acpi/acpi_bus.h>
189#include <acpi/actypes.h> 189#include <acpi/actypes.h>
190extern acpi_status acpi_run_oshp(acpi_handle handle); 190extern acpi_status acpi_run_oshp(acpi_handle handle);
191extern acpi_status acpi_get_hp_params_from_firmware(struct pci_dev *dev, 191extern acpi_status acpi_get_hp_params_from_firmware(struct pci_bus *bus,
192 struct hotplug_params *hpp); 192 struct hotplug_params *hpp);
193int acpi_root_bridge(acpi_handle handle); 193int acpi_root_bridge(acpi_handle handle);
194#endif 194#endif