From 26edd5fdcb1e8cd4fb621a79a9233ec1181a7ba3 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 8 Sep 2010 17:53:56 +0000 Subject: 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 --- sys/dev/pci/pccbb.c | 5 +---- 1 file changed, 1 insertion(+), 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. */ -- cgit v1.2.3