summaryrefslogtreecommitdiffstats
path: root/sys/pci/if_xl.c
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2005-10-05 10:09:17 +0000
committerglebius <glebius@FreeBSD.org>2005-10-05 10:09:17 +0000
commit9efbae40b7fa46513867c684c25f98672c91fd76 (patch)
tree4da500a63f4294917b4cd16805f3184b105af0b7 /sys/pci/if_xl.c
parent5fec195dfbb74ae2282f3a20aeb2944fc966235b (diff)
downloadFreeBSD-src-9efbae40b7fa46513867c684c25f98672c91fd76.zip
FreeBSD-src-9efbae40b7fa46513867c684c25f98672c91fd76.tar.gz
- Don't pollute opt_global.h with DEVICE_POLLING and introduce
opt_device_polling.h - Include opt_device_polling.h into appropriate files. - Embrace with HAVE_KERNEL_OPTION_HEADERS the include in the files that can be compiled as loadable modules. Reviewed by: bde
Diffstat (limited to 'sys/pci/if_xl.c')
-rw-r--r--sys/pci/if_xl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/pci/if_xl.c b/sys/pci/if_xl.c
index e49997a..91ff05e 100644
--- a/sys/pci/if_xl.c
+++ b/sys/pci/if_xl.c
@@ -101,6 +101,10 @@ __FBSDID("$FreeBSD$");
* PCI-based NICs.
*/
+#ifdef HAVE_KERNEL_OPTION_HEADERS
+#include "opt_device_polling.h"
+#endif
+
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/sockio.h>
OpenPOWER on IntegriCloud