diff --git a/sys/dev/hea/eni_receive.c b/sys/dev/hea/eni_receive.c index 6ec33a15bf18..a3c1d765470f 100644 --- a/sys/dev/hea/eni_receive.c +++ b/sys/dev/hea/eni_receive.c @@ -833,10 +833,8 @@ eni_recv_drain ( eup ) * the kernel to process the atm_intrq. */ if ( que ) - SCHED_ATM; - + schednetisr(NETISR_ATM); return; - } /* diff --git a/sys/dev/hfa/fore_receive.c b/sys/dev/hfa/fore_receive.c index 37a34ab87fcb..0e089f4c8e47 100644 --- a/sys/dev/hfa/fore_receive.c +++ b/sys/dev/hfa/fore_receive.c @@ -484,7 +484,7 @@ fore_recv_drain(fup) * Schedule callback */ if (IF_HANDOFF(&atm_intrq, mhead, NULL)) { - SCHED_ATM; + schednetisr(NETISR_ATM); } else { fup->fu_stats->st_drv.drv_rv_ifull++; goto free_ent; diff --git a/sys/netatm/atm_if.h b/sys/netatm/atm_if.h index 2976162e899a..6af5462dbcae 100644 --- a/sys/netatm/atm_if.h +++ b/sys/netatm/atm_if.h @@ -347,7 +347,6 @@ struct atm_ncm { typedef void (atm_intr_t)(void *, KBuffer *); /* Callback function type */ typedef atm_intr_t *atm_intr_func_t; /* Pointer to callback function */ -#define SCHED_ATM schednetisr(NETISR_ATM) #endif /* _KERNEL */ #endif /* _NETATM_ATM_IF_H */