From 67224779c6b4996a4965582366ff8efa46845a9e Mon Sep 17 00:00:00 2001 From: Guillaume Knispel Date: Wed, 18 Jan 2012 17:58:41 +0100 Subject: enhance comments --- xhfc/base.c | 4 +--- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.3