From 32e96912afc49c74d90024ec5b89807234f3414d Mon Sep 17 00:00:00 2001 From: Noe Rubinstein Date: Thu, 25 Nov 2010 12:25:09 +0100 Subject: traces and todo --- xhfc/TODO | 2 +- xhfc/xhfc.c | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/xhfc/TODO b/xhfc/TODO index c20f80b..8706110 100644 --- a/xhfc/TODO +++ b/xhfc/TODO @@ -2,7 +2,7 @@ tasklet? - Sync warning: prolly no problem currently, but linked to our architecture + context (hardirq vs. softirq) (running etc.) -- Rewrite the S/T state handling code. - Review again the FIFO rw code (WTF comments) - (Low priority) check support for other XHFCs +- The init structure is not very clear (xhfc_init_and_configure) diff --git a/xhfc/xhfc.c b/xhfc/xhfc.c index df183cd..a7d3b5d 100644 --- a/xhfc/xhfc.c +++ b/xhfc/xhfc.c @@ -358,9 +358,6 @@ static int hdlc_rx_frame(struct xhfc_span *xhfc_span) if (DBG_VERBOSE_HDLC && DBG_SPAN(xhfc_span)) xhfc_info(x, "%s, nothing to receive (%ld).\n", debugbuf, xhfc_span->non_rx_cnt); xhfc_span->non_rx_cnt++; - if (DBG_HDLC && DBG_SPAN(xhfc_span) && 0 == xhfc_span->non_rx_cnt % 2000) - xhfc_info(x, "%s(fifo %d): Received nothing for %ld seconds.\n", - __func__, fifo, xhfc_span->non_rx_cnt / 2000); return 0; } xhfc_span->non_rx_cnt = 0; -- cgit v1.2.3