diff options
author | brooks <brooks@FreeBSD.org> | 2014-01-29 21:57:00 +0000 |
---|---|---|
committer | brooks <brooks@FreeBSD.org> | 2014-01-29 21:57:00 +0000 |
commit | a98111a09d5c21f9bb9ee942f66c68546661a99c (patch) | |
tree | 152f2e78cd61574cc665618b3b3943ef68088dce /sys/kern/kern_poll.c | |
parent | 080d62f93d7c8004e0f06800adb9eb671a15c656 (diff) | |
download | FreeBSD-src-a98111a09d5c21f9bb9ee942f66c68546661a99c.zip FreeBSD-src-a98111a09d5c21f9bb9ee942f66c68546661a99c.tar.gz |
MFC r256945:
MFP4:
Change 221669 by bz@bz_zenith on 2013/02/01 12:26:04
Run the initialization for polling earlier along with INTRs
so that we can put network interface into polling mode by default
if DEVICE_POLLING is compiled in and no interrupts are available.
Sponsored by: DARPA/AFRL
Diffstat (limited to 'sys/kern/kern_poll.c')
-rw-r--r-- | sys/kern/kern_poll.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_poll.c b/sys/kern/kern_poll.c index 349f338..8e53fd1 100644 --- a/sys/kern/kern_poll.c +++ b/sys/kern/kern_poll.c @@ -267,7 +267,7 @@ init_device_poll(void) EVENTHANDLER_REGISTER(shutdown_post_sync, poll_shutdown, NULL, SHUTDOWN_PRI_LAST); } -SYSINIT(device_poll, SI_SUB_CLOCKS, SI_ORDER_MIDDLE, init_device_poll, NULL); +SYSINIT(device_poll, SI_SUB_SOFTINTR, SI_ORDER_MIDDLE, init_device_poll, NULL); /* |