summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1998-12-23 00:33:30 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1998-12-23 00:33:30 +0000
commit318087cd054405daa467e5736a561056e2ca2704 (patch)
tree6a15e32fdc2353789a40e55b2a01e2d3739c54ec /sys/dev
parent9a3b97bc4bb9627fb13e58d274853da5fe96764c (diff)
make this driver work again (move _valid assignments out of else{} so they are
performed regardless)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/isa/if_we.c6
1 files changed, 3 insertions, 3 deletions
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