summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-09-09 05:29:17 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-09-09 05:29:17 +0000
commit79f1627a2f94e0ab55012777f5c52293d8965551 (patch)
treebac82f80b361641104be4c8c8a4e5791f30b9aa0 /sys
parentd2ea918cedb75be5e6368dde0ba9d7311d3e3063 (diff)
iresolve constatnt to name combination, itsn't it more clear?
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/isa/wdc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/isa/wdc.c b/sys/dev/isa/wdc.c
index 1e141dbac30..0c4f1e2b64c 100644
--- a/sys/dev/isa/wdc.c
+++ b/sys/dev/isa/wdc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: wdc.c,v 1.6 1996/09/04 00:51:15 downsj Exp $ */
+/* $OpenBSD: wdc.c,v 1.7 1996/09/09 05:29:16 mickey Exp $ */
/* $NetBSD: wd.c,v 1.150 1996/05/12 23:54:03 mycroft Exp $ */
/*
@@ -590,7 +590,7 @@ wdc_atapi_start(wdc, xfer)
wdc->sc_flags |= WDCF_IRQ_WAIT;
return;
}
- if ((acp->flags & 0x0300) != ACAP_DRQ_INTR) {
+ if ((acp->flags & (ACAP_DRQ_INTR|ACAP_DRQ_ACCEL)) != ACAP_DRQ_INTR) {
int i, phase;
for (i=20000; i>0; --i) {
phase = (bus_io_read_1(bc, ioh, wd_ireason) &
@@ -603,6 +603,7 @@ wdc_atapi_start(wdc, xfer)
}
if (phase != PHASE_CMDOUT ) {
printf("wdc_atapi_start: timout waiting PHASE_CMDOUT");
+ printf("(0x%x)\n", phase);
acp->status = ERROR;
wdc_atapi_done(wdc, xfer);
return;