Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/isapnp Use NMPU instead of NMIDI so that it can comp...



details:   https://anonhg.NetBSD.org/src/rev/191a951a9810
branches:  trunk
changeset: 477249:191a951a9810
user:      itohy <itohy%NetBSD.org@localhost>
date:      Mon Oct 18 05:11:39 1999 +0000

description:
Use NMPU instead of NMIDI so that it can compile without mpu attachment.
Requested by Izumi Tsutsui.

diffstat:

 sys/dev/isapnp/sb_isapnp.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r c8b8ce05afcc -r 191a951a9810 sys/dev/isapnp/sb_isapnp.c
--- a/sys/dev/isapnp/sb_isapnp.c        Mon Oct 18 03:26:53 1999 +0000
+++ b/sys/dev/isapnp/sb_isapnp.c        Mon Oct 18 05:11:39 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sb_isapnp.c,v 1.34 1999/08/02 17:37:43 augustss Exp $  */
+/*     $NetBSD: sb_isapnp.c,v 1.35 1999/10/18 05:11:39 itohy Exp $     */
 
 /*
  * Copyright (c) 1991-1993 Regents of the University of California.
@@ -34,8 +34,6 @@
  *
  */
 
-#include "midi.h"
-
 #include <sys/param.h>
 #include <sys/systm.h>
 #include <sys/errno.h>
@@ -132,7 +130,7 @@
         } else
                sc->sc_drq16 = DRQUNK;
 
-#if NMIDI > 0
+#if NMPU > 0
        if (ipa->ipa_nio > 1) {
                sc->sc_hasmpu = 1;
                sc->sc_mpu_iot = ipa->ipa_iot;



Home | Main Index | Thread Index | Old Index