linux/drivers/pci/hotplug
Kenji Kaneshige 7c8f25da12 [PATCH] acpiphp: Scan slots under the nested P2P bridge
Current ACPIPHP driver scans only slots under the top level PCI-to-PCI
bridge. So hotplug PCI slots under the nested PCI-to-PCI bridge would
not be detected. For example, if the system has the ACPI namespace
like below, hotplug slots woule not be detected.

Device (PCI0) {						/* Root bridge */
	Name (_HID, "PNP0A03")
	Device (P2PA) {					/* PCI-to-PCI bridge */
		Name (_ADR, ...)
		Device (P2PB) {				/* PCI-to-PCI bridge */
			Name (_ADR, ...)
			Device (S0F0) {			/* hotplug slot */
				Name (_ADR, ...)
				Name (_SUN, ...)
				Method (_EJ0, ...) { ... }
			}
			...
			Device (S0F7) {			/* hotplug slot */
				Name (_ADR, ...)
				Name (_SUN, ...)
				Method (_EJ0, ...) { ... }
			}
			Device (S1F0) {			/* hotplug slot */
				Name (_ADR, ...)
				Name (_SUN, ...)
				Method (_EJ0, ...) { ... }
			}
			...
		}
	}
}

This patch fixes this issue.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2006-03-23 14:35:16 -08:00
..
acpiphp_core.c [PATCH] acpiphp - slot management fix - V4 2006-03-23 14:35:15 -08:00
acpiphp_dock.c [PATCH] acpiphp: add dock event handling 2006-03-23 14:35:15 -08:00
acpiphp_glue.c [PATCH] acpiphp: Scan slots under the nested P2P bridge 2006-03-23 14:35:16 -08:00
acpiphp_ibm.c [PATCH] PCI Hotplug: fix up coding style issues 2006-01-31 18:00:11 -08:00
acpiphp.h [PATCH] acpiphp - slot management fix - V4 2006-03-23 14:35:15 -08:00
cpci_hotplug_core.c
cpci_hotplug_pci.c
cpci_hotplug.h
cpcihp_generic.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
cpcihp_zt5550.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
cpcihp_zt5550.h
cpqphp_core.c [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
cpqphp_ctrl.c [PATCH] PCI: cpqphp_ctrl.c: board_replaced(): remove dead code 2006-03-23 14:35:16 -08:00
cpqphp_nvram.c
cpqphp_nvram.h
cpqphp_pci.c [PATCH] kfree cleanup: misc remaining drivers 2005-11-07 07:54:05 -08:00
cpqphp_sysfs.c [PATCH] PCI Hotplug: fix up the sysfs file in the compaq pci hotplug driver 2006-01-09 12:13:20 -08:00
cpqphp.h [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
fakephp.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00
ibmphp_core.c [PATCH] PCI Hotplug: fix up coding style issues 2006-01-31 18:00:11 -08:00
ibmphp_ebda.c
ibmphp_hpc.c [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
ibmphp_pci.c [PATCH] PCI Hotplug: ibmphp_pci.c copy-n-paste fix 2006-01-09 12:13:16 -08:00
ibmphp_res.c
ibmphp.h
Kconfig [PATCH] PCI Hotplug: fix up Kconfig help text 2006-01-31 18:00:11 -08:00
Makefile [PATCH] acpiphp: add dock event handling 2006-03-23 14:35:15 -08:00
pci_hotplug_core.c
pci_hotplug.h
pciehp_core.c [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
pciehp_ctrl.c [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
pciehp_hpc.c [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
pciehp_pci.c [PATCH] pciehp: allow bridged card hotplug 2006-01-09 12:13:18 -08:00
pciehp.h [PATCH] PCI hotplug: convert semaphores to mutex 2006-03-23 14:35:10 -08:00
pciehprm_acpi.c [PATCH] PCI: Reduce nr of ptr derefs in drivers/pci/hotplug/pciehprm_acpi.c 2006-01-09 12:13:20 -08:00
pciehprm_nonacpi.c [PATCH] PCI: fix namespace clashes 2005-11-10 16:09:18 -08:00
pcihp_skeleton.c [PATCH] pcihp_skeleton.c cleanup 2006-03-23 14:35:11 -08:00
rpadlpar_core.c [PATCH] powerpc/PCI hotplug: shuffle error checking to better location. 2006-01-31 18:00:13 -08:00
rpadlpar_sysfs.c
rpadlpar.h
rpaphp_core.c [PATCH] powerpc/PCI hotplug: minor cleanup forward decls 2006-01-31 18:00:13 -08:00
rpaphp_pci.c [PATCH] powerpc/PCI hotplug: cleanup: add prefix 2006-01-31 18:00:13 -08:00
rpaphp_slot.c [PATCH] PowerPC/PCI Hotplug build break 2006-02-01 16:35:29 -08:00
rpaphp.h [PATCH] powerpc/PCI hotplug: cleanup: add prefix 2006-01-31 18:00:13 -08:00
sgi_hotplug.c [PATCH] PCI Hotplug: SN: Fix cleanup on hotplug removal of PPB 2006-03-23 14:35:16 -08:00
shpchp_core.c [PATCH] shpchp: adapt to pci driver model 2006-03-23 14:35:13 -08:00
shpchp_ctrl.c [PATCH] shpchp: cleanup bus speed handling 2006-03-23 14:35:16 -08:00
shpchp_hpc.c [PATCH] shpchp: cleanup bus speed handling 2006-03-23 14:35:16 -08:00
shpchp_pci.c [PATCH] shpchp: replace pci_find_slot() with pci_get_slot() 2006-01-09 12:13:16 -08:00
shpchp_sysfs.c [PATCH] shpchp: fix oops at driver unload 2005-10-28 15:37:01 -07:00
shpchp.h [PATCH] shpchp: adapt to pci driver model 2006-03-23 14:35:13 -08:00
shpchprm_acpi.c [PATCH] shpchp: miscellaneous cleanups 2005-10-28 15:37:00 -07:00
shpchprm_legacy.c [PATCH] shpchp: miscellaneous cleanups 2005-10-28 15:37:00 -07:00
shpchprm_nonacpi.c [PATCH] fix missing includes 2005-10-30 17:37:32 -08:00