summaryrefslogtreecommitdiff
path: root/xhfc/base.c
diff options
context:
space:
mode:
authorGuillaume Knispel <gknispel@proformatique.com>2012-01-18 17:58:41 +0100
committerGuillaume Knispel <gknispel@proformatique.com>2012-01-18 17:58:41 +0100
commit67224779c6b4996a4965582366ff8efa46845a9e (patch)
treedbcbaf046e19f356902163715dbe219b917d6665 /xhfc/base.c
parent36a9ae3e441b75a146836322018e6d915fd386ef (diff)
enhance comments
Diffstat (limited to 'xhfc/base.c')
-rw-r--r--xhfc/base.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/xhfc/base.c b/xhfc/base.c
index bf1a8c2..59f619f 100644
--- a/xhfc/base.c
+++ b/xhfc/base.c
@@ -623,7 +623,7 @@ irqreturn_t xhfc_interrupt(int irq, void *dev_id)
s->span.alarms == DAHDI_ALARM_NONE) {
/* No need to loop, makes no sense to receive
- * more than one HDLC frame per second.
+ * more than one HDLC frame per ms.
*/
int irq = fifo_test(fifo_irq, dchan_fifo(s),
RECEIVE);
@@ -830,13 +830,11 @@ void xhfc_init_and_configure(struct xhfc* x)
/* In DAHDI's driver's this part is "stage 1" */
xhfc_reset(x);
- /* Make sure interrupts disabled */
disable_interrupts(x);
/* "stage 2" */
xhfc_config_pcm(x, XHFC_PCM_MASTER);
- /* Now we need to setup the flow controller and stuff */
xhfc_config_data_flow(x);
SET_V_THRES_RX(r_fifo_thres, 2);