Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm32/isa Update for change to isapnp_devmatch().



details:   https://anonhg.NetBSD.org/src/rev/2e80d3f48202
branches:  trunk
changeset: 471524:2e80d3f48202
user:      mark <mark%NetBSD.org@localhost>
date:      Sat Apr 03 23:53:48 1999 +0000

description:
Update for change to isapnp_devmatch().
Fixes PR7303.

diffstat:

 sys/arch/arm32/isa/joy_isapnp.c |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (23 lines):

diff -r 2c23900014b3 -r 2e80d3f48202 sys/arch/arm32/isa/joy_isapnp.c
--- a/sys/arch/arm32/isa/joy_isapnp.c   Sat Apr 03 22:56:22 1999 +0000
+++ b/sys/arch/arm32/isa/joy_isapnp.c   Sat Apr 03 23:53:48 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: joy_isapnp.c,v 1.1 1998/10/05 00:35:40 mark Exp $      */
+/*     $NetBSD: joy_isapnp.c,v 1.2 1999/04/03 23:53:48 mark Exp $      */
 
 /*-
  * Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -63,7 +63,12 @@
        struct cfdata *match;
        void *aux;
 {
-       return isapnp_devmatch(aux, &isapnp_joy_devinfo);
+       int pri, variant;
+
+       pri = isapnp_devmatch(aux, &isapnp_joy_devinfo, &variant);
+       if (pri && variant > 0)
+               pri = 0;
+       return (pri);
 }
 
 void



Home | Main Index | Thread Index | Old Index