summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2002-05-10 16:26:29 +0000
committerConstantine Sapuntzakis <csapuntz@cvs.openbsd.org>2002-05-10 16:26:29 +0000
commit7aef88c17056f9e3e7db1d8440e98f35991e616f (patch)
treebb720f041f0e4c78d8d3e3232b7e0c6bbb01431e
parentab3b3925ef1e3ad3736e6acdfc1c0a92ce005d53 (diff)
Dump the actual command to be sent
-rw-r--r--sys/dev/atapiscsi/atapiscsi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/atapiscsi/atapiscsi.c b/sys/dev/atapiscsi/atapiscsi.c
index 368751e55e7..3e008b43791 100644
--- a/sys/dev/atapiscsi/atapiscsi.c
+++ b/sys/dev/atapiscsi/atapiscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atapiscsi.c,v 1.59 2002/05/08 21:50:48 csapuntz Exp $ */
+/* $OpenBSD: atapiscsi.c,v 1.60 2002/05/10 16:26:28 csapuntz Exp $ */
/*
* This code is derived from code with the copyright below.
@@ -875,8 +875,8 @@ wdc_atapi_intr_command(chp, xfer, timeout, ret)
bcopy(sc_xfer->cmd, cmd, sc_xfer->cmdlen);
WDC_LOG_ATAPI_CMD(chp, xfer->drive, xfer->c_flags,
- sc_xfer->cmdlen, sc_xfer->cmd);
-
+ cmdlen, cmd);
+
for (i = 0; i < 12; i++)
WDCDEBUG_PRINT(("%02x ", cmd[i]), DEBUG_INTR);
WDCDEBUG_PRINT((": PHASE_CMDOUT\n"), DEBUG_INTR);