diff options
-rw-r--r-- | xhfc/base.c | 4 |
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); |