Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/ic Describe Tx/Rx state a little better using clue f...



details:   https://anonhg.NetBSD.org/src/rev/09d2641a5d65
branches:  trunk
changeset: 567080:09d2641a5d65
user:      dyoung <dyoung%NetBSD.org@localhost>
date:      Mon May 31 09:00:24 2004 +0000

description:
Describe Tx/Rx state a little better using clue from the ADM8211C/CR
datasheet.

diffstat:

 sys/dev/ic/atw.c |  28 ++++++++++++++--------------
 1 files changed, 14 insertions(+), 14 deletions(-)

diffs (55 lines):

diff -r 287dc1b680a1 -r 09d2641a5d65 sys/dev/ic/atw.c
--- a/sys/dev/ic/atw.c  Mon May 31 08:52:53 2004 +0000
+++ b/sys/dev/ic/atw.c  Mon May 31 09:00:24 2004 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: atw.c,v 1.25 2004/05/31 08:52:53 dyoung Exp $  */
+/*     $NetBSD: atw.c,v 1.26 2004/05/31 09:00:24 dyoung Exp $  */
 
 /*-
  * Copyright (c) 1998, 1999, 2000, 2002, 2003, 2004 The NetBSD Foundation, Inc.
@@ -41,7 +41,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: atw.c,v 1.25 2004/05/31 08:52:53 dyoung Exp $");
+__KERNEL_RCSID(0, "$NetBSD: atw.c,v 1.26 2004/05/31 09:00:24 dyoung Exp $");
 
 #include "bpfilter.h"
 
@@ -249,24 +249,24 @@
 
 const char *atw_tx_state[] = {
        "STOPPED",
-       "RUNNING - FETCH",
-       "RUNNING - WAIT",
-       "RUNNING - READING",
-       "-- RESERVED1 --",
-       "-- RESERVED2 --",
+       "RUNNING - read descriptor",
+       "RUNNING - transmitting",
+       "RUNNING - filling fifo",       /* XXX */
        "SUSPENDED",
-       "RUNNING - CLOSE"
+       "RUNNING -- write descriptor",
+       "RUNNING -- write last descriptor",
+       "RUNNING - fifo full"
 };
 
 const char *atw_rx_state[] = {
        "STOPPED",
-       "RUNNING - FETCH",
-       "RUNNING - CHECK",
-       "RUNNING - WAIT",
+       "RUNNING - read descriptor",
+       "RUNNING - check this packet, pre-fetch next",
+       "RUNNING - wait for reception",
        "SUSPENDED",
-       "RUNNING - CLOSE",
-       "RUNNING - FLUSH",
-       "RUNNING - QUEUE"
+       "RUNNING - write descriptor",
+       "RUNNING - flush fifo",
+       "RUNNING - fifo drain"
 };
 
 int



Home | Main Index | Thread Index | Old Index