[PATCH] shpchp: event handling rework
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tue, 21 Feb 2006 23:45:45 +0000 (15:45 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 23 Mar 2006 22:35:13 +0000 (14:35 -0800)
commitf7391f5325ea744f0632f7ef39a90085162743ac
treea7368b2ca639211743ba7fbc0dab7a9efaea02b7
parent68c0b671491088d79611fa965bbf94b3bc0024a4
[PATCH] shpchp: event handling rework

The event handler of SHPCHP driver is unnecessarily very complex. In
addition, current event handler can only a fixed number of events at
the same time, and some of events would be lost if several number of
events happened at the same time.

This patch simplify the event handler by using 'work queue', and it
also fix the above-mentioned issue.

Signed-off-by: Kenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Signed-off-by: Kristen Carlson Accardi <kristen.c.accardi@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/shpchp.h
drivers/pci/hotplug/shpchp_core.c
drivers/pci/hotplug/shpchp_ctrl.c
drivers/pci/hotplug/shpchp_hpc.c