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 ISACF_*_DEFAULT rather than *UNK.



details:   https://anonhg.NetBSD.org/src/rev/0cbed59ebb2c
branches:  trunk
changeset: 515456:0cbed59ebb2c
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Wed Sep 26 01:17:16 2001 +0000

description:
Use ISACF_*_DEFAULT rather than *UNK.

diffstat:

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

diffs (36 lines):

diff -r 7ad26b74b600 -r 0cbed59ebb2c sys/dev/isapnp/i82365_isapnp.c
--- a/sys/dev/isapnp/i82365_isapnp.c    Wed Sep 26 00:59:57 2001 +0000
+++ b/sys/dev/isapnp/i82365_isapnp.c    Wed Sep 26 01:17:16 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: i82365_isapnp.c,v 1.9 2000/06/28 16:39:27 mrg Exp $    */
+/*     $NetBSD: i82365_isapnp.c,v 1.10 2001/09/26 01:17:16 thorpej Exp $       */
 
 /*
  * Copyright (c) 1998 Bill Sommerfeld.  All rights reserved.
@@ -178,7 +178,7 @@
        if (ipa->ipa_nirq > 0)
                sc->irq = ipa->ipa_irq[0].num;
        else
-               sc->irq = IRQUNK;
+               sc->irq = ISACF_IRQ_DEFAULT;
 
        printf("\n");
 
diff -r 7ad26b74b600 -r 0cbed59ebb2c sys/dev/isapnp/sb_isapnp.c
--- a/sys/dev/isapnp/sb_isapnp.c        Wed Sep 26 00:59:57 2001 +0000
+++ b/sys/dev/isapnp/sb_isapnp.c        Wed Sep 26 01:17:16 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sb_isapnp.c,v 1.36 2000/12/19 01:09:16 mjl Exp $       */
+/*     $NetBSD: sb_isapnp.c,v 1.37 2001/09/26 01:17:16 thorpej Exp $   */
 
 /*
  * Copyright (c) 1991-1993 Regents of the University of California.
@@ -133,7 +133,7 @@
                 } else
                        sc->sc_drq16 = ipa->ipa_drq[1].num;
         } else
-               sc->sc_drq16 = DRQUNK;
+               sc->sc_drq16 = ISACF_DRQ_DEFAULT;
 
 #if NMPU > 0
        if (ipa->ipa_nio > 1) {



Home | Main Index | Thread Index | Old Index