summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprovos <provos@openbsd.org>1999-07-21 16:19:55 +0000
committerprovos <provos@openbsd.org>1999-07-21 16:19:55 +0000
commit962e1425ae9bb095ca2fa941fc2a5209bdac394b (patch)
treea1ddb64d76866ac16041d9ee1bf57d5f31ae2f0c
parentImprove the description and add examples, including one that demonstrates how (diff)
downloadwireguard-openbsd-962e1425ae9bb095ca2fa941fc2a5209bdac394b.tar.xz
wireguard-openbsd-962e1425ae9bb095ca2fa941fc2a5209bdac394b.zip
make it compile without midi.
-rw-r--r--sys/dev/isa/ym.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/isa/ym.c b/sys/dev/isa/ym.c
index e1e5309b492..ea4b11a68f9 100644
--- a/sys/dev/isa/ym.c
+++ b/sys/dev/isa/ym.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ym.c,v 1.6 1999/07/20 16:36:05 deraadt Exp $ */
+/* $OpenBSD: ym.c,v 1.7 1999/07/21 16:19:55 provos Exp $ */
/*
@@ -130,9 +130,9 @@ int
ym_intr(v)
void *v;
{
+#if NMIDI > 0
struct ym_softc *sc = v;
-#if NMIDI > 0
if ( /* XXX && */ sc->sc_hasmpu)
mpu_intr(&sc->sc_mpu_sc);
#endif