Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/ctau/if_ct.c
Show First 20 Lines • Show All 268 Lines • ▼ Show 20 Lines | for (i = 0; i < NCHAN && b->chan[i].type; i++) { | ||||
drv_t *d = b->chan[i].sys; | drv_t *d = b->chan[i].sys; | ||||
struct mbuf *m; | struct mbuf *m; | ||||
if (!d || !d->running) | if (!d || !d->running) | ||||
continue; | continue; | ||||
while (_IF_QLEN(&d->queue)) { | while (_IF_QLEN(&d->queue)) { | ||||
IF_DEQUEUE (&d->queue,m); | IF_DEQUEUE (&d->queue,m); | ||||
if (!m) | if (!m) | ||||
continue; | continue; | ||||
sppp_input (d->ifp, m); | NET_EPOCH_WRAP(sppp_input, (d->ifp, m)); | ||||
} | } | ||||
} | } | ||||
#endif | #endif | ||||
} | } | ||||
static int probe_irq (ct_board_t *b, int irq) | static int probe_irq (ct_board_t *b, int irq) | ||||
{ | { | ||||
int mask, busy, cnt; | int mask, busy, cnt; | ||||
▲ Show 20 Lines • Show All 1,921 Lines • Show Last 20 Lines |