summaryrefslogtreecommitdiff
path: root/sys/kern/kern_clock.c
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2002-02-11 23:56:18 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2002-02-11 23:56:18 +0000
commitdaccb6386b3a35b93844bc7ccaa92ef4f87e4f9c (patch)
tree3efc9864c55501a9ef177765c356ad8ef030cc75 /sys/kern/kern_clock.c
parent27d5f39f68b791cf68584e0df471a316c6220b8d (diff)
Notes
Diffstat (limited to 'sys/kern/kern_clock.c')
-rw-r--r--sys/kern/kern_clock.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c
index 7591f1167abf..1b3f9c54f0e8 100644
--- a/sys/kern/kern_clock.c
+++ b/sys/kern/kern_clock.c
@@ -70,9 +70,7 @@
#endif
#ifdef DEVICE_POLLING
-#include <net/netisr.h> /* for NETISR_POLL */
-
-extern void ether_poll1(void);
+extern void init_device_poll(void);
extern void hardclock_device_poll(void);
#endif /* DEVICE_POLLING */
@@ -147,7 +145,7 @@ initclocks(dummy)
cpu_initclocks();
#ifdef DEVICE_POLLING
- register_netisr(NETISR_POLL, ether_poll1);
+ init_device_poll();
#endif
/*
* Compute profhz/stathz, and fix profhz if needed.
@@ -222,7 +220,7 @@ hardclock(frame)
tc_windup();
#ifdef DEVICE_POLLING
- hardclock_device_poll();
+ hardclock_device_poll(); /* this is very short and quick */
#endif /* DEVICE_POLLING */
/*