linux/drivers/pci/hotplug
Thomas Renninger 7779688fc3 ACPI: acpi_bus_{scan,bus,add}: return -ENODEV if no device was found
Callers (acpi_memhotplug.c, dock.c and others) check for the return
value of acpi_bus_add() and assume a valid device was returned in
case zero was returned.

Thus return -ENODEV if no device was found in acpi_bus_scan and
propagate this through acpi_bus_add and acpi_bus_start.

Also remove a confusing comment in acpiphp_glue.c, acpi_bus_scan
will and cannot invoke if acpi_bus_add returns no valid device.

Signed-off-by: Thomas Renninger <trenn@suse.de>
Acked-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
2010-01-31 21:43:32 -05:00
..
acpi_pcihp.c Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci-2.6 2009-12-11 12:18:16 -08:00
acpiphp_core.c
acpiphp_glue.c ACPI: acpi_bus_{scan,bus,add}: return -ENODEV if no device was found 2010-01-31 21:43:32 -05:00
acpiphp_ibm.c ACPICA: Add post-order callback to acpi_walk_namespace 2009-11-24 21:31:10 -05:00
acpiphp.h PCI hotplug: move IOAPIC support from acpiphp to ioapic driver 2009-11-04 13:06:39 -08: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 PCI: ibmphp_hpc: don't release hw sem twice if kthread stops 2009-12-04 15:18:01 -08:00
ibmphp_pci.c
ibmphp_res.c
ibmphp.h
Kconfig
Makefile PCI hotplug: acpiphp should be linked after vendor drivers 2009-11-04 08:47:14 -08:00
pci_hotplug_core.c
pciehp_acpi.c pciehp: use pci_pcie_cap() 2009-11-24 15:25:15 -08:00
pciehp_core.c PCI: pciehp: prevent unnecessary power off 2009-11-04 09:02:35 -08:00
pciehp_ctrl.c PCI pciehp: fix power fault interrupt storm problem 2009-11-24 15:25:19 -08:00
pciehp_hpc.c PCI pciehp: fix power fault interrupt storm problem 2009-11-24 15:25:19 -08:00
pciehp_pci.c
pciehp.h pciehp: use pci_pcie_cap() 2009-11-24 15:25:15 -08:00
pcihp_skeleton.c
pcihp_slot.c PCI hotplug: use pci_is_pcie() 2009-11-24 15:25:18 -08: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
shpchp_sysfs.c
shpchp.h PCI: change PCI nomenclature in drivers/pci/ (comment changes) 2009-12-16 13:37:53 -08:00