- Move DEVICE_POLLING from opt_global.h to opt_polling.h(newly added),
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 24 Oct 2005 08:06:16 +0000 (08:06 +0000)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Mon, 24 Oct 2005 08:06:16 +0000 (08:06 +0000)
commit2b71c8f1007701e813e81ac88df4f2b6d8d019ee
tree09060c6fc9367f0b0a38b8aefbdef0e507b07c2b
parent4dfb4f32da5437c034170a80391885885670fc94
- Move DEVICE_POLLING from opt_global.h to opt_polling.h(newly added),
  so that polling(4) can be enabled in modules that are not built
  during kernel building
- Add opt_polling.h to files that depend on DEVICE_POLLING
- Change related netif modules' Makefile to enable polling(4) support
- Add comment in net/if_var.h to prevent DEVICE_POLLING related
  incompatibilities from being introduced
Suggested-by: dillon
NOTE: As of this commit, any file that will depend on DEVICE_POLLING
      *must* include opt_polling.h at its beginning

With-helps-from: joerg
Reviewed-by: dillon, submit@
29 files changed:
sys/conf/options
sys/dev/netif/dc/Makefile
sys/dev/netif/dc/if_dc.c
sys/dev/netif/em/Makefile
sys/dev/netif/em/if_em.c
sys/dev/netif/fwe/Makefile
sys/dev/netif/fwe/if_fwe.c
sys/dev/netif/fxp/Makefile
sys/dev/netif/fxp/if_fxp.c
sys/dev/netif/nge/Makefile
sys/dev/netif/nge/if_nge.c
sys/dev/netif/nv/Makefile
sys/dev/netif/nv/if_nv.c
sys/dev/netif/re/Makefile
sys/dev/netif/re/if_re.c
sys/dev/netif/rl/Makefile
sys/dev/netif/rl/if_rl.c
sys/dev/netif/sis/Makefile
sys/dev/netif/sis/if_sis.c
sys/dev/netif/vr/Makefile
sys/dev/netif/vr/if_vr.c
sys/dev/netif/wi/Makefile
sys/dev/netif/wi/if_wi.c
sys/dev/netif/xl/Makefile
sys/dev/netif/xl/if_xl.c
sys/kern/kern_clock.c
sys/kern/kern_poll.c
sys/net/if.c
sys/net/if_var.h