move DEVICE_POLLING from opt_global.h to opt_polling.h

Matthew Dillon dillon at
Fri Oct 21 11:18:31 PDT 2005

:Following patch move DEVICE_POLLING from opt_global.h to opt_polling.h:
:Please review it.
:Best Regards,
:Live Free or Die

    net/if_var.h has all sorts of conditionals on DEVICE_POLLING.  Either
    net/if_var.h needs to include opt_polling.h (conditionally on _KERNEL
    or KLD_MODULE), or the option has to be left in opt_global.h.

    I think there were some recent commits that allow modules to use
    the primary opt_*.h files for a compile so its possible that this
    won't break the module build, but it would have to be tested.

					Matthew Dillon 
					<dillon at xxxxxxxxxxxxx>

More information about the Submit mailing list