summaryrefslogtreecommitdiff
path: root/sys/dev/isa/isapnp.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-15 06:33:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-08-15 06:33:29 +0000
commit118c22cc052b8be074fd0d6509d55083ebaaa8b2 (patch)
tree8b60080fdf1abdab5c42b15cb4fac8fb2bcbf876 /sys/dev/isa/isapnp.c
parent64d5a6ae1df45c365025fa1770ebad9cec637108 (diff)
pass in sc_delayioh too
Diffstat (limited to 'sys/dev/isa/isapnp.c')
-rw-r--r--sys/dev/isa/isapnp.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys/dev/isa/isapnp.c b/sys/dev/isa/isapnp.c
index 86a5298aaf3..260a018a647 100644
--- a/sys/dev/isa/isapnp.c
+++ b/sys/dev/isa/isapnp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isapnp.c,v 1.2 1996/08/15 05:31:43 deraadt Exp $ */
+/* $OpenBSD: isapnp.c,v 1.3 1996/08/15 06:33:28 deraadt Exp $ */
/*
* Copyright (c) 1996, Shawn Hsiao <shawn@alpha.secc.fju.edu.tw>
@@ -165,7 +165,7 @@ isapnpattach(parent, self, aux)
num_pnp_devs = isolation_protocol(sc);
if (num_pnp_devs) {
printf(": readport 0x%x, %d devices",
- sc->sc_dev.dv_xname, (sc->rd_port << 2) | 0x3);
+ sc->sc_dev.dv_xname, (sc->rd_port << 2) | 0x3,
num_pnp_devs);
break;
}
@@ -196,6 +196,8 @@ postisapnpattach(parent, self, aux)
ia.id = dev->id;
ia.csn = card->csn;
ia.ldn = dev->ldn;
+ ia.ia_delayioh = isc->sc_delayioh;
+
isapnpquery(sc, ia.id, &ia);
if (!config_found_sm(self, &ia, isapnpprint,
isapnpsubmatch)) {
@@ -275,8 +277,7 @@ isapnpsubmatch(parent, match, aux)
ret = (*cf->cf_attach->ca_match)(parent, match, aux);
return (ret);
}
-
- return(0);
+ return (0);
}
/*