summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug/shpchp.h
diff options
context:
space:
mode:
authorrajesh.shah@intel.com <rajesh.shah@intel.com>2005-10-13 12:05:39 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 15:37:00 -0700
commit1410dc1cef1e2f5e90c1fcb97041f42e0eee35b4 (patch)
treedffc17757791d79f2a83b5a85cf21278f3803448 /drivers/pci/hotplug/shpchp.h
parent424600f9706b20a8a33ad928d3d0326bd88679bc (diff)
downloadlinux-1410dc1cef1e2f5e90c1fcb97041f42e0eee35b4.tar.gz
linux-1410dc1cef1e2f5e90c1fcb97041f42e0eee35b4.tar.bz2
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.h')
0 files changed, 0 insertions, 0 deletions