From a98111a09d5c21f9bb9ee942f66c68546661a99c Mon Sep 17 00:00:00 2001 From: brooks Date: Wed, 29 Jan 2014 21:57:00 +0000 Subject: 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 --- 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 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); /* -- cgit v1.1