diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2007-02-14 04:49:44 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2007-02-14 04:49:44 +0000 |
commit | 53abe004fc2a092a92dac0017bfe09369e002f10 (patch) | |
tree | b773691da6ae9f851ea1fa592029f237f6e934fa | |
parent | dcad98740bb7d3e5859f3a88c0e6e0b8eb16be8c (diff) |
put debug string tables under ATW_DEBUG
-rw-r--r-- | sys/dev/ic/atw.c | 7 |
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) |