diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-03-08 04:15:43 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 1999-03-08 04:15:43 +0000 |
commit | 270c18955431ac10214941cd1ff172629995f150 (patch) | |
tree | b960da55c94a8f901e2c8949ba498e2687a6e8f0 /sys/dev/isa | |
parent | 0d6f19fa0e52b7c3703e118f1f2a860f29c07b3a (diff) |
cleanup
Diffstat (limited to 'sys/dev/isa')
-rw-r--r-- | sys/dev/isa/wss_isapnp.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/isa/wss_isapnp.c b/sys/dev/isa/wss_isapnp.c index d688901d9d8..3951e64ff97 100644 --- a/sys/dev/isa/wss_isapnp.c +++ b/sys/dev/isa/wss_isapnp.c @@ -117,17 +117,17 @@ wss_isapnp_attach(parent, self, aux) sc->sc_ic = ipa->ia_ic; sc->wss_irq = ipa->ipa_irq[0].num; - sc->wss_drq = ipa->ipa_drq[0].num; /* I DONT NEED TO DO THIS */ - sc->wss_recdrq = ipa->ipa_drq[1].num; - /* ipa->ipa_ndrq > 1 ? ipa->ipa_drq[1].num : ipa->ipa_drq[0].num; */ + sc->wss_drq = ipa->ipa_drq[0].num; + sc->wss_recdrq = ipa->ipa_ndrq > 1 ? ipa->ipa_drq[1].num : + ipa->ipa_drq[0].num; - if(ad1848_probe(&sc->sc_ad1848)==0) { - printf("%s: probe failed\n",ac->sc_dev.dv_xname); + if (ad1848_probe(&sc->sc_ad1848)==0) { + printf("%s: probe failed\n", ac->sc_dev.dv_xname); return; } printf("%s: %s %s", ac->sc_dev.dv_xname, ipa->ipa_devident, - ipa->ipa_devclass); + ipa->ipa_devclass); wssattach(sc); } |