diff options
| -rw-r--r-- | sys/dev/em/if_em.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/em/if_em.c b/sys/dev/em/if_em.c index 43ee9400fc371..88cf57a537b1e 100644 --- a/sys/dev/em/if_em.c +++ b/sys/dev/em/if_em.c @@ -298,9 +298,6 @@ static void em_enable_wakeup(device_t); #ifndef EM_FAST_IRQ static void em_intr(void *); -#ifdef DEVICE_POLLING -static poll_handler_t em_poll; -#endif /* POLLING */ #else /* FAST IRQ */ #if __FreeBSD_version < 700000 static void em_intr_fast(void *); @@ -313,6 +310,10 @@ static void em_handle_rxtx(void *context, int pending); static void em_handle_link(void *context, int pending); #endif /* EM_FAST_IRQ */ +#ifdef DEVICE_POLLING +static poll_handler_t em_poll; +#endif /* POLLING */ + /********************************************************************* * FreeBSD Device Interface Entry Points *********************************************************************/ |
