From 30f8de5ad06629f9ae624a27aa813fe7bb7d9d1f Mon Sep 17 00:00:00 2001 From: Brooks Davis Date: Tue, 22 Oct 2013 22:03:01 +0000 Subject: [PATCH] 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. MFC after: 3 days 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 349f338f48af..8e53fd1e4ace 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); /*