summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-15 05:30:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-15 05:30:46 +0000
commitef51c0cdb2922a33ee9483cdadc160136b6d77dd (patch)
tree0d57fda533b55521448d917353fbd1ab60a0e57e /sys/dev/isa
parentb2852e2a5b51ef3ec88bd2fca9c71e5b057a720a (diff)
do not attempt to isamatch pnp devices
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/isa.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/isa/isa.c b/sys/dev/isa/isa.c
index 2773c0bc55e..7c87491a713 100644
--- a/sys/dev/isa/isa.c
+++ b/sys/dev/isa/isa.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isa.c,v 1.15 1996/08/15 05:26:19 deraadt Exp $ */
+/* $OpenBSD: isa.c,v 1.16 1996/08/15 05:30:45 deraadt Exp $ */
/* $NetBSD: isa.c,v 1.85 1996/05/14 00:31:04 thorpej Exp $ */
/*-
@@ -138,6 +138,9 @@ isascan(parent, match)
struct isa_attach_args ia;
struct emap *io_map, *mem_map, *irq_map, *drq_map;
+ if (cf->cf_loc[6] == -1) /* pnp device, scanned later */
+ return;
+
io_map = find_emap("io");
mem_map = find_emap("mem");
irq_map = find_emap("irq");