From 318087cd054405daa467e5736a561056e2ca2704 Mon Sep 17 00:00:00 2001 From: Aaron Campbell Date: Wed, 23 Dec 1998 00:33:30 +0000 Subject: make this driver work again (move _valid assignments out of else{} so they are performed regardless) --- sys/dev/isa/if_we.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/dev') diff --git a/sys/dev/isa/if_we.c b/sys/dev/isa/if_we.c index da6d228a1bd..2fc6b61b86f 100644 --- a/sys/dev/isa/if_we.c +++ b/sys/dev/isa/if_we.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_we.c,v 1.4 1998/11/28 02:29:29 deraadt Exp $ */ +/* $OpenBSD: if_we.c,v 1.5 1998/12/23 00:33:29 aaron Exp $ */ /* $NetBSD: if_we.c,v 1.11 1998/07/05 06:49:14 jonathan Exp $ */ /*- @@ -247,8 +247,8 @@ we_probe(parent, match, aux) else { if (bus_space_map(asict, ia->ia_iobase, WE_NPORTS, 0, &asich)) goto out; - asich_valid = 1; } + asich_valid = 1; #ifdef TOSH_ETHER bus_space_write_1(asict, asich, WE_MSR, WE_MSR_POW); @@ -307,8 +307,8 @@ we_probe(parent, match, aux) else { if (bus_space_map(memt, ia->ia_maddr, memsize, 0, &memh)) goto out; - memh_valid = 1; } + memh_valid = 1; /* * If possible, get the assigned interrupt number from the card -- cgit v1.2.3