summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xhfc/TODO2
-rw-r--r--xhfc/xhfc.c3
2 files changed, 1 insertions, 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;