diff options
author | arr <arr@FreeBSD.org> | 2002-06-24 04:10:12 +0000 |
---|---|---|
committer | arr <arr@FreeBSD.org> | 2002-06-24 04:10:12 +0000 |
commit | 931ac795e18dd0dee4ae0c957a87b08f316c5079 (patch) | |
tree | 0dea26b7e7761b2cffe92ecf03a0e5c3c56071cb /sys | |
parent | 41dbee355d933dee0dc2d296cdeba46374f523b8 (diff) | |
download | FreeBSD-src-931ac795e18dd0dee4ae0c957a87b08f316c5079.zip FreeBSD-src-931ac795e18dd0dee4ae0c957a87b08f316c5079.tar.gz |
- Remove the definition for SCHED_ATM
- Change SCHED_ATM statements into schednetisr() calls.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/hea/eni_receive.c | 4 | ||||
-rw-r--r-- | sys/dev/hfa/fore_receive.c | 2 | ||||
-rw-r--r-- | sys/netatm/atm_if.h | 1 |
3 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/hea/eni_receive.c b/sys/dev/hea/eni_receive.c index 6ec33a1..a3c1d76 100644 --- a/sys/dev/hea/eni_receive.c +++ b/sys/dev/hea/eni_receive.c @@ -833,10 +833,8 @@ finish: * 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 37a34ab..0e089f4 100644 --- a/sys/dev/hfa/fore_receive.c +++ b/sys/dev/hfa/fore_receive.c @@ -484,7 +484,7 @@ retry: * 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 2976162..6af5462 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 */ |