]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] PCI Hotplug: rpaphp: Change slot pci reference
authorJohn Rose <johnrose@austin.ibm.com>
Mon, 25 Jul 2005 16:13:38 +0000 (11:13 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Sep 2005 21:57:22 +0000 (14:57 -0700)
commit9c209c919df95f83aa042b3352c43841ad15a02b
tree9be41a91d2da30893cc4e5b88fa02ea36f756598
parent5eeb8c63a38ff20285f3bbe7bcfe5e7c33c8ba14
[PATCH] PCI Hotplug: rpaphp: Change slot pci reference

The slot structure in the rpaphp module currently references the PCI
contents of the slot using the PCI device of the parent bridge.  This
is unnecessary, since the module is actually interested in the
subordinate bus of the bridge.  The dependency on a PCI bridge device
also prohibits the module from registering hotplug slots that have a
root bridge as a parent, since root bridges on PPC64 don't have PCI
devices.

This patch changes struct slot to reference the PCI subsystem using a
pci_bus rather than a pci_dev.

Signed-off-by: John Rose <johnrose@austin.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/rpadlpar_core.c
drivers/pci/hotplug/rpaphp.h
drivers/pci/hotplug/rpaphp_pci.c