summaryrefslogtreecommitdiff
path: root/sys/dev/isa/aha.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-16 12:29:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-16 12:29:49 +0000
commita311f95fe57ececa8071647ecf684ed22767af19 (patch)
tree36b98d8aec129725e03415c62d51e21a38e73ed9 /sys/dev/isa/aha.c
parentb6614d18b4d1dcbd52829e76d80ddf3ba6ea2a71 (diff)
contextual usage only
Diffstat (limited to 'sys/dev/isa/aha.c')
-rw-r--r--sys/dev/isa/aha.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/sys/dev/isa/aha.c b/sys/dev/isa/aha.c
index 092cdc14452..69781e00ed3 100644
--- a/sys/dev/isa/aha.c
+++ b/sys/dev/isa/aha.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aha.c,v 1.25 1996/06/19 14:40:33 deraadt Exp $ */
+/* $OpenBSD: aha.c,v 1.26 1996/10/16 12:29:48 deraadt Exp $ */
/* $NetBSD: aha.c,v 1.11 1996/05/12 23:51:23 mycroft Exp $ */
#undef AHADIAG
@@ -711,7 +711,9 @@ aha_collect_mbo(sc)
struct aha_softc *sc;
{
struct aha_mbx_out *wmbo; /* Mail Box Out pointer */
+#ifdef AHADIAG
struct aha_ccb *ccb;
+#endif
wmbo = wmbx->cmbo;
@@ -1182,8 +1184,11 @@ aha_scsi_cmd(xs)
struct aha_softc *sc = sc_link->adapter_softc;
struct aha_ccb *ccb;
struct aha_scat_gath *sg;
- int seg, datalen, flags, mflags;
+ int seg, flags, mflags;
+#ifdef TFS
struct iovec *iovp;
+ int datalen;
+#endif
int s;
SC_DEBUG(sc_link, SDEV_DB2, ("aha_scsi_cmd\n"));