linux/drivers/pci/hotplug
Bjorn Helgaas 5e3573db2b PCI hotplug: clean up acpi_run_hpp()
This patch cleans up acpi_run_hpp() and follows the style of acpi_run_hpx():
    - remove unnecessary METHOD_NAME__HPP #define
    - use ACPI_ALLOCATE_BUFFER rather than evaluating _HPP twice
    - validate _HPP package length (defined as 4 by the spec)
    - avoid ref to undefined data if FW provides < 4 elements
    - remove temporary nui[] array

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Reviewed-by: Alex Chiang <achiang@hp.com>
Reviewed-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Acked-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Jesse Barnes <jbarnes@virtuousgeek.org>
2009-09-14 17:39:14 -07:00
..
acpi_pcihp.c PCI hotplug: clean up acpi_run_hpp() 2009-09-14 17:39:14 -07:00
acpiphp_core.c
acpiphp_glue.c PCI hotplug: acpiphp: use generic pci_configure_slot() 2009-09-14 17:39:12 -07:00
acpiphp_ibm.c
acpiphp.h PCI hotplug: acpiphp: don't cache hotplug_params in acpiphp_bridge 2009-09-14 17:38:22 -07:00
cpci_hotplug_core.c
cpci_hotplug_pci.c
cpci_hotplug.h
cpcihp_generic.c
cpcihp_zt5550.c
cpcihp_zt5550.h
cpqphp_core.c
cpqphp_ctrl.c
cpqphp_nvram.c
cpqphp_nvram.h
cpqphp_pci.c
cpqphp_sysfs.c
cpqphp.h
fakephp.c
ibmphp_core.c
ibmphp_ebda.c
ibmphp_hpc.c
ibmphp_pci.c
ibmphp_res.c
ibmphp.h
Kconfig
Makefile PCI hotplug: add pci_configure_slot() 2009-09-14 17:39:05 -07:00
pci_hotplug_core.c PCI hotplug: add support for 5.0G link speed 2009-09-09 13:29:50 -07:00
pciehp_acpi.c PCI Hotplug: convert acpi_pci_detect_ejectable() to take an acpi_handle 2009-09-14 08:46:58 -07:00
pciehp_core.c
pciehp_ctrl.c PCI: Simplify hotplug mch quirk. 2009-09-09 14:06:49 -07:00
pciehp_hpc.c PCI hotplug: add support for 5.0G link speed 2009-09-09 13:29:50 -07:00
pciehp_pci.c PCI hotplug: pciehp: use generic pci_configure_slot() 2009-09-14 17:39:09 -07:00
pciehp.h PCI hotplug: pciehp: use generic pci_configure_slot() 2009-09-14 17:39:09 -07:00
pcihp_skeleton.c
pcihp_slot.c PCI hotplug: add pci_configure_slot() 2009-09-14 17:39:05 -07:00
rpadlpar_core.c
rpadlpar_sysfs.c
rpadlpar.h
rpaphp_core.c
rpaphp_pci.c
rpaphp_slot.c
rpaphp.h
sgi_hotplug.c
shpchp_core.c
shpchp_ctrl.c
shpchp_hpc.c
shpchp_pci.c PCI hotplug: shpchp: use generic pci_configure_slot() 2009-09-14 17:39:11 -07:00
shpchp_sysfs.c
shpchp.h PCI hotplug: shpchp: use generic pci_configure_slot() 2009-09-14 17:39:11 -07:00