Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/i386/stand/lib/netif fix logics in device recognition



details:   https://anonhg.NetBSD.org/src/rev/8d2ed4695370
branches:  trunk
changeset: 474681:8d2ed4695370
user:      drochner <drochner%NetBSD.org@localhost>
date:      Thu Jul 15 18:00:27 1999 +0000

description:
fix logics in device recognition

diffstat:

 sys/arch/i386/stand/lib/netif/3c90xb.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3fb23629b0d7 -r 8d2ed4695370 sys/arch/i386/stand/lib/netif/3c90xb.c
--- a/sys/arch/i386/stand/lib/netif/3c90xb.c    Thu Jul 15 14:53:13 1999 +0000
+++ b/sys/arch/i386/stand/lib/netif/3c90xb.c    Thu Jul 15 18:00:27 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: 3c90xb.c,v 1.3 1999/04/22 10:27:16 drochner Exp $ */
+/* $NetBSD: 3c90xb.c,v 1.4 1999/07/15 18:00:27 drochner Exp $ */
 
 /*
  * Copyright (c) 1999
@@ -307,7 +307,7 @@
 #endif
        for (excard = &excards[0]; excard->did != -1; excard++) {
 #ifdef _STANDALONE
-               if (pcifinddev(0x10b7, excard->did, &mytag))
+               if (pcifinddev(0x10b7, excard->did, &mytag) == 0)
                        goto found;
 #else
                if (id == (0x10b7 | (excard->did << 16)))



Home | Main Index | Thread Index | Old Index