[PATCH] cpqphp: add pci_enable_device()
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Wed, 28 Sep 2005 20:03:08 +0000 (14:03 -0600)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 28 Oct 2005 22:36:58 +0000 (15:36 -0700)
commitfe89cf4c4b7a3d9a0ff95eb0506aa7c9baaccda1
tree496c9092452395e6d616adedab53e7ac85b199b6
parentc8920f0c8b3b42537ab4a54ff92c11daf48fdfec
[PATCH] cpqphp: add pci_enable_device()

Add pci_{enable,disable}_device() calls.  Without pci_enable_device(),
dev->irq is garbage, and cpqphp relies on it.

This fixes a problem reported by Bruno Redondi.  He reported a flood
of ACPI interrupts, that caused kacpid to run 100% of the time:
    http://bugzilla.kernel.org/show_bug.cgi?id=5312

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

 drivers/pci/hotplug/cpqphp_core.c |   24 +++++++++++++++++++-----
 1 file changed, 19 insertions(+), 5 deletions(-)
drivers/pci/hotplug/cpqphp_core.c