summaryrefslogtreecommitdiff
path: root/sys/dev/isa
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/isa')
-rw-r--r--sys/dev/isa/wss_isapnp.c12
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);
}