summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-08-20 03:46:32 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-08-20 03:46:32 +0000
commit03d1076362fb0c10ab2a88a44b4619553182b3eb (patch)
treea9e2c18aa58e2c60cbbdabc219fa7746688287f9 /sys/dev/isa
parentfda917db93708ea1868838ef91535de9e169dfa7 (diff)
Fix for some stupid ne2000 clones that get into a weird state and
are probed as WD instead. From Martin Husemann <martin@rumolt.teuto.de>
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/if_ed.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/isa/if_ed.c b/sys/dev/isa/if_ed.c
index bd73242772d..af7521351b5 100644
--- a/sys/dev/isa/if_ed.c
+++ b/sys/dev/isa/if_ed.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_ed.c,v 1.31 1997/08/01 07:40:10 deraadt Exp $ */
+/* $OpenBSD: if_ed.c,v 1.32 1997/08/20 03:46:31 millert Exp $ */
/* $NetBSD: if_ed.c,v 1.105 1996/10/21 22:40:45 thorpej Exp $ */
/*
@@ -877,6 +877,8 @@ ed_find_WD80x3(sc, cf, ia)
/* XXX Figure out the shared memory address. */
+ if (ia->ia_maddr == MADDRUNK)
+ goto out;
sc->isa16bit = isa16bit;
sc->mem_shared = 1;
ia->ia_msize = memsize;