Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pcmcia I've inverted the logic of an_probe() in my p...



details:   https://anonhg.NetBSD.org/src/rev/12237a7326b9
branches:  trunk
changeset: 500826:12237a7326b9
user:      onoe <onoe%NetBSD.org@localhost>
date:      Tue Dec 19 01:59:21 2000 +0000

description:
I've inverted the logic of an_probe() in my previous commit to dev/ic/an.c

diffstat:

 sys/dev/pcmcia/if_an_pcmcia.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r d638ea1313f8 -r 12237a7326b9 sys/dev/pcmcia/if_an_pcmcia.c
--- a/sys/dev/pcmcia/if_an_pcmcia.c     Tue Dec 19 01:25:46 2000 +0000
+++ b/sys/dev/pcmcia/if_an_pcmcia.c     Tue Dec 19 01:59:21 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_an_pcmcia.c,v 1.5 2000/12/14 04:11:26 onoe Exp $ */
+/* $NetBSD: if_an_pcmcia.c,v 1.6 2000/12/19 01:59:21 onoe Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -240,7 +240,7 @@
        sc->an_btag = psc->sc_pcioh.iot;
        sc->an_bhandle = psc->sc_pcioh.ioh;
 
-       if (an_probe(sc))
+       if (an_probe(sc) == 0)
                return 0;
 
        fail++;



Home | Main Index | Thread Index | Old Index