From 53abe004fc2a092a92dac0017bfe09369e002f10 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Wed, 14 Feb 2007 04:49:44 +0000 Subject: put debug string tables under ATW_DEBUG --- sys/dev/ic/atw.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3