summaryrefslogtreecommitdiff
path: root/drivers/dahdi/xpp/xframe_queue.c
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-08-04 14:02:10 +0000
committerTzafrir Cohen <tzafrir.cohen@xorcom.com>2008-08-04 14:02:10 +0000
commita5f019cb266dc0f459eef0aeda09e2b6a448b42d (patch)
tree9b6330cf9bce3cfe200477e0fe6ee197bea100a2 /drivers/dahdi/xpp/xframe_queue.c
parent6b5d055585e3cad80428a468e67665f6ef7cdb50 (diff)
Firmware update: 5959 (FTMF and BRI ID)
* Fix some cases of double digits. * Fix some rare cases of a BRI unit providing incorrect directionality. * Extra debugging code in card_fxs.c to trace future DTMF issues. * Properly note Zaptel (as opposed to DAHDI) ioctls. git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@4695 a0bf4364-ded3-4de4-8d8a-66a801d63aff
Diffstat (limited to 'drivers/dahdi/xpp/xframe_queue.c')
-rw-r--r--drivers/dahdi/xpp/xframe_queue.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/dahdi/xpp/xframe_queue.c b/drivers/dahdi/xpp/xframe_queue.c
index 261740e..033be8b 100644
--- a/drivers/dahdi/xpp/xframe_queue.c
+++ b/drivers/dahdi/xpp/xframe_queue.c
@@ -31,6 +31,15 @@ static bool __xframe_enqueue(struct xframe_queue *q, xframe_t *xframe)
if(q->count >= q->max_count) {
q->overflows++;
+ NOTICE("Overflow of %-15s: counts %3d, %3d, %3d worst %3d, overflows %3d worst_lag %02ld.%ld ms\n",
+ q->name,
+ q->steady_state_count,
+ q->count,
+ q->max_count,
+ q->worst_count,
+ q->overflows,
+ q->worst_lag_usec / 1000,
+ q->worst_lag_usec % 1000);
ret = 0;
goto out;
}