summaryrefslogtreecommitdiff
path: root/sys/dev/ic/osiopvar.h
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2003-04-08 18:03:47 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2003-04-08 18:03:47 +0000
commit13b4b54524bdc9b77efbbb7815a5800a0831456b (patch)
tree50c47dea2e780b59ece4b29d57e4cd817696dcf7 /sys/dev/ic/osiopvar.h
parentee4f18335f419fcec1bbe842f2339b83417032ce (diff)
Fix diagnostic output to display data buffer actually being used.
Fix setting of data buffer length when doing auto request sense. Add a little general paranoia about setting data buffer length. Eliminate $ifdef'ed field in acb structure, leaving diagnostic code using it #ifdef'ed. Mostly suggested by and ok mickey@.
Diffstat (limited to 'sys/dev/ic/osiopvar.h')
-rw-r--r--sys/dev/ic/osiopvar.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/osiopvar.h b/sys/dev/ic/osiopvar.h
index fba4abd4c1e..e78fefa98fa 100644
--- a/sys/dev/ic/osiopvar.h
+++ b/sys/dev/ic/osiopvar.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: osiopvar.h,v 1.2 2003/04/06 20:24:31 krw Exp $ */
+/* $OpenBSD: osiopvar.h,v 1.3 2003/04/08 18:03:46 krw Exp $ */
/* $NetBSD: osiopvar.h,v 1.3 2002/05/14 02:58:35 matt Exp $ */
/*
@@ -153,9 +153,7 @@ struct osiop_acb {
int xsflags; /* copy of xs->flags */
int datalen;
-#ifdef OSIOP_DEBUG
void *data; /* transfer data buffer ptr */
-#endif
bus_addr_t curaddr; /* current transfer data buffer */
bus_size_t curlen; /* current transfer data length */