From 0c28add0fffdcdd8177748f7879a9a17073facb7 Mon Sep 17 00:00:00 2001 From: brooks Date: Wed, 29 Jan 2014 21:57:00 +0000 Subject: [PATCH] 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 git-svn-id: svn://svn.freebsd.org/base/stable/10@261276 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f --- sys/kern/kern_poll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/kern_poll.c b/sys/kern/kern_poll.c index 349f338f4..8e53fd1e4 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); /* -- 2.45.2