]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit20c5dc5daca6e7fac80e1462d57f762a16747270
treed673b9686ed60aa43c1c0f43abc8bc54d19b6649
parent092b889ba76c89751a0646f2d8e0c4cc438f53b7
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