2004-02-04 22:53:50 +00:00
|
|
|
|
#
|
|
|
|
|
# NOTES -- Lines that can be cut/pasted into kernel and hints configs.
|
|
|
|
|
#
|
|
|
|
|
# This file contains machine dependent kernel configuration notes. For
|
|
|
|
|
# machine independent notes, look in /sys/conf/NOTES.
|
2004-02-19 04:39:14 +00:00
|
|
|
|
#
|
2004-02-04 22:53:50 +00:00
|
|
|
|
# $FreeBSD$
|
|
|
|
|
#
|
|
|
|
|
|
2004-03-03 09:26:40 +00:00
|
|
|
|
#
|
2004-03-13 22:14:18 +00:00
|
|
|
|
# We want LINT to cover profiling as well.
|
2005-06-30 05:33:26 +00:00
|
|
|
|
profile 2
|
2004-03-03 09:26:40 +00:00
|
|
|
|
|
2010-06-18 18:51:09 +00:00
|
|
|
|
#
|
|
|
|
|
# Enable the kernel DTrace hooks which are required to load the DTrace
|
|
|
|
|
# kernel modules.
|
|
|
|
|
#
|
|
|
|
|
options KDTRACE_HOOKS
|
|
|
|
|
|
2004-03-03 09:26:40 +00:00
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
# SMP OPTIONS:
|
|
|
|
|
#
|
|
|
|
|
# Notes:
|
|
|
|
|
#
|
2005-06-14 14:21:25 +00:00
|
|
|
|
# IPI_PREEMPTION instructs the kernel to preempt threads running on other
|
|
|
|
|
# CPUS if needed. Relies on the PREEMPTION option
|
2004-03-03 09:26:40 +00:00
|
|
|
|
|
|
|
|
|
# Optional:
|
2005-06-14 14:21:25 +00:00
|
|
|
|
options IPI_PREEMPTION
|
2004-03-05 07:48:47 +00:00
|
|
|
|
device atpic # Optional legacy pic support
|
2004-03-05 07:44:17 +00:00
|
|
|
|
device mptable # Optional MPSPEC mptable support
|
2004-02-04 22:53:50 +00:00
|
|
|
|
|
2005-02-28 00:55:16 +00:00
|
|
|
|
#
|
|
|
|
|
# Watchdog routines.
|
|
|
|
|
#
|
|
|
|
|
options MP_WATCHDOG
|
|
|
|
|
|
2010-06-17 11:54:49 +00:00
|
|
|
|
# Debugging options.
|
|
|
|
|
#
|
|
|
|
|
options COUNT_XINVLTLB_HITS # Counters for TLB events
|
|
|
|
|
options COUNT_IPIS # Per-CPU IPI interrupt counters
|
|
|
|
|
|
2005-04-30 20:01:00 +00:00
|
|
|
|
|
2004-02-04 22:53:50 +00:00
|
|
|
|
|
2004-03-03 09:26:40 +00:00
|
|
|
|
#####################################################################
|
|
|
|
|
# CPU OPTIONS
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# You must specify at least one CPU (the one you intend to run on);
|
|
|
|
|
# deleting the specification for CPUs you don't need to use may make
|
|
|
|
|
# parts of the system run faster.
|
|
|
|
|
#
|
|
|
|
|
cpu HAMMER # aka K8, aka Opteron & Athlon64
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Options for CPU features.
|
|
|
|
|
#
|
2004-02-04 22:53:50 +00:00
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# PERFMON causes the driver for Pentium/Pentium Pro performance counters
|
|
|
|
|
# to be compiled. See perfmon(4) for more information.
|
|
|
|
|
#
|
2004-03-03 09:26:40 +00:00
|
|
|
|
#XXX#options PERFMON
|
2004-02-04 22:53:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
# NETWORKING OPTIONS
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# DEVICE_POLLING adds support for mixed interrupt-polling handling
|
|
|
|
|
# of network device drivers, which has significant benefits in terms
|
|
|
|
|
# of robustness to overloads and responsivity, as well as permitting
|
|
|
|
|
# accurate scheduling of the CPU time between kernel network processing
|
2004-03-03 09:26:40 +00:00
|
|
|
|
# and other activities. The drawback is a moderate (up to 1/HZ seconds)
|
2004-02-04 22:53:50 +00:00
|
|
|
|
# potential increase in response times.
|
|
|
|
|
# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
|
|
|
|
|
# to achieve smoother behaviour.
|
2005-10-07 09:23:51 +00:00
|
|
|
|
# Additionally, you can enable/disable polling at runtime with help of
|
|
|
|
|
# the ifconfig(8) utility, and select the CPU fraction reserved to
|
|
|
|
|
# userland with the sysctl variable kern.polling.user_frac
|
|
|
|
|
# (default 50, range 0..100).
|
2004-02-04 22:53:50 +00:00
|
|
|
|
#
|
2004-03-03 09:26:40 +00:00
|
|
|
|
# Not all device drivers support this mode of operation at the time of
|
|
|
|
|
# this writing. See polling(4) for more details.
|
2004-02-04 22:53:50 +00:00
|
|
|
|
|
|
|
|
|
options DEVICE_POLLING
|
|
|
|
|
|
2008-03-24 22:23:22 +00:00
|
|
|
|
# BPF_JITTER adds support for BPF just-in-time compiler.
|
|
|
|
|
|
2009-05-10 00:00:25 +00:00
|
|
|
|
options BPF_JITTER
|
2008-03-24 22:23:22 +00:00
|
|
|
|
|
2012-04-12 14:01:06 +00:00
|
|
|
|
# OpenFabrics Enterprise Distribution (Infiniband).
|
|
|
|
|
options OFED
|
|
|
|
|
options OFED_DEBUG_INIT
|
|
|
|
|
|
|
|
|
|
# Sockets Direct Protocol
|
|
|
|
|
options SDP
|
|
|
|
|
options SDP_DEBUG
|
|
|
|
|
|
2012-08-28 11:34:09 +00:00
|
|
|
|
# IP over Infiniband
|
2012-04-12 14:01:06 +00:00
|
|
|
|
options IPOIB
|
|
|
|
|
options IPOIB_DEBUG
|
|
|
|
|
options IPOIB_CM
|
|
|
|
|
|
2004-02-04 22:53:50 +00:00
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
# CLOCK OPTIONS
|
|
|
|
|
|
2007-10-29 22:19:08 +00:00
|
|
|
|
# Provide read/write access to the memory in the clock chip.
|
|
|
|
|
device nvram # Access to rtc cmos via /dev/nvram
|
|
|
|
|
|
2004-02-04 22:53:50 +00:00
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
# MISCELLANEOUS DEVICES AND OPTIONS
|
|
|
|
|
|
2005-11-11 09:57:32 +00:00
|
|
|
|
device speaker #Play IBM BASIC-style noises out your speaker
|
|
|
|
|
hint.speaker.0.at="isa"
|
|
|
|
|
hint.speaker.0.port="0x61"
|
2004-03-03 09:26:40 +00:00
|
|
|
|
device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT!
|
2004-02-04 22:53:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
# HARDWARE BUS CONFIGURATION
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# ISA bus
|
|
|
|
|
#
|
|
|
|
|
device isa
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Options for `isa':
|
|
|
|
|
#
|
|
|
|
|
# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
|
|
|
|
|
# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
|
|
|
|
|
# This option breaks suspend/resume on some portables.
|
|
|
|
|
#
|
|
|
|
|
# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
|
|
|
|
|
# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
|
|
|
|
|
# Automatic EOI is documented not to work for for the slave with the
|
|
|
|
|
# original i8259A, but it works for some clones and some integrated
|
|
|
|
|
# versions.
|
|
|
|
|
#
|
|
|
|
|
# MAXMEM specifies the amount of RAM on the machine; if this is not
|
|
|
|
|
# specified, FreeBSD will first read the amount of memory from the CMOS
|
|
|
|
|
# RAM, so the amount of memory will initially be limited to 64MB or 16MB
|
|
|
|
|
# depending on the BIOS. If the BIOS reports 64MB, a memory probe will
|
|
|
|
|
# then attempt to detect the installed amount of RAM. If this probe
|
|
|
|
|
# fails to detect >64MB RAM you will have to use the MAXMEM option.
|
|
|
|
|
# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
|
|
|
|
|
# be 131072 (128 * 1024).
|
|
|
|
|
#
|
|
|
|
|
# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
|
|
|
|
|
# reset the CPU for reboot. This is needed on some systems with broken
|
|
|
|
|
# keyboard controllers.
|
|
|
|
|
|
2004-03-03 09:26:40 +00:00
|
|
|
|
options AUTO_EOI_1
|
|
|
|
|
#options AUTO_EOI_2
|
|
|
|
|
|
2004-02-04 22:53:50 +00:00
|
|
|
|
options MAXMEM=(128*1024)
|
|
|
|
|
#options BROKEN_KEYBOARD_RESET
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# PCI bus & PCI options:
|
|
|
|
|
#
|
|
|
|
|
device pci
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# AGP GART support
|
|
|
|
|
device agp
|
|
|
|
|
|
2009-02-06 20:57:10 +00:00
|
|
|
|
#
|
|
|
|
|
# AGP debugging.
|
|
|
|
|
#
|
2009-05-10 00:00:25 +00:00
|
|
|
|
options AGP_DEBUG
|
2009-02-06 20:57:10 +00:00
|
|
|
|
|
2004-02-04 22:53:50 +00:00
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
# HARDWARE DEVICE CONFIGURATION
|
|
|
|
|
|
2009-09-21 07:08:20 +00:00
|
|
|
|
# To include support for VGA VESA video modes
|
2009-09-09 09:50:31 +00:00
|
|
|
|
options VESA
|
|
|
|
|
|
|
|
|
|
# Turn on extra debugging checks and output for VESA support.
|
|
|
|
|
options VESA_DEBUG
|
|
|
|
|
|
2009-09-21 23:58:29 +00:00
|
|
|
|
device dpms # DPMS suspend & resume via VESA BIOS
|
|
|
|
|
|
|
|
|
|
# x86 real mode BIOS emulator, required by atkbdc/dpms/vesa
|
2014-03-18 14:41:18 +00:00
|
|
|
|
options X86BIOS
|
2009-09-21 23:58:29 +00:00
|
|
|
|
|
2004-02-04 22:53:50 +00:00
|
|
|
|
#
|
|
|
|
|
# Optional devices:
|
|
|
|
|
#
|
|
|
|
|
|
2006-10-20 09:52:27 +00:00
|
|
|
|
# PS/2 mouse
|
|
|
|
|
device psm
|
|
|
|
|
hint.psm.0.at="atkbdc"
|
|
|
|
|
hint.psm.0.irq="12"
|
|
|
|
|
|
|
|
|
|
# Options for psm:
|
|
|
|
|
options PSM_HOOKRESUME #hook the system resume event, useful
|
|
|
|
|
#for some laptops
|
|
|
|
|
options PSM_RESETAFTERSUSPEND #reset the device at the resume event
|
|
|
|
|
|
|
|
|
|
# The keyboard controller; it controls the keyboard and the PS/2 mouse.
|
|
|
|
|
device atkbdc
|
|
|
|
|
hint.atkbdc.0.at="isa"
|
|
|
|
|
hint.atkbdc.0.port="0x060"
|
|
|
|
|
|
|
|
|
|
# The AT keyboard
|
|
|
|
|
device atkbd
|
|
|
|
|
hint.atkbd.0.at="atkbdc"
|
|
|
|
|
hint.atkbd.0.irq="1"
|
|
|
|
|
|
|
|
|
|
# Options for atkbd:
|
|
|
|
|
options ATKBD_DFLT_KEYMAP # specify the built-in keymap
|
|
|
|
|
makeoptions ATKBD_DFLT_KEYMAP=jp.106
|
|
|
|
|
|
|
|
|
|
# `flags' for atkbd:
|
|
|
|
|
# 0x01 Force detection of keyboard, else we always assume a keyboard
|
|
|
|
|
# 0x02 Don't reset keyboard, useful for some newer ThinkPads
|
|
|
|
|
# 0x03 Force detection and avoid reset, might help with certain
|
|
|
|
|
# dockingstations
|
|
|
|
|
# 0x04 Old-style (XT) keyboard support, useful for older ThinkPads
|
|
|
|
|
|
|
|
|
|
# Video card driver for VGA adapters.
|
|
|
|
|
device vga
|
|
|
|
|
hint.vga.0.at="isa"
|
|
|
|
|
|
|
|
|
|
# Options for vga:
|
|
|
|
|
# Try the following option if the mouse pointer is not drawn correctly
|
|
|
|
|
# or font does not seem to be loaded properly. May cause flicker on
|
|
|
|
|
# some systems.
|
|
|
|
|
options VGA_ALT_SEQACCESS
|
|
|
|
|
|
|
|
|
|
# If you can dispense with some vga driver features, you may want to
|
|
|
|
|
# use the following options to save some memory.
|
|
|
|
|
#options VGA_NO_FONT_LOADING # don't save/load font
|
|
|
|
|
#options VGA_NO_MODE_CHANGE # don't change video modes
|
|
|
|
|
|
|
|
|
|
# Older video cards may require this option for proper operation.
|
|
|
|
|
options VGA_SLOW_IOACCESS # do byte-wide i/o's to TS and GDC regs
|
|
|
|
|
|
|
|
|
|
# The following option probably won't work with the LCD displays.
|
|
|
|
|
options VGA_WIDTH90 # support 90 column modes
|
|
|
|
|
|
|
|
|
|
# Debugging.
|
|
|
|
|
options VGA_DEBUG
|
|
|
|
|
|
2009-09-21 07:05:48 +00:00
|
|
|
|
# Linear framebuffer driver for S3 VESA 1.2 cards. Works on top of VESA.
|
|
|
|
|
device s3pci
|
|
|
|
|
|
2004-03-03 09:26:40 +00:00
|
|
|
|
# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create
|
|
|
|
|
# the /dev/3dfx0 device to work with glide implementations. This should get
|
|
|
|
|
# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as
|
|
|
|
|
# the tdfx DRI module from XFree86 and is completely unrelated.
|
|
|
|
|
#
|
|
|
|
|
# To enable Linuxulator support, one must also include COMPAT_LINUX in the
|
2006-03-06 15:29:28 +00:00
|
|
|
|
# config as well. The other option is to load both as modules.
|
2004-03-03 09:26:40 +00:00
|
|
|
|
|
|
|
|
|
device tdfx # Enable 3Dfx Voodoo support
|
2006-03-06 15:29:28 +00:00
|
|
|
|
#XXX#device tdfx_linux # Enable Linuxulator support
|
2004-03-03 09:26:40 +00:00
|
|
|
|
|
2004-02-04 22:53:50 +00:00
|
|
|
|
#
|
|
|
|
|
# ACPI support using the Intel ACPI Component Architecture reference
|
|
|
|
|
# implementation.
|
|
|
|
|
#
|
|
|
|
|
# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
|
|
|
|
|
# kernel environment variables to select initial debugging levels for the
|
|
|
|
|
# Intel ACPICA code. (Note that the Intel code must also have USE_DEBUGGER
|
|
|
|
|
# defined when it is built).
|
2004-03-03 09:26:40 +00:00
|
|
|
|
|
2004-02-04 22:53:50 +00:00
|
|
|
|
device acpi
|
|
|
|
|
options ACPI_DEBUG
|
|
|
|
|
|
2007-07-01 22:19:20 +00:00
|
|
|
|
# The cpufreq(4) driver provides support for non-ACPI CPU frequency control
|
|
|
|
|
device cpufreq
|
|
|
|
|
|
Update to DRM CVS as of 2005-04-12, bringing many changes:
- Split core DRM routines back into their own module, rather than using the
nasty templated system like before.
- Development-class R300 support in radeon driver (requires userland pieces, of
course).
- Mach64 driver (haven't tested in a while -- my mach64s no longer fit in the
testbox). Covers Rage Pros, Rage Mobility P/M, Rage XL, and some others.
- i915 driver files, which just need to get drm_drv.c fixed to allow attachment
to the drmsub device. Covers i830 through i915 integrated graphics.
- savage driver files, which should require minimal changes to work. Covers the
Savage3D, Savage IX/MX, Savage 4, ProSavage.
- Support for color and texture tiling and HyperZ features of Radeon.
Thanks to: scottl (much p4 handholding)
Jung-uk Kim (helpful prodding)
PR: [1] kern/76879, [2] kern/72548
Submitted by: [1] Alex, lesha at intercaf dot ru
[2] Shaun Jurrens, shaun at shamz dot net
2005-04-16 03:44:47 +00:00
|
|
|
|
# Direct Rendering modules for 3D acceleration.
|
|
|
|
|
device drm # DRM core module required by DRM drivers
|
2005-12-03 01:23:50 +00:00
|
|
|
|
device i915drm # Intel i830 through i915
|
Update to DRM CVS as of 2005-04-12, bringing many changes:
- Split core DRM routines back into their own module, rather than using the
nasty templated system like before.
- Development-class R300 support in radeon driver (requires userland pieces, of
course).
- Mach64 driver (haven't tested in a while -- my mach64s no longer fit in the
testbox). Covers Rage Pros, Rage Mobility P/M, Rage XL, and some others.
- i915 driver files, which just need to get drm_drv.c fixed to allow attachment
to the drmsub device. Covers i830 through i915 integrated graphics.
- savage driver files, which should require minimal changes to work. Covers the
Savage3D, Savage IX/MX, Savage 4, ProSavage.
- Support for color and texture tiling and HyperZ features of Radeon.
Thanks to: scottl (much p4 handholding)
Jung-uk Kim (helpful prodding)
PR: [1] kern/76879, [2] kern/72548
Submitted by: [1] Alex, lesha at intercaf dot ru
[2] Shaun Jurrens, shaun at shamz dot net
2005-04-16 03:44:47 +00:00
|
|
|
|
device mach64drm # ATI Rage Pro, Rage Mobility P/M, Rage XL
|
|
|
|
|
device mgadrm # AGP Matrox G200, G400, G450, G550
|
|
|
|
|
device r128drm # ATI Rage 128
|
2005-07-20 21:10:57 +00:00
|
|
|
|
device radeondrm # ATI Radeon
|
2005-11-28 23:13:57 +00:00
|
|
|
|
device savagedrm # S3 Savage3D, Savage4
|
Update to DRM CVS as of 2005-04-12, bringing many changes:
- Split core DRM routines back into their own module, rather than using the
nasty templated system like before.
- Development-class R300 support in radeon driver (requires userland pieces, of
course).
- Mach64 driver (haven't tested in a while -- my mach64s no longer fit in the
testbox). Covers Rage Pros, Rage Mobility P/M, Rage XL, and some others.
- i915 driver files, which just need to get drm_drv.c fixed to allow attachment
to the drmsub device. Covers i830 through i915 integrated graphics.
- savage driver files, which should require minimal changes to work. Covers the
Savage3D, Savage IX/MX, Savage 4, ProSavage.
- Support for color and texture tiling and HyperZ features of Radeon.
Thanks to: scottl (much p4 handholding)
Jung-uk Kim (helpful prodding)
PR: [1] kern/76879, [2] kern/72548
Submitted by: [1] Alex, lesha at intercaf dot ru
[2] Shaun Jurrens, shaun at shamz dot net
2005-04-16 03:44:47 +00:00
|
|
|
|
device sisdrm # SiS 300/305, 540, 630
|
|
|
|
|
device tdfxdrm # 3dfx Voodoo 3/4/5 and Banshee
|
2010-01-31 14:30:39 +00:00
|
|
|
|
device viadrm # VIA
|
Update to DRM CVS as of 2005-04-12, bringing many changes:
- Split core DRM routines back into their own module, rather than using the
nasty templated system like before.
- Development-class R300 support in radeon driver (requires userland pieces, of
course).
- Mach64 driver (haven't tested in a while -- my mach64s no longer fit in the
testbox). Covers Rage Pros, Rage Mobility P/M, Rage XL, and some others.
- i915 driver files, which just need to get drm_drv.c fixed to allow attachment
to the drmsub device. Covers i830 through i915 integrated graphics.
- savage driver files, which should require minimal changes to work. Covers the
Savage3D, Savage IX/MX, Savage 4, ProSavage.
- Support for color and texture tiling and HyperZ features of Radeon.
Thanks to: scottl (much p4 handholding)
Jung-uk Kim (helpful prodding)
PR: [1] kern/76879, [2] kern/72548
Submitted by: [1] Alex, lesha at intercaf dot ru
[2] Shaun Jurrens, shaun at shamz dot net
2005-04-16 03:44:47 +00:00
|
|
|
|
options DRM_DEBUG # Include debug printfs (slow)
|
2004-02-04 22:53:50 +00:00
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Network interfaces:
|
|
|
|
|
#
|
|
|
|
|
|
2013-09-20 20:18:49 +00:00
|
|
|
|
# bxe: Broadcom NetXtreme II (BCM5771X/BCM578XX) PCIe 10Gb Ethernet
|
|
|
|
|
# adapters.
|
2004-02-19 04:39:14 +00:00
|
|
|
|
# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
|
2006-10-19 05:17:55 +00:00
|
|
|
|
# HP PC Lan+, various PC Card devices
|
2004-05-16 21:27:29 +00:00
|
|
|
|
# (requires miibus)
|
2006-06-12 20:38:17 +00:00
|
|
|
|
# ipw: Intel PRO/Wireless 2100 IEEE 802.11 adapter
|
2010-02-08 21:38:42 +00:00
|
|
|
|
# Requires the ipw firmware module
|
2006-06-12 20:38:17 +00:00
|
|
|
|
# iwi: Intel PRO/Wireless 2200BG/2225BG/2915ABG IEEE 802.11 adapters
|
2010-02-08 21:38:42 +00:00
|
|
|
|
# Requires the iwi firmware module
|
|
|
|
|
# iwn: Intel Wireless WiFi Link 4965/1000/5000/6000 802.11 network adapters
|
|
|
|
|
# Requires the iwn firmware module
|
2012-04-12 14:01:06 +00:00
|
|
|
|
# mlx4ib: Mellanox ConnectX HCA InfiniBand
|
|
|
|
|
# mlxen: Mellanox ConnectX HCA Ethernet
|
|
|
|
|
# mthca: Mellanox HCA InfiniBand
|
2006-06-26 23:41:07 +00:00
|
|
|
|
# nfe: nVidia nForce MCP on-board Ethernet Networking (BSD open source)
|
2011-11-28 18:51:40 +00:00
|
|
|
|
# sfxge: Solarflare SFC9000 family 10Gb Ethernet adapters
|
2013-09-06 20:24:21 +00:00
|
|
|
|
# vmx: VMware VMXNET3 Ethernet (BSD open source)
|
2007-11-08 22:09:37 +00:00
|
|
|
|
# wpi: Intel 3945ABG Wireless LAN controller
|
2010-02-08 21:38:42 +00:00
|
|
|
|
# Requires the wpi firmware module
|
2004-03-03 09:26:40 +00:00
|
|
|
|
|
2013-09-20 20:18:49 +00:00
|
|
|
|
device bxe # Broadcom NetXtreme II BCM5771X/BCM578XX 10GbE
|
2012-04-04 13:49:22 +00:00
|
|
|
|
device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards
|
2005-07-21 21:55:11 +00:00
|
|
|
|
options ED_3C503
|
|
|
|
|
options ED_HPP
|
|
|
|
|
options ED_SIC
|
2012-04-04 13:49:22 +00:00
|
|
|
|
device ipw # Intel 2100 wireless NICs.
|
|
|
|
|
device iwi # Intel 2200BG/2225BG/2915ABG wireless NICs.
|
|
|
|
|
device iwn # Intel 4965/1000/5000/6000 wireless NICs.
|
2012-04-12 14:01:06 +00:00
|
|
|
|
device mlx4ib # Mellanox ConnectX HCA InfiniBand
|
|
|
|
|
device mlxen # Mellanox ConnectX HCA Ethernet
|
|
|
|
|
device mthca # Mellanox HCA InfiniBand
|
2012-04-04 13:49:22 +00:00
|
|
|
|
device nfe # nVidia nForce MCP on-board Ethernet
|
2012-09-04 19:19:36 +00:00
|
|
|
|
device sfxge # Solarflare SFC9000 10Gb Ethernet
|
2013-09-06 20:24:21 +00:00
|
|
|
|
device vmx # VMware VMXNET3 Ethernet
|
2012-04-04 13:49:22 +00:00
|
|
|
|
device wpi # Intel 3945ABG wireless NICs.
|
2004-03-03 09:26:40 +00:00
|
|
|
|
|
2010-02-08 21:38:42 +00:00
|
|
|
|
# IEEE 802.11 adapter firmware modules
|
|
|
|
|
|
|
|
|
|
# Intel PRO/Wireless 2100 firmware:
|
|
|
|
|
# ipwfw: BSS/IBSS/monitor mode firmware
|
|
|
|
|
# ipwbssfw: BSS mode firmware
|
|
|
|
|
# ipwibssfw: IBSS mode firmware
|
|
|
|
|
# ipwmonitorfw: Monitor mode firmware
|
|
|
|
|
# Intel PRO/Wireless 2200BG/2225BG/2915ABG firmware:
|
|
|
|
|
# iwifw: BSS/IBSS/monitor mode firmware
|
|
|
|
|
# iwibssfw: BSS mode firmware
|
|
|
|
|
# iwiibssfw: IBSS mode firmware
|
|
|
|
|
# iwimonitorfw: Monitor mode firmware
|
|
|
|
|
# Intel Wireless WiFi Link 4965/1000/5000/6000 series firmware:
|
|
|
|
|
# iwnfw: Single module to support the 4965/1000/5000/5150/6000
|
|
|
|
|
# iwn4965fw: Specific module for the 4965 only
|
|
|
|
|
# iwn1000fw: Specific module for the 1000 only
|
|
|
|
|
# iwn5000fw: Specific module for the 5000 only
|
|
|
|
|
# iwn5150fw: Specific module for the 5150 only
|
|
|
|
|
# iwn6000fw: Specific module for the 6000 only
|
2010-07-15 11:26:07 +00:00
|
|
|
|
# iwn6050fw: Specific module for the 6050 only
|
2010-02-08 21:38:42 +00:00
|
|
|
|
# wpifw: Intel 3945ABG Wireless LAN Controller firmware
|
|
|
|
|
|
|
|
|
|
device iwifw
|
|
|
|
|
device iwibssfw
|
|
|
|
|
device iwiibssfw
|
|
|
|
|
device iwimonitorfw
|
|
|
|
|
device ipwfw
|
|
|
|
|
device ipwbssfw
|
|
|
|
|
device ipwibssfw
|
|
|
|
|
device ipwmonitorfw
|
|
|
|
|
device iwnfw
|
|
|
|
|
device iwn4965fw
|
|
|
|
|
device iwn1000fw
|
|
|
|
|
device iwn5000fw
|
|
|
|
|
device iwn5150fw
|
|
|
|
|
device iwn6000fw
|
2010-07-15 11:26:07 +00:00
|
|
|
|
device iwn6050fw
|
2010-02-08 21:38:42 +00:00
|
|
|
|
device wpifw
|
|
|
|
|
|
2013-04-29 22:48:53 +00:00
|
|
|
|
# Intel Non-Transparent Bridge (NTB) hardware
|
|
|
|
|
device ntb_hw # Hardware Abstraction Layer for the NTB
|
|
|
|
|
device if_ntb # Simulated ethernet device using the NTB
|
|
|
|
|
|
2004-02-04 22:53:50 +00:00
|
|
|
|
#
|
2004-03-03 09:26:40 +00:00
|
|
|
|
#XXX this stores pointers in a 32bit field that is defined by the hardware
|
|
|
|
|
#device pst
|
2004-02-04 22:53:50 +00:00
|
|
|
|
|
2005-03-31 20:21:43 +00:00
|
|
|
|
#
|
|
|
|
|
# Areca 11xx and 12xx series of SATA II RAID controllers.
|
|
|
|
|
# CAM is required.
|
|
|
|
|
#
|
|
|
|
|
device arcmsr # Areca SATA II RAID
|
|
|
|
|
|
2004-05-16 21:27:29 +00:00
|
|
|
|
#
|
|
|
|
|
# 3ware 9000 series PATA/SATA RAID controller driver and options.
|
|
|
|
|
# The driver is implemented as a SIM, and so, needs the CAM infrastructure.
|
|
|
|
|
#
|
2005-02-28 00:58:06 +00:00
|
|
|
|
options TWA_DEBUG # 0-10; 10 prints the most messages.
|
|
|
|
|
options TWA_FLASH_FIRMWARE # firmware image bundled when defined.
|
2004-05-16 21:27:29 +00:00
|
|
|
|
device twa # 3ware 9000 series PATA/SATA RAID
|
|
|
|
|
|
2004-03-03 09:26:40 +00:00
|
|
|
|
#
|
2004-02-04 22:53:50 +00:00
|
|
|
|
# SCSI host adapters:
|
2004-03-03 09:26:40 +00:00
|
|
|
|
#
|
2004-02-19 04:39:14 +00:00
|
|
|
|
# ncv: NCR 53C500 based SCSI host adapters.
|
|
|
|
|
# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
|
|
|
|
|
# stg: TMC 18C30, 18C50 based SCSI host adapters.
|
|
|
|
|
|
2004-03-05 07:48:47 +00:00
|
|
|
|
device ncv
|
|
|
|
|
device nsp
|
|
|
|
|
device stg
|
2004-02-04 22:53:50 +00:00
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Adaptec FSA RAID controllers, including integrated DELL controllers,
|
|
|
|
|
# the Dell PERC 2/QC and the HP NetRAID-4M
|
|
|
|
|
device aac
|
|
|
|
|
device aacp # SCSI Passthrough interface (optional, CAM required)
|
|
|
|
|
|
2013-05-24 09:22:43 +00:00
|
|
|
|
#
|
|
|
|
|
# Adaptec by PMC RAID controllers, Series 6/7/8 and upcoming families
|
|
|
|
|
device aacraid # Container interface, CAM required
|
|
|
|
|
|
2011-12-28 23:26:58 +00:00
|
|
|
|
#
|
|
|
|
|
# Highpoint RocketRAID 27xx.
|
|
|
|
|
device hpt27xx
|
|
|
|
|
|
2005-06-30 05:33:26 +00:00
|
|
|
|
#
|
2007-12-15 00:56:17 +00:00
|
|
|
|
# Highpoint RocketRAID 182x.
|
2005-09-08 03:29:18 +00:00
|
|
|
|
device hptmv
|
2005-06-30 05:33:26 +00:00
|
|
|
|
|
2013-07-06 07:49:41 +00:00
|
|
|
|
#
|
|
|
|
|
# Highpoint DC7280 and R750.
|
|
|
|
|
device hptnr
|
|
|
|
|
|
2007-12-15 00:56:17 +00:00
|
|
|
|
#
|
|
|
|
|
# Highpoint RocketRAID. Supports RR172x, RR222x, RR2240, RR232x, RR2340,
|
|
|
|
|
# RR2210, RR174x, RR2522, RR231x, RR230x.
|
|
|
|
|
device hptrr
|
|
|
|
|
|
2007-05-09 15:55:45 +00:00
|
|
|
|
#
|
|
|
|
|
# Highpoint RocketRaid 3xxx series SATA RAID
|
|
|
|
|
device hptiop
|
|
|
|
|
|
2004-02-04 22:53:50 +00:00
|
|
|
|
#
|
|
|
|
|
# IBM (now Adaptec) ServeRAID controllers
|
|
|
|
|
device ips
|
|
|
|
|
|
2012-01-31 19:38:18 +00:00
|
|
|
|
#
|
|
|
|
|
# Intel C600 (Patsburg) integrated SAS controller
|
|
|
|
|
device isci
|
2014-03-18 14:41:18 +00:00
|
|
|
|
options ISCI_LOGGING # enable debugging in isci HAL
|
2012-01-31 19:38:18 +00:00
|
|
|
|
|
2012-09-17 19:26:33 +00:00
|
|
|
|
#
|
|
|
|
|
# NVM Express (NVMe) support
|
|
|
|
|
device nvme # base NVMe driver
|
|
|
|
|
device nvd # expose NVMe namespaces as disks, depends on nvme
|
|
|
|
|
|
2004-02-04 22:53:50 +00:00
|
|
|
|
#
|
|
|
|
|
# SafeNet crypto driver: can be moved to the MI NOTES as soon as
|
|
|
|
|
# it's tested on a big-endian machine
|
|
|
|
|
#
|
|
|
|
|
device safe # SafeNet 1141
|
2005-02-28 00:58:06 +00:00
|
|
|
|
options SAFE_DEBUG # enable debugging support: hw.safe.debug
|
|
|
|
|
options SAFE_RNDTEST # enable rndtest support
|
2004-02-04 22:53:50 +00:00
|
|
|
|
|
2013-01-13 07:14:16 +00:00
|
|
|
|
#
|
|
|
|
|
# VirtIO support
|
2013-03-06 07:17:53 +00:00
|
|
|
|
#
|
|
|
|
|
# The virtio entry provides a generic bus for use by the device drivers.
|
|
|
|
|
# It must be combined with an interface that communicates with the host.
|
2014-01-06 17:23:22 +00:00
|
|
|
|
# Multiple such interfaces are defined by the VirtIO specification. FreeBSD
|
2013-03-06 07:17:53 +00:00
|
|
|
|
# only has support for PCI. Therefore, virtio_pci must be statically
|
|
|
|
|
# compiled in or loaded as a module for the device drivers to function.
|
|
|
|
|
#
|
2013-01-13 07:14:16 +00:00
|
|
|
|
device virtio # Generic VirtIO bus (required)
|
|
|
|
|
device virtio_pci # VirtIO PCI Interface
|
|
|
|
|
device vtnet # VirtIO Ethernet device
|
|
|
|
|
device virtio_blk # VirtIO Block device
|
|
|
|
|
device virtio_scsi # VirtIO SCSI device
|
|
|
|
|
device virtio_balloon # VirtIO Memory Balloon device
|
2014-01-18 06:14:38 +00:00
|
|
|
|
device virtio_random # VirtIO Entropy device
|
2013-01-13 07:14:16 +00:00
|
|
|
|
|
2013-10-28 21:11:28 +00:00
|
|
|
|
device hyperv # HyperV drivers
|
|
|
|
|
|
|
|
|
|
# Xen HVM Guest Optimizations
|
2014-01-06 17:23:22 +00:00
|
|
|
|
options XENHVM # Xen HVM kernel infrastructure
|
2013-10-28 21:11:28 +00:00
|
|
|
|
device xenpci # Xen HVM Hypervisor services driver
|
|
|
|
|
|
2004-02-04 22:53:50 +00:00
|
|
|
|
#####################################################################
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# Miscellaneous hardware:
|
|
|
|
|
#
|
2006-09-22 22:11:29 +00:00
|
|
|
|
# ipmi: Intelligent Platform Management Interface
|
2009-02-07 00:01:10 +00:00
|
|
|
|
# pbio: Parallel (8255 PPI) basic I/O (mode 0) port (e.g. Advantech PCL-724)
|
2005-07-21 21:57:31 +00:00
|
|
|
|
# smbios: DMI/SMBIOS entry point
|
|
|
|
|
# vpd: Vital Product Data kernel interface
|
2007-12-28 22:50:04 +00:00
|
|
|
|
# asmc: Apple System Management Controller
|
2009-02-07 00:01:10 +00:00
|
|
|
|
# si: Specialix International SI/XIO or SX intelligent serial card
|
2010-09-19 14:40:37 +00:00
|
|
|
|
# tpm: Trusted Platform Module
|
2004-02-04 22:53:50 +00:00
|
|
|
|
|
|
|
|
|
# Notes on the Specialix SI/XIO driver:
|
|
|
|
|
# The host card is memory, not IO mapped.
|
|
|
|
|
# The Rev 1 host cards use a 64K chunk, on a 32K boundary.
|
|
|
|
|
# The Rev 2 host cards use a 32K chunk, on a 32K boundary.
|
|
|
|
|
# The cards can use an IRQ of 11, 12 or 15.
|
|
|
|
|
|
2006-09-22 22:11:29 +00:00
|
|
|
|
device ipmi
|
2005-06-30 05:33:26 +00:00
|
|
|
|
device pbio
|
|
|
|
|
hint.pbio.0.at="isa"
|
|
|
|
|
hint.pbio.0.port="0x360"
|
2005-07-21 00:18:28 +00:00
|
|
|
|
device smbios
|
2005-07-21 21:57:31 +00:00
|
|
|
|
device vpd
|
2007-12-28 22:50:04 +00:00
|
|
|
|
device asmc
|
2009-02-07 00:01:10 +00:00
|
|
|
|
#device si
|
2010-09-19 14:40:37 +00:00
|
|
|
|
device tpm
|
2013-08-21 22:43:29 +00:00
|
|
|
|
device padlock_rng # VIA Padlock RNG
|
|
|
|
|
device rdrand_rng # Intel Bull Mountain RNG
|
2013-10-04 17:21:01 +00:00
|
|
|
|
device aesni # AES-NI OpenCrypto module
|
2009-02-07 00:01:10 +00:00
|
|
|
|
|
2004-02-04 22:53:50 +00:00
|
|
|
|
#
|
|
|
|
|
# Laptop/Notebook options:
|
|
|
|
|
#
|
|
|
|
|
|
2004-03-03 09:26:40 +00:00
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# I2C Bus
|
|
|
|
|
#
|
|
|
|
|
|
2005-06-30 05:33:26 +00:00
|
|
|
|
#
|
|
|
|
|
# Hardware watchdog timers:
|
|
|
|
|
#
|
|
|
|
|
# ichwd: Intel ICH watchdog timer
|
2009-11-30 11:44:03 +00:00
|
|
|
|
# amdsbwd: AMD SB7xx watchdog timer
|
2011-12-20 00:16:52 +00:00
|
|
|
|
# viawd: VIA south bridge watchdog timer
|
2012-03-06 18:44:52 +00:00
|
|
|
|
# wbwd: Winbond watchdog timer
|
2005-06-30 05:33:26 +00:00
|
|
|
|
#
|
|
|
|
|
device ichwd
|
2009-11-30 11:44:03 +00:00
|
|
|
|
device amdsbwd
|
2011-12-12 09:50:33 +00:00
|
|
|
|
device viawd
|
2012-03-06 18:44:52 +00:00
|
|
|
|
device wbwd
|
2005-06-30 05:33:26 +00:00
|
|
|
|
|
2007-08-15 19:26:03 +00:00
|
|
|
|
#
|
|
|
|
|
# Temperature sensors:
|
|
|
|
|
#
|
|
|
|
|
# coretemp: on-die sensor on Intel Core and newer CPUs
|
2009-03-16 10:36:24 +00:00
|
|
|
|
# amdtemp: on-die sensor on AMD K8/K10/K11 CPUs
|
2007-08-15 19:26:03 +00:00
|
|
|
|
#
|
|
|
|
|
device coretemp
|
2009-03-16 10:36:24 +00:00
|
|
|
|
device amdtemp
|
2007-08-15 19:26:03 +00:00
|
|
|
|
|
2008-08-08 16:26:53 +00:00
|
|
|
|
#
|
|
|
|
|
# CPU control pseudo-device. Provides access to MSRs, CPUID info and
|
|
|
|
|
# microcode update feature.
|
|
|
|
|
#
|
|
|
|
|
device cpuctl
|
|
|
|
|
|
2004-05-16 21:27:29 +00:00
|
|
|
|
#
|
|
|
|
|
# System Management Bus (SMB)
|
|
|
|
|
#
|
|
|
|
|
options ENABLE_ALART # Control alarm on Intel intpm driver
|
|
|
|
|
|
2011-08-26 17:08:22 +00:00
|
|
|
|
#
|
|
|
|
|
# Number of initial kernel page table pages used for early bootstrap.
|
|
|
|
|
# This number should include enough pages to map the kernel and any
|
|
|
|
|
# modules or other data loaded with the kernel by the loader. Each
|
|
|
|
|
# page table page maps 2MB.
|
|
|
|
|
#
|
|
|
|
|
options NKPT=31
|
|
|
|
|
|
2004-02-04 22:53:50 +00:00
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
# ABI Emulation
|
|
|
|
|
|
2004-03-03 09:26:40 +00:00
|
|
|
|
#XXX keep these here for now and reactivate when support for emulating
|
|
|
|
|
#XXX these 32 bit binaries is added.
|
|
|
|
|
|
2004-08-16 11:09:59 +00:00
|
|
|
|
# Enable 32-bit runtime support for FreeBSD/i386 binaries.
|
2010-03-11 14:49:06 +00:00
|
|
|
|
options COMPAT_FREEBSD32
|
2004-08-16 11:09:59 +00:00
|
|
|
|
|
2004-03-03 09:26:40 +00:00
|
|
|
|
# Enable iBCS2 runtime support for SCO and ISC binaries
|
|
|
|
|
#XXX#options IBCS2
|
|
|
|
|
|
|
|
|
|
# Emulate spx device for client side of SVR3 local X interface
|
|
|
|
|
#XXX#options SPX_HACK
|
|
|
|
|
|
2004-02-04 22:53:50 +00:00
|
|
|
|
# Enable Linux ABI emulation
|
2004-03-03 09:26:40 +00:00
|
|
|
|
#XXX#options COMPAT_LINUX
|
2004-02-04 22:53:50 +00:00
|
|
|
|
|
2010-03-11 14:49:06 +00:00
|
|
|
|
# Enable 32-bit Linux ABI emulation (requires COMPAT_43 and COMPAT_FREEBSD32)
|
2004-08-16 07:55:06 +00:00
|
|
|
|
options COMPAT_LINUX32
|
|
|
|
|
|
2004-08-16 12:39:27 +00:00
|
|
|
|
# Enable the linux-like proc filesystem support (requires COMPAT_LINUX32
|
2004-02-04 22:53:50 +00:00
|
|
|
|
# and PSEUDOFS)
|
2004-08-16 12:39:27 +00:00
|
|
|
|
options LINPROCFS
|
2004-03-03 09:26:40 +00:00
|
|
|
|
|
2006-05-09 22:27:01 +00:00
|
|
|
|
#Enable the linux-like sys filesystem support (requires COMPAT_LINUX32
|
|
|
|
|
# and PSEUDOFS)
|
2009-05-10 00:00:25 +00:00
|
|
|
|
options LINSYSFS
|
2006-05-09 22:27:01 +00:00
|
|
|
|
|
2004-03-03 09:26:40 +00:00
|
|
|
|
#
|
|
|
|
|
# SysVR4 ABI emulation
|
|
|
|
|
#
|
|
|
|
|
# The svr4 ABI emulator can be statically compiled into the kernel or loaded as
|
|
|
|
|
# a KLD module.
|
|
|
|
|
# The STREAMS network emulation code can also be compiled statically or as a
|
|
|
|
|
# module. If loaded as a module, it must be loaded before the svr4 module
|
|
|
|
|
# (the /usr/sbin/svr4 script does this for you). If compiling statically,
|
|
|
|
|
# the `streams' device must be configured into any kernel which also
|
|
|
|
|
# specifies COMPAT_SVR4. It is possible to have a statically-configured
|
|
|
|
|
# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4
|
|
|
|
|
# script understands that it doesn't need to load the `streams' module under
|
|
|
|
|
# those circumstances.
|
|
|
|
|
# Caveat: At this time, `options KTRACE' is required for the svr4 emulator
|
|
|
|
|
# (whether static or dynamic).
|
|
|
|
|
#
|
|
|
|
|
#XXX#options COMPAT_SVR4 # build emulator statically
|
2004-03-13 22:16:34 +00:00
|
|
|
|
#XXX#options DEBUG_SVR4 # enable verbose debugging
|
2004-03-03 09:26:40 +00:00
|
|
|
|
#XXX#device streams # STREAMS network driver (required for svr4).
|
2004-02-04 22:53:50 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#####################################################################
|
|
|
|
|
# VM OPTIONS
|
|
|
|
|
|
|
|
|
|
# KSTACK_PAGES is the number of memory pages to assign to the kernel
|
|
|
|
|
# stack of each thread.
|
|
|
|
|
|
2011-03-11 19:21:42 +00:00
|
|
|
|
options KSTACK_PAGES=5
|
2004-02-04 22:53:50 +00:00
|
|
|
|
|
2012-03-24 19:43:49 +00:00
|
|
|
|
# Enable detailed accounting by the PV entry allocator.
|
|
|
|
|
|
|
|
|
|
options PV_STATS
|
|
|
|
|
|
2004-02-04 22:53:50 +00:00
|
|
|
|
#####################################################################
|
|
|
|
|
|
|
|
|
|
# More undocumented options for linting.
|
|
|
|
|
# Note that documenting these are not considered an affront.
|
|
|
|
|
|
|
|
|
|
options FB_INSTALL_CDEV # install a CDEV entry in /dev
|
|
|
|
|
|
|
|
|
|
options KBDIO_DEBUG=2
|
|
|
|
|
options KBD_MAXRETRY=4
|
|
|
|
|
options KBD_MAXWAIT=6
|
|
|
|
|
options KBD_RESETDELAY=201
|
|
|
|
|
|
|
|
|
|
options PSM_DEBUG=1
|
|
|
|
|
|
|
|
|
|
options TIMER_FREQ=((14318182+6)/12)
|
|
|
|
|
|
|
|
|
|
options VM_KMEM_SIZE
|
|
|
|
|
options VM_KMEM_SIZE_MAX
|
|
|
|
|
options VM_KMEM_SIZE_SCALE
|
2004-08-01 11:40:54 +00:00
|
|
|
|
|
2006-06-12 20:38:17 +00:00
|
|
|
|
# Enable NDIS binary driver support
|
2009-03-07 19:54:30 +00:00
|
|
|
|
options NDISAPI
|
|
|
|
|
device ndis
|
2009-09-26 12:45:28 +00:00
|
|
|
|
|
|
|
|
|
# Linux-specific pseudo devices support
|
|
|
|
|
device lindev
|
2014-04-09 18:44:54 +00:00
|
|
|
|
|
|
|
|
|
# Module to enable execution of application via emulators like QEMU
|
|
|
|
|
options IMAGACT_BINMISC
|