Fix a botch (inverted test) in rev 1.4.

This commit is contained in:
tsutsui 2008-04-12 04:33:48 +00:00
parent e057298d38
commit bdd6dadf75
1 changed files with 3 additions and 3 deletions

View File

@ -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 <sys/cdefs.h>
__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 <sys/param.h>
#include <sys/systm.h>
@ -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. */