diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2007-11-21 12:55:33 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2007-11-21 12:55:33 +0000 |
| commit | c87e4fcd080314063149bb5f7062389634e8b559 (patch) | |
| tree | c2ffa83945f1427f85baf672be78244b58758d4f /sys/dev | |
| parent | 7b8d9f5cb36fbfc6b3a70a5373c3ed8bb3803e60 (diff) | |
Notes
Diffstat (limited to 'sys/dev')
| -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 *********************************************************************/ |
