diff options
author | Noe Rubinstein <nrubinstein@proformatique.com> | 2010-11-25 12:25:09 +0100 |
---|---|---|
committer | Noe Rubinstein <nrubinstein@proformatique.com> | 2010-11-25 12:25:09 +0100 |
commit | 32e96912afc49c74d90024ec5b89807234f3414d (patch) | |
tree | 5d3488f4d760414a6ba5c4f3542e8952bc9645b3 | |
parent | 903ce7520ca743f59a650f8958b3daeffda2b931 (diff) |
traces and todo
-rw-r--r-- | xhfc/TODO | 2 | ||||
-rw-r--r-- | xhfc/xhfc.c | 3 |
2 files changed, 1 insertions, 4 deletions
@@ -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; |