summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/shpchp_pci.c
diff options
context:
space:
mode:
authorrajesh.shah@intel.com <rajesh.shah@intel.com>2005-10-13 21:05:39 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-29 00:37:00 +0200
commit1410dc1cef1e2f5e90c1fcb97041f42e0eee35b4 (patch)
treedffc17757791d79f2a83b5a85cf21278f3803448 /drivers/pci/hotplug/shpchp_pci.c
parent[PATCH] shpchp: reduce dependence on ACPI (diff)
downloadlinux-1410dc1cef1e2f5e90c1fcb97041f42e0eee35b4.tar.xz
linux-1410dc1cef1e2f5e90c1fcb97041f42e0eee35b4.zip
[PATCH] shpchp: detect SHPC capability before doing a lot of work
The shpc driver registers its probe function for all pci-pci bridges in the system. Not all of them will be shpc capable, so look for this capability early in the probe function and return if there's no work to do on this bridge. The old shpc driver did some initialization work on all bridges before detecting that shpc is not supported and unwinds the work it's already done in that case. Signed-off-by: Rajesh Shah <rajesh.shah@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/pci/hotplug/shpchp_pci.c')
0 files changed, 0 insertions, 0 deletions