[asterisk-users] DAHDI driver question for custom card

Russ Meyerriecks rmeyerriecks at digium.com
Thu Nov 5 13:56:23 CST 2015

On Thu, Nov 5, 2015 at 11:36 AM, Roberto Fichera <kernel at tekno-soft.it> wrote:
> The question is, can I call the dahdi_transmit() from the TX DMA callback and the dahdi_receive() from
> the RX DMA callback or should use a particular order for them?

I don't think it will be a problem to call them asynchronously.
Depending on your signal, _dahdi_transmit() and _dahdi_recieve() can
potentially do a lot of processing. They're better suited in a bottom
half than in interrupt context.

Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com & www.asterisk.org

More information about the asterisk-users mailing list