summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ami.c
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2005-04-01 20:14:41 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2005-04-01 20:14:41 +0000
commit5f9845a476311780e56f718ec0d3f7d110ec96a9 (patch)
treeea5be2e9a254442ad4a82a6398ede9a49d2738d3 /sys/dev/ic/ami.c
parent816187946454b70175dd2dc60245007c907fe019 (diff)
shut ami up, bad me.
Diffstat (limited to 'sys/dev/ic/ami.c')
-rw-r--r--sys/dev/ic/ami.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/sys/dev/ic/ami.c b/sys/dev/ic/ami.c
index 6a9f7d8c492..140acfae705 100644
--- a/sys/dev/ic/ami.c
+++ b/sys/dev/ic/ami.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ami.c,v 1.30 2005/03/29 22:24:27 marco Exp $ */
+/* $OpenBSD: ami.c,v 1.31 2005/04/01 20:14:40 marco Exp $ */
/*
* Copyright (c) 2001 Michael Shalayeff
@@ -45,7 +45,7 @@
* Theo de Raadt.
*/
-#define AMI_DEBUG
+ /*#define AMI_DEBUG */
#include <sys/param.h>
#include <sys/systm.h>
@@ -1723,7 +1723,10 @@ ami_ioctl_passthru(sc, bp)
bus_dmamap_t idatamap;
bus_dma_segment_t idataseg[1];
paddr_t pa;
+
+#ifdef AMI_DEBUG
u_int8_t i = 0;
+#endif /* AMI_DEBUG */
AMI_DPRINTF(AMI_D_IOCTL, ("in passthrough\n"));