summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAlexandre Ratchov <ratchov@cvs.openbsd.org>2018-04-11 04:37:20 +0000
committerAlexandre Ratchov <ratchov@cvs.openbsd.org>2018-04-11 04:37:20 +0000
commitc8805f60f4c1a147a9fae39c6b2ccedc50354ffd (patch)
tree4d10118001ee7d4b936bada8d6da8c859ba82f09 /sys/dev
parent77514ab4b3972bf0ad904faf91197c26028ff640 (diff)
Fix confusion between NMIDI > 0 and NMPU > 0. From jsg@.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/pci/eso.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/eso.c b/sys/dev/pci/eso.c
index 41f42e06e62..97a2fc87dbf 100644
--- a/sys/dev/pci/eso.c
+++ b/sys/dev/pci/eso.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: eso.c,v 1.43 2016/09/19 06:46:44 ratchov Exp $ */
+/* $OpenBSD: eso.c,v 1.44 2018/04/11 04:37:19 ratchov Exp $ */
/* $NetBSD: eso.c,v 1.48 2006/12/18 23:13:39 kleink Exp $ */
/*
@@ -591,7 +591,7 @@ eso_intr(void *hdl)
sc->sc_gain[ESO_MASTER_VOL][ESO_LEFT] = (uint8_t)~0;
}
-#if NMPU > 0
+#if NMIDI > 0
if ((irqctl & ESO_IO_IRQCTL_MPUIRQ) && sc->sc_mpudev != NULL)
mpu_intr(sc->sc_mpudev);
#endif