]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] acpi hotplug: clean up notify handlers on acpiphp unload
authorRajesh Shah <rajesh.shah@intel.com>
Thu, 28 Apr 2005 07:25:54 +0000 (00:25 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 28 Jun 2005 04:52:42 +0000 (21:52 -0700)
commitb45b52fae0d294e1eb84f0579d88e2c5b76a3bb8
treebc3c70c12895d22aaa96dc27632df22f4ff9ac9e
parent910582dc15829f894bd8c7cbcc2fe2594d4b62ae
[PATCH] acpi hotplug: clean up notify handlers on acpiphp unload

A root bridge may not have directly attached hotpluggable slots under it.
Instead, it may have p2p bridges with slots under it.  In this case, we need
to clean up the p2p bridges and slots properly too.  Patch below applies on
top of the original patch, and fixes this problem.  Without this, acpiphp
leaves behind notify handlers on module unload, and subsequent module load
attempts don't work properly too.  Patch was tested on an ia64 Tiger4 box.

Signed-off-by: Rajesh Shah <rajesh.shah@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/hotplug/acpiphp_glue.c