summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-09-08 17:53:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-09-08 17:53:56 +0000
commit26edd5fdcb1e8cd4fb621a79a9233ec1181a7ba3 (patch)
tree4f3668c0373a89df532871a798ce69efa2f8b2bf /sys/dev/pci
parentd7e85294918e9b3144e09ddfcd4b3aaa030e5f6a (diff)
During suspend, do not call children's interrupt handlers after we have
told them to suspend. In some drivers, this "wakes" them up. ok kettenis
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pccbb.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pci/pccbb.c b/sys/dev/pci/pccbb.c
index ee07d00828f..956543cf694 100644
--- a/sys/dev/pci/pccbb.c
+++ b/sys/dev/pci/pccbb.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pccbb.c,v 1.82 2010/09/07 16:21:45 deraadt Exp $ */
+/* $OpenBSD: pccbb.c,v 1.83 2010/09/08 17:53:55 deraadt Exp $ */
/* $NetBSD: pccbb.c,v 1.96 2004/03/28 09:49:31 nakayama Exp $ */
/*
@@ -2825,9 +2825,6 @@ pccbbactivate(struct device *self, int act)
DPRINTF(("%s: power: why %d stopping intr\n",
sc->sc_dev.dv_xname, why));
- if (sc->sc_pil_intr_enable) {
- (void)pccbbintr_function(sc);
- }
sc->sc_pil_intr_enable = 0;
/* Save registers that may get lost. */