summaryrefslogtreecommitdiff
path: root/sys/dev/isa/wd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-27 22:06:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-12-27 22:06:49 +0000
commit19c4b654cc723df0e419fd9f12197f491b1bc1d4 (patch)
treee1ec3cdc5db2c1ca3593846ae053d0595186ead5 /sys/dev/isa/wd.c
parent043773b2a500f1f422b5db3eca46befb28d8a7af (diff)
from netbsd:
The IST_* and IPL_* constants are not bus-specific; don't treat them as such. Change splimp -> splnet in Ethernet, ARCnet, and FDDI drivers.
Diffstat (limited to 'sys/dev/isa/wd.c')
-rw-r--r--sys/dev/isa/wd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/dev/isa/wd.c b/sys/dev/isa/wd.c
index c9d169560f2..85d53bc69ad 100644
--- a/sys/dev/isa/wd.c
+++ b/sys/dev/isa/wd.c
@@ -55,7 +55,6 @@
#include <machine/pio.h>
#include <dev/isa/isavar.h>
-#include <dev/isa/isadmavar.h>
#include <dev/isa/wdreg.h>
#define WAITTIME (4 * hz) /* time to wait for a completion */
@@ -250,8 +249,8 @@ wdcattach(parent, self, aux)
printf("\n");
- wdc->sc_ih = isa_intr_establish(ia->ia_irq, ISA_IST_EDGE, ISA_IPL_BIO,
- wdcintr, wdc);
+ wdc->sc_ih = isa_intr_establish(ia->ia_irq, IST_EDGE, IPL_BIO, wdcintr,
+ wdc);
for (wa.wa_drive = 0; wa.wa_drive < 2; wa.wa_drive++)
(void)config_found(self, (void *)&wa, wdprint);