Commit 081f88f0 authored by Kai Germaschewski's avatar Kai Germaschewski

ISDN/HiSax: Share XPR interrupt handling for B-Channel

Six of the hardware chips for B-channel xmit work so similar that we can
share the code to handle XPR (transmit pool ready).
parent aec459cb
......@@ -340,15 +340,7 @@ W6692B_interrupt(struct IsdnCardState *cs, u_char bchan)
}
}
if (val & W_B_EXI_XFR) { /* XFR */
if (bcs->tx_skb) {
if (bcs->tx_skb->len) {
W6692B_fill_fifo(bcs);
return;
}
xmit_complete_b(bcs);
bcs->count = 0;
}
xmit_ready_b(bcs);
xmit_xpr(bcs);
}
if (val & W_B_EXI_XDUN) { /* XDUN */
if (bcs->mode == 1)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment