summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorJason Downs <downsj@cvs.openbsd.org>1999-01-11 03:03:43 +0000
committerJason Downs <downsj@cvs.openbsd.org>1999-01-11 03:03:43 +0000
commit8df9bc88dbc20da200e45d56c2dcb89e47983fb9 (patch)
tree9f8d96880f4446e292e09c12537b638aff3b2dc4 /sys
parentb2878abec00dfc260a8962fefdbd036600d21030 (diff)
The DSP likes it better if you actually give it an iobase and a handle.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/isa/sb_isapnp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/dev/isa/sb_isapnp.c b/sys/dev/isa/sb_isapnp.c
index 4a28bce804f..8f332e944f5 100644
--- a/sys/dev/isa/sb_isapnp.c
+++ b/sys/dev/isa/sb_isapnp.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sb_isapnp.c,v 1.8 1999/01/02 22:01:27 niklas Exp $ */
+/* $OpenBSD: sb_isapnp.c,v 1.9 1999/01/11 03:03:42 downsj Exp $ */
/* $NetBSD: sb_isa.c,v 1.3 1997/03/20 11:03:11 mycroft Exp $ */
/*
@@ -91,7 +91,9 @@ sb_isapnp_attach(parent, self, aux)
struct isa_attach_args *ia = aux;
sc->sc_iot = ia->ia_iot;
+ sc->sc_ioh = ia->ipa_io[0].h;
sc->sc_irq = ia->ipa_irq[0].num;
+ sc->sc_iobase = ia->ipa_io[0].base;
sc->sc_ic = ia->ia_ic;
sc->sc_drq8 = ia->ipa_drq[0].num;