From bdd6dadf751c694188b46d36b7e2453907cb1de1 Mon Sep 17 00:00:00 2001 From: tsutsui Date: Sat, 12 Apr 2008 04:33:48 +0000 Subject: [PATCH] Fix a botch (inverted test) in rev 1.4. --- sys/dev/isa/if_fmv_isa.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/dev/isa/if_fmv_isa.c b/sys/dev/isa/if_fmv_isa.c index 6a6c9bcdf215..a9abf107bfb6 100644 --- a/sys/dev/isa/if_fmv_isa.c +++ b/sys/dev/isa/if_fmv_isa.c @@ -1,4 +1,4 @@ -/* $NetBSD: if_fmv_isa.c,v 1.11 2008/04/08 20:08:50 cegger Exp $ */ +/* $NetBSD: if_fmv_isa.c,v 1.12 2008/04/12 04:33:48 tsutsui Exp $ */ /* * All Rights Reserved, Copyright (C) Fujitsu Limited 1995 @@ -32,7 +32,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: if_fmv_isa.c,v 1.11 2008/04/08 20:08:50 cegger Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if_fmv_isa.c,v 1.12 2008/04/12 04:33:48 tsutsui Exp $"); #include #include @@ -241,7 +241,7 @@ fmv_find(bus_space_tag_t iot, bus_space_handle_t ioh, int *iobase, int *irq) }; /* Simple probe. */ - if (fe_simple_probe(iot, ioh, probe_table) != 0) + if (fe_simple_probe(iot, ioh, probe_table) == 0) return 0; /* Check if our I/O address matches config info on EEPROM. */