summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2007-02-14 04:49:44 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2007-02-14 04:49:44 +0000
commit53abe004fc2a092a92dac0017bfe09369e002f10 (patch)
treeb773691da6ae9f851ea1fa592029f237f6e934fa /sys/dev
parentdcad98740bb7d3e5859f3a88c0e6e0b8eb16be8c (diff)
put debug string tables under ATW_DEBUG
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/atw.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/dev/ic/atw.c b/sys/dev/ic/atw.c
index 54d270c622d..02bdc497f9e 100644
--- a/sys/dev/ic/atw.c
+++ b/sys/dev/ic/atw.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: atw.c,v 1.51 2007/02/14 04:46:44 jsg Exp $ */
+/* $OpenBSD: atw.c,v 1.52 2007/02/14 04:49:43 jsg Exp $ */
/* $NetBSD: atw.c,v 1.69 2004/07/23 07:07:55 dyoung Exp $ */
/*-
@@ -288,6 +288,9 @@ static const u_int atw_rfmd2958_rf1r[] = {
0x345d1, 0x28ba2, 0x1d174, 0x11745, 0x05d17, 0x3a2e8, 0x11745
};
+
+#ifdef ATW_DEBUG
+
const char *atw_tx_state[] = {
"STOPPED",
"RUNNING - read descriptor",
@@ -310,6 +313,8 @@ const char *atw_rx_state[] = {
"RUNNING - fifo drain"
};
+#endif
+
#ifndef __OpenBSD__
int
atw_activate(struct device *self, enum devact act)