pciehp: Event handling rework
authorKenji Kaneshige <kaneshige.kenji@jp.fujitsu.com>
Tue, 6 Mar 2007 23:02:26 +0000 (15:02 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 3 May 2007 02:02:34 +0000 (19:02 -0700)
commit5d386e1ac4025b4bcc6bad6811e771cb76064dfe
treed673b9686ed60aa43c1c0f43abc8bc54d19b6649
parentf7bdd12d234d9064bd0aa1b5610508959120a9b4
pciehp: Event handling rework

The event handler of PCIEHP 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 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/pciehp.h
drivers/pci/hotplug/pciehp_core.c
drivers/pci/hotplug/pciehp_ctrl.c
drivers/pci/hotplug/pciehp_hpc.c