Deleted Added
full compact
NOTES (158101) NOTES (158381)
1#
2# NOTES -- Lines that can be cut/pasted into kernel and hints configs.
3#
4# This file contains machine dependent kernel configuration notes. For
5# machine independent notes, look in /sys/conf/NOTES.
6#
1#
2# NOTES -- Lines that can be cut/pasted into kernel and hints configs.
3#
4# This file contains machine dependent kernel configuration notes. For
5# machine independent notes, look in /sys/conf/NOTES.
6#
7# $FreeBSD: head/sys/amd64/conf/NOTES 158101 2006-04-28 05:23:10Z scottl $
7# $FreeBSD: head/sys/amd64/conf/NOTES 158381 2006-05-09 22:27:01Z ambrisko $
8#
9
10#
11# We want LINT to cover profiling as well.
12profile 2
13
14
15#####################################################################
16# SMP OPTIONS:
17#
18# Notes:
19#
20# IPI_PREEMPTION instructs the kernel to preempt threads running on other
21# CPUS if needed. Relies on the PREEMPTION option
22
23# Optional:
24options IPI_PREEMPTION
25device atpic # Optional legacy pic support
26device mptable # Optional MPSPEC mptable support
27
28#
29# Watchdog routines.
30#
31options MP_WATCHDOG
32
33#
34# Debugging options.
35#
36options STOP_NMI # Stop CPUS using NMI instead of IPI
37
38
39
40#####################################################################
41# CPU OPTIONS
42
43#
44# You must specify at least one CPU (the one you intend to run on);
45# deleting the specification for CPUs you don't need to use may make
46# parts of the system run faster.
47#
48cpu HAMMER # aka K8, aka Opteron & Athlon64
49
50#
51# Options for CPU features.
52#
53
54#
55# PERFMON causes the driver for Pentium/Pentium Pro performance counters
56# to be compiled. See perfmon(4) for more information.
57#
58#XXX#options PERFMON
59
60
61#####################################################################
62# NETWORKING OPTIONS
63
64#
65# DEVICE_POLLING adds support for mixed interrupt-polling handling
66# of network device drivers, which has significant benefits in terms
67# of robustness to overloads and responsivity, as well as permitting
68# accurate scheduling of the CPU time between kernel network processing
69# and other activities. The drawback is a moderate (up to 1/HZ seconds)
70# potential increase in response times.
71# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
72# to achieve smoother behaviour.
73# Additionally, you can enable/disable polling at runtime with help of
74# the ifconfig(8) utility, and select the CPU fraction reserved to
75# userland with the sysctl variable kern.polling.user_frac
76# (default 50, range 0..100).
77#
78# Not all device drivers support this mode of operation at the time of
79# this writing. See polling(4) for more details.
80
81options DEVICE_POLLING
82
83
84#####################################################################
85# CLOCK OPTIONS
86
87# The following options are used for debugging clock behavior only, and
88# should not be used for production systems.
89
90# CLK_CALIBRATION_LOOP causes clock calibration to be run in a loop at
91# startup until the user presses a key. (The i8254 clock is always
92# calibrated relative to the RTC (mc146818a) and this option causes the
93# calibration to be repeated.)
94options CLK_CALIBRATION_LOOP
95
96# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254
97# clock to actually be used.
98options CLK_USE_I8254_CALIBRATION
99
100
101#####################################################################
102# MISCELLANEOUS DEVICES AND OPTIONS
103
104device speaker #Play IBM BASIC-style noises out your speaker
105hint.speaker.0.at="isa"
106hint.speaker.0.port="0x61"
107device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT!
108
109
110#####################################################################
111# HARDWARE BUS CONFIGURATION
112
113#
114# ISA bus
115#
116device isa
117
118#
119# Options for `isa':
120#
121# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
122# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
123# This option breaks suspend/resume on some portables.
124#
125# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
126# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
127# Automatic EOI is documented not to work for for the slave with the
128# original i8259A, but it works for some clones and some integrated
129# versions.
130#
131# MAXMEM specifies the amount of RAM on the machine; if this is not
132# specified, FreeBSD will first read the amount of memory from the CMOS
133# RAM, so the amount of memory will initially be limited to 64MB or 16MB
134# depending on the BIOS. If the BIOS reports 64MB, a memory probe will
135# then attempt to detect the installed amount of RAM. If this probe
136# fails to detect >64MB RAM you will have to use the MAXMEM option.
137# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
138# be 131072 (128 * 1024).
139#
140# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
141# reset the CPU for reboot. This is needed on some systems with broken
142# keyboard controllers.
143
144options AUTO_EOI_1
145#options AUTO_EOI_2
146
147options MAXMEM=(128*1024)
148#options BROKEN_KEYBOARD_RESET
149
150#
151# PCI bus & PCI options:
152#
153device pci
154
155#
156# AGP GART support
157device agp
158
159
160#####################################################################
161# HARDWARE DEVICE CONFIGURATION
162
163#
164# Optional devices:
165#
166
167# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create
168# the /dev/3dfx0 device to work with glide implementations. This should get
169# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as
170# the tdfx DRI module from XFree86 and is completely unrelated.
171#
172# To enable Linuxulator support, one must also include COMPAT_LINUX in the
173# config as well. The other option is to load both as modules.
174
175device tdfx # Enable 3Dfx Voodoo support
176#XXX#device tdfx_linux # Enable Linuxulator support
177
178#
179# ACPI support using the Intel ACPI Component Architecture reference
180# implementation.
181#
182# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
183# kernel environment variables to select initial debugging levels for the
184# Intel ACPICA code. (Note that the Intel code must also have USE_DEBUGGER
185# defined when it is built).
186#
187# ACPI_NO_SEMAPHORES makes the AcpiOs*Semaphore routines a no-op.
188#
189# ACPICA_PEDANTIC enables strict checking of AML. Our default is to
190# relax these checks to allow code generated by the Microsoft compiler
191# to still execute.
192#
193# Note that building ACPI into the kernel is deprecated; the module is
194# normally loaded automatically by the loader.
195
196device acpi
197options ACPI_DEBUG
198#!options ACPI_NO_SEMAPHORES
199#!options ACPICA_PEDANTIC
200
201# The cpufreq(4) driver provides support for non-ACPI CPU frequency control
202device cpufreq
203
204# Direct Rendering modules for 3D acceleration.
205device drm # DRM core module required by DRM drivers
206device i915drm # Intel i830 through i915
207device mach64drm # ATI Rage Pro, Rage Mobility P/M, Rage XL
208device mgadrm # AGP Matrox G200, G400, G450, G550
209device r128drm # ATI Rage 128
210device radeondrm # ATI Radeon
211device savagedrm # S3 Savage3D, Savage4
212device sisdrm # SiS 300/305, 540, 630
213device tdfxdrm # 3dfx Voodoo 3/4/5 and Banshee
214options DRM_DEBUG # Include debug printfs (slow)
215
216#
217# Network interfaces:
218#
219
220# ath: Atheros a/b/g WiFi adapters (requires ath_hal and wlan)
221# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
222# HP PC Lan+, various PC Card devices (refer to etc/defaults/pccard.conf)
223# (requires miibus)
224# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and
225# Am79C960)
226# nve: nVidia nForce MCP on-board Ethernet Networking
227
228device ed
229options ED_3C503
230options ED_HPP
231options ED_SIC
232#XXX# still calls MD i386 kvtop function instead of vtophys etc
233#XXX#device lnc
234device nve # nVidia nForce MCP on-board Ethernet Networking
235
236device ath
237device ath_hal # Atheros HAL (includes binary component)
238#device ath_rate_amrr # AMRR rate control for ath driver
239#device ath_rate_onoe # Onoe rate control for ath driver
240device ath_rate_sample # SampleRate rate control for the ath driver
241#device wlan # 802.11 layer
242
243#
244#XXX this stores pointers in a 32bit field that is defined by the hardware
245#device pst
246
247#
248# Areca 11xx and 12xx series of SATA II RAID controllers.
249# CAM is required.
250#
251device arcmsr # Areca SATA II RAID
252
253#
254# 3ware 9000 series PATA/SATA RAID controller driver and options.
255# The driver is implemented as a SIM, and so, needs the CAM infrastructure.
256#
257options TWA_DEBUG # 0-10; 10 prints the most messages.
258options TWA_FLASH_FIRMWARE # firmware image bundled when defined.
259device twa # 3ware 9000 series PATA/SATA RAID
260
261#
262# SCSI host adapters:
263#
264# ncv: NCR 53C500 based SCSI host adapters.
265# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
266# stg: TMC 18C30, 18C50 based SCSI host adapters.
267
268device ncv
269device nsp
270device stg
271
272#
273# Adaptec FSA RAID controllers, including integrated DELL controllers,
274# the Dell PERC 2/QC and the HP NetRAID-4M
275device aac
276device aacp # SCSI Passthrough interface (optional, CAM required)
277
278#
279# Highpoint RocketRAID 182x. This is really just software RAID on a
280# Marvell SATA chip.
281device hptmv
282
283#
284# Highpoint RocketRAID 232x. This is software RAID but with hardware
285# acceleration assistance for RAID_5.
286device rr232x
287
288#
289# IBM (now Adaptec) ServeRAID controllers
290device ips
291
292#
293# SafeNet crypto driver: can be moved to the MI NOTES as soon as
294# it's tested on a big-endian machine
295#
296device safe # SafeNet 1141
297options SAFE_DEBUG # enable debugging support: hw.safe.debug
298options SAFE_RNDTEST # enable rndtest support
299
300#####################################################################
301
302#
303# Miscellaneous hardware:
304#
305# smbios: DMI/SMBIOS entry point
306# vpd: Vital Product Data kernel interface
307# cy: Cyclades serial driver
308# digi: Digiboard driver
309
310# Notes on the Specialix SI/XIO driver:
311# The host card is memory, not IO mapped.
312# The Rev 1 host cards use a 64K chunk, on a 32K boundary.
313# The Rev 2 host cards use a 32K chunk, on a 32K boundary.
314# The cards can use an IRQ of 11, 12 or 15.
315
316device cy
317options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared
318device digi
319# BIOS & FEP/OS components of device digi.
320device digi_CX
321device digi_CX_PCI
322device digi_EPCX
323device digi_EPCX_PCI
324device digi_Xe
325device digi_Xem
326device digi_Xr
327# Parallel (8255 PPI) basic I/O (mode 0) port (e.g. Advantech PCL-724)
328device pbio
329hint.pbio.0.at="isa"
330hint.pbio.0.port="0x360"
331device smbios
332device vpd
333# HOT1 Xilinx 6200 card (http://www.vcc.com/)
334device xrpu
335
336#
337# Laptop/Notebook options:
338#
339
340
341#
342# I2C Bus
343#
344
345#
346# Hardware watchdog timers:
347#
348# ichwd: Intel ICH watchdog timer
349#
350device ichwd
351
352#---------------------------------------------------------------------------
353# ISDN4BSD
354#
355# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
356#
357# i4b passive ISDN cards support contains the following hardware drivers:
358#
359# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
360# iwic - Winbond W6692 PCI bus ISDN S/T interface controller
361# ifpi - AVM Fritz!Card PCI driver
362# ifpi2 - AVM Fritz!Card PCI version 2 driver
363# itjc - Siemens ISAC / TJNet Tiger300/320 chipset
364#
365# i4b active ISDN cards support contains the following hardware drivers:
366#
367# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1
368#
369# Note that the ``options'' (if given) and ``device'' lines must BOTH
370# be uncommented to enable support for a given card !
371#
372# In addition to a hardware driver (and probably an option) the mandatory
373# ISDN protocol stack devices and the mandatory support device must be
374# enabled as well as one or more devices from the optional devices section.
375#
376#---------------------------------------------------------------------------
377# isic driver (Siemens/Infineon chipsets)
378#
379#XXX#device isic
380#
381# PCI bus Cards:
382# --------------
383#
384# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
385options ELSA_QS1PCI
386#
387#---------------------------------------------------------------------------
388# ifpi2 driver for AVM Fritz!Card PCI version 2
389#
390# AVM Fritz!Card PCI version 2
391#XXX#device ifpi2
392#
393#---------------------------------------------------------------------------
394# iwic driver for Winbond W6692 chipset
395#
396# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
397#XXX#device iwic
398#
399#---------------------------------------------------------------------------
400# itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset
401#
402# Traverse Technologies NETjet-S
403# Teles PCI-TJ
404#XXX#device itjc
405#
406#---------------------------------------------------------------------------
407# iavc driver (AVM active cards, needs i4bcapi driver!)
408#
409#XXX#device iavc
410#
411#---------------------------------------------------------------------------
412# ISDN Protocol Stack - mandatory for all hardware drivers
413#
414# Q.921 / layer 2 - i4b passive cards D channel handling
415#XXX#device i4bq921
416#
417# Q.931 / layer 3 - i4b passive cards D channel handling
418#XXX#device i4bq931
419#
420# layer 4 - i4b common passive and active card handling
421#XXX#device i4b
422#
423#---------------------------------------------------------------------------
424# ISDN devices - mandatory for all hardware drivers
425#
426# userland driver to do ISDN tracing (for passive cards only)
427#XXX#device i4btrc
428#XXX#options NI4BTRC=4
429#
430# userland driver to control the whole thing
431#XXX#device i4bctl
432#
433#---------------------------------------------------------------------------
434# ISDN devices - optional
435#
436# userland driver for access to raw B channel
437#XXX#device i4brbch
438#XXX#options NI4BRBCH=4
439#
440# userland driver for telephony
441#XXX#device i4btel
442#XXX#options NI4BTEL=2
443#
444# network driver for IP over raw HDLC ISDN
445#XXX#device i4bipr
446#XXX#options NI4BIPR=4
447# enable VJ header compression detection for ipr i/f
448options IPR_VJ
449# enable logging of the first n IP packets to isdnd (n=32 here)
450options IPR_LOG=32
451#
452# network driver for sync PPP over ISDN; requires an equivalent
453# number of sppp device to be configured
454#XXX#device i4bisppp
455#XXX#options NI4BISPPP=4
456#
457# B-channel interface to the netgraph subsystem
458#XXX#device i4bing
459#XXX#options NI4BING=2
460#
461# CAPI driver needed for active ISDN cards (see iavc driver above)
462#XXX#device i4bcapi
463#
464#---------------------------------------------------------------------------
465
466#
467# System Management Bus (SMB)
468#
469options ENABLE_ALART # Control alarm on Intel intpm driver
470
471#
472# Set the number of PV entries per process. Increasing this can
473# stop panics related to heavy use of shared memory. However, that can
474# (combined with large amounts of physical memory) cause panics at
475# boot time due the kernel running out of VM space.
476#
477# If you're tweaking this, you might also want to increase the sysctls
478# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
479#
480# The value below is the one more than the default.
481#
482options PMAP_SHPGPERPROC=201
483
484
485#####################################################################
486# ABI Emulation
487
488#XXX keep these here for now and reactivate when support for emulating
489#XXX these 32 bit binaries is added.
490
491# Enable 32-bit runtime support for FreeBSD/i386 binaries.
492options COMPAT_IA32
493
494# Enable iBCS2 runtime support for SCO and ISC binaries
495#XXX#options IBCS2
496
497# Emulate spx device for client side of SVR3 local X interface
498#XXX#options SPX_HACK
499
500# Enable Linux ABI emulation
501#XXX#options COMPAT_LINUX
502
503# Enable 32-bit Linux ABI emulation (requires COMPAT_43 and COMPAT_IA32)
504options COMPAT_LINUX32
505
506# Enable the linux-like proc filesystem support (requires COMPAT_LINUX32
507# and PSEUDOFS)
508options LINPROCFS
509
8#
9
10#
11# We want LINT to cover profiling as well.
12profile 2
13
14
15#####################################################################
16# SMP OPTIONS:
17#
18# Notes:
19#
20# IPI_PREEMPTION instructs the kernel to preempt threads running on other
21# CPUS if needed. Relies on the PREEMPTION option
22
23# Optional:
24options IPI_PREEMPTION
25device atpic # Optional legacy pic support
26device mptable # Optional MPSPEC mptable support
27
28#
29# Watchdog routines.
30#
31options MP_WATCHDOG
32
33#
34# Debugging options.
35#
36options STOP_NMI # Stop CPUS using NMI instead of IPI
37
38
39
40#####################################################################
41# CPU OPTIONS
42
43#
44# You must specify at least one CPU (the one you intend to run on);
45# deleting the specification for CPUs you don't need to use may make
46# parts of the system run faster.
47#
48cpu HAMMER # aka K8, aka Opteron & Athlon64
49
50#
51# Options for CPU features.
52#
53
54#
55# PERFMON causes the driver for Pentium/Pentium Pro performance counters
56# to be compiled. See perfmon(4) for more information.
57#
58#XXX#options PERFMON
59
60
61#####################################################################
62# NETWORKING OPTIONS
63
64#
65# DEVICE_POLLING adds support for mixed interrupt-polling handling
66# of network device drivers, which has significant benefits in terms
67# of robustness to overloads and responsivity, as well as permitting
68# accurate scheduling of the CPU time between kernel network processing
69# and other activities. The drawback is a moderate (up to 1/HZ seconds)
70# potential increase in response times.
71# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
72# to achieve smoother behaviour.
73# Additionally, you can enable/disable polling at runtime with help of
74# the ifconfig(8) utility, and select the CPU fraction reserved to
75# userland with the sysctl variable kern.polling.user_frac
76# (default 50, range 0..100).
77#
78# Not all device drivers support this mode of operation at the time of
79# this writing. See polling(4) for more details.
80
81options DEVICE_POLLING
82
83
84#####################################################################
85# CLOCK OPTIONS
86
87# The following options are used for debugging clock behavior only, and
88# should not be used for production systems.
89
90# CLK_CALIBRATION_LOOP causes clock calibration to be run in a loop at
91# startup until the user presses a key. (The i8254 clock is always
92# calibrated relative to the RTC (mc146818a) and this option causes the
93# calibration to be repeated.)
94options CLK_CALIBRATION_LOOP
95
96# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254
97# clock to actually be used.
98options CLK_USE_I8254_CALIBRATION
99
100
101#####################################################################
102# MISCELLANEOUS DEVICES AND OPTIONS
103
104device speaker #Play IBM BASIC-style noises out your speaker
105hint.speaker.0.at="isa"
106hint.speaker.0.port="0x61"
107device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT!
108
109
110#####################################################################
111# HARDWARE BUS CONFIGURATION
112
113#
114# ISA bus
115#
116device isa
117
118#
119# Options for `isa':
120#
121# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
122# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
123# This option breaks suspend/resume on some portables.
124#
125# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
126# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
127# Automatic EOI is documented not to work for for the slave with the
128# original i8259A, but it works for some clones and some integrated
129# versions.
130#
131# MAXMEM specifies the amount of RAM on the machine; if this is not
132# specified, FreeBSD will first read the amount of memory from the CMOS
133# RAM, so the amount of memory will initially be limited to 64MB or 16MB
134# depending on the BIOS. If the BIOS reports 64MB, a memory probe will
135# then attempt to detect the installed amount of RAM. If this probe
136# fails to detect >64MB RAM you will have to use the MAXMEM option.
137# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
138# be 131072 (128 * 1024).
139#
140# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
141# reset the CPU for reboot. This is needed on some systems with broken
142# keyboard controllers.
143
144options AUTO_EOI_1
145#options AUTO_EOI_2
146
147options MAXMEM=(128*1024)
148#options BROKEN_KEYBOARD_RESET
149
150#
151# PCI bus & PCI options:
152#
153device pci
154
155#
156# AGP GART support
157device agp
158
159
160#####################################################################
161# HARDWARE DEVICE CONFIGURATION
162
163#
164# Optional devices:
165#
166
167# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create
168# the /dev/3dfx0 device to work with glide implementations. This should get
169# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as
170# the tdfx DRI module from XFree86 and is completely unrelated.
171#
172# To enable Linuxulator support, one must also include COMPAT_LINUX in the
173# config as well. The other option is to load both as modules.
174
175device tdfx # Enable 3Dfx Voodoo support
176#XXX#device tdfx_linux # Enable Linuxulator support
177
178#
179# ACPI support using the Intel ACPI Component Architecture reference
180# implementation.
181#
182# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
183# kernel environment variables to select initial debugging levels for the
184# Intel ACPICA code. (Note that the Intel code must also have USE_DEBUGGER
185# defined when it is built).
186#
187# ACPI_NO_SEMAPHORES makes the AcpiOs*Semaphore routines a no-op.
188#
189# ACPICA_PEDANTIC enables strict checking of AML. Our default is to
190# relax these checks to allow code generated by the Microsoft compiler
191# to still execute.
192#
193# Note that building ACPI into the kernel is deprecated; the module is
194# normally loaded automatically by the loader.
195
196device acpi
197options ACPI_DEBUG
198#!options ACPI_NO_SEMAPHORES
199#!options ACPICA_PEDANTIC
200
201# The cpufreq(4) driver provides support for non-ACPI CPU frequency control
202device cpufreq
203
204# Direct Rendering modules for 3D acceleration.
205device drm # DRM core module required by DRM drivers
206device i915drm # Intel i830 through i915
207device mach64drm # ATI Rage Pro, Rage Mobility P/M, Rage XL
208device mgadrm # AGP Matrox G200, G400, G450, G550
209device r128drm # ATI Rage 128
210device radeondrm # ATI Radeon
211device savagedrm # S3 Savage3D, Savage4
212device sisdrm # SiS 300/305, 540, 630
213device tdfxdrm # 3dfx Voodoo 3/4/5 and Banshee
214options DRM_DEBUG # Include debug printfs (slow)
215
216#
217# Network interfaces:
218#
219
220# ath: Atheros a/b/g WiFi adapters (requires ath_hal and wlan)
221# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
222# HP PC Lan+, various PC Card devices (refer to etc/defaults/pccard.conf)
223# (requires miibus)
224# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and
225# Am79C960)
226# nve: nVidia nForce MCP on-board Ethernet Networking
227
228device ed
229options ED_3C503
230options ED_HPP
231options ED_SIC
232#XXX# still calls MD i386 kvtop function instead of vtophys etc
233#XXX#device lnc
234device nve # nVidia nForce MCP on-board Ethernet Networking
235
236device ath
237device ath_hal # Atheros HAL (includes binary component)
238#device ath_rate_amrr # AMRR rate control for ath driver
239#device ath_rate_onoe # Onoe rate control for ath driver
240device ath_rate_sample # SampleRate rate control for the ath driver
241#device wlan # 802.11 layer
242
243#
244#XXX this stores pointers in a 32bit field that is defined by the hardware
245#device pst
246
247#
248# Areca 11xx and 12xx series of SATA II RAID controllers.
249# CAM is required.
250#
251device arcmsr # Areca SATA II RAID
252
253#
254# 3ware 9000 series PATA/SATA RAID controller driver and options.
255# The driver is implemented as a SIM, and so, needs the CAM infrastructure.
256#
257options TWA_DEBUG # 0-10; 10 prints the most messages.
258options TWA_FLASH_FIRMWARE # firmware image bundled when defined.
259device twa # 3ware 9000 series PATA/SATA RAID
260
261#
262# SCSI host adapters:
263#
264# ncv: NCR 53C500 based SCSI host adapters.
265# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
266# stg: TMC 18C30, 18C50 based SCSI host adapters.
267
268device ncv
269device nsp
270device stg
271
272#
273# Adaptec FSA RAID controllers, including integrated DELL controllers,
274# the Dell PERC 2/QC and the HP NetRAID-4M
275device aac
276device aacp # SCSI Passthrough interface (optional, CAM required)
277
278#
279# Highpoint RocketRAID 182x. This is really just software RAID on a
280# Marvell SATA chip.
281device hptmv
282
283#
284# Highpoint RocketRAID 232x. This is software RAID but with hardware
285# acceleration assistance for RAID_5.
286device rr232x
287
288#
289# IBM (now Adaptec) ServeRAID controllers
290device ips
291
292#
293# SafeNet crypto driver: can be moved to the MI NOTES as soon as
294# it's tested on a big-endian machine
295#
296device safe # SafeNet 1141
297options SAFE_DEBUG # enable debugging support: hw.safe.debug
298options SAFE_RNDTEST # enable rndtest support
299
300#####################################################################
301
302#
303# Miscellaneous hardware:
304#
305# smbios: DMI/SMBIOS entry point
306# vpd: Vital Product Data kernel interface
307# cy: Cyclades serial driver
308# digi: Digiboard driver
309
310# Notes on the Specialix SI/XIO driver:
311# The host card is memory, not IO mapped.
312# The Rev 1 host cards use a 64K chunk, on a 32K boundary.
313# The Rev 2 host cards use a 32K chunk, on a 32K boundary.
314# The cards can use an IRQ of 11, 12 or 15.
315
316device cy
317options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared
318device digi
319# BIOS & FEP/OS components of device digi.
320device digi_CX
321device digi_CX_PCI
322device digi_EPCX
323device digi_EPCX_PCI
324device digi_Xe
325device digi_Xem
326device digi_Xr
327# Parallel (8255 PPI) basic I/O (mode 0) port (e.g. Advantech PCL-724)
328device pbio
329hint.pbio.0.at="isa"
330hint.pbio.0.port="0x360"
331device smbios
332device vpd
333# HOT1 Xilinx 6200 card (http://www.vcc.com/)
334device xrpu
335
336#
337# Laptop/Notebook options:
338#
339
340
341#
342# I2C Bus
343#
344
345#
346# Hardware watchdog timers:
347#
348# ichwd: Intel ICH watchdog timer
349#
350device ichwd
351
352#---------------------------------------------------------------------------
353# ISDN4BSD
354#
355# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
356#
357# i4b passive ISDN cards support contains the following hardware drivers:
358#
359# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
360# iwic - Winbond W6692 PCI bus ISDN S/T interface controller
361# ifpi - AVM Fritz!Card PCI driver
362# ifpi2 - AVM Fritz!Card PCI version 2 driver
363# itjc - Siemens ISAC / TJNet Tiger300/320 chipset
364#
365# i4b active ISDN cards support contains the following hardware drivers:
366#
367# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1
368#
369# Note that the ``options'' (if given) and ``device'' lines must BOTH
370# be uncommented to enable support for a given card !
371#
372# In addition to a hardware driver (and probably an option) the mandatory
373# ISDN protocol stack devices and the mandatory support device must be
374# enabled as well as one or more devices from the optional devices section.
375#
376#---------------------------------------------------------------------------
377# isic driver (Siemens/Infineon chipsets)
378#
379#XXX#device isic
380#
381# PCI bus Cards:
382# --------------
383#
384# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
385options ELSA_QS1PCI
386#
387#---------------------------------------------------------------------------
388# ifpi2 driver for AVM Fritz!Card PCI version 2
389#
390# AVM Fritz!Card PCI version 2
391#XXX#device ifpi2
392#
393#---------------------------------------------------------------------------
394# iwic driver for Winbond W6692 chipset
395#
396# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
397#XXX#device iwic
398#
399#---------------------------------------------------------------------------
400# itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset
401#
402# Traverse Technologies NETjet-S
403# Teles PCI-TJ
404#XXX#device itjc
405#
406#---------------------------------------------------------------------------
407# iavc driver (AVM active cards, needs i4bcapi driver!)
408#
409#XXX#device iavc
410#
411#---------------------------------------------------------------------------
412# ISDN Protocol Stack - mandatory for all hardware drivers
413#
414# Q.921 / layer 2 - i4b passive cards D channel handling
415#XXX#device i4bq921
416#
417# Q.931 / layer 3 - i4b passive cards D channel handling
418#XXX#device i4bq931
419#
420# layer 4 - i4b common passive and active card handling
421#XXX#device i4b
422#
423#---------------------------------------------------------------------------
424# ISDN devices - mandatory for all hardware drivers
425#
426# userland driver to do ISDN tracing (for passive cards only)
427#XXX#device i4btrc
428#XXX#options NI4BTRC=4
429#
430# userland driver to control the whole thing
431#XXX#device i4bctl
432#
433#---------------------------------------------------------------------------
434# ISDN devices - optional
435#
436# userland driver for access to raw B channel
437#XXX#device i4brbch
438#XXX#options NI4BRBCH=4
439#
440# userland driver for telephony
441#XXX#device i4btel
442#XXX#options NI4BTEL=2
443#
444# network driver for IP over raw HDLC ISDN
445#XXX#device i4bipr
446#XXX#options NI4BIPR=4
447# enable VJ header compression detection for ipr i/f
448options IPR_VJ
449# enable logging of the first n IP packets to isdnd (n=32 here)
450options IPR_LOG=32
451#
452# network driver for sync PPP over ISDN; requires an equivalent
453# number of sppp device to be configured
454#XXX#device i4bisppp
455#XXX#options NI4BISPPP=4
456#
457# B-channel interface to the netgraph subsystem
458#XXX#device i4bing
459#XXX#options NI4BING=2
460#
461# CAPI driver needed for active ISDN cards (see iavc driver above)
462#XXX#device i4bcapi
463#
464#---------------------------------------------------------------------------
465
466#
467# System Management Bus (SMB)
468#
469options ENABLE_ALART # Control alarm on Intel intpm driver
470
471#
472# Set the number of PV entries per process. Increasing this can
473# stop panics related to heavy use of shared memory. However, that can
474# (combined with large amounts of physical memory) cause panics at
475# boot time due the kernel running out of VM space.
476#
477# If you're tweaking this, you might also want to increase the sysctls
478# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
479#
480# The value below is the one more than the default.
481#
482options PMAP_SHPGPERPROC=201
483
484
485#####################################################################
486# ABI Emulation
487
488#XXX keep these here for now and reactivate when support for emulating
489#XXX these 32 bit binaries is added.
490
491# Enable 32-bit runtime support for FreeBSD/i386 binaries.
492options COMPAT_IA32
493
494# Enable iBCS2 runtime support for SCO and ISC binaries
495#XXX#options IBCS2
496
497# Emulate spx device for client side of SVR3 local X interface
498#XXX#options SPX_HACK
499
500# Enable Linux ABI emulation
501#XXX#options COMPAT_LINUX
502
503# Enable 32-bit Linux ABI emulation (requires COMPAT_43 and COMPAT_IA32)
504options COMPAT_LINUX32
505
506# Enable the linux-like proc filesystem support (requires COMPAT_LINUX32
507# and PSEUDOFS)
508options LINPROCFS
509
510#Enable the linux-like sys filesystem support (requires COMPAT_LINUX32
511# and PSEUDOFS)
512options LINSYSFS
513
510#
511# SysVR4 ABI emulation
512#
513# The svr4 ABI emulator can be statically compiled into the kernel or loaded as
514# a KLD module.
515# The STREAMS network emulation code can also be compiled statically or as a
516# module. If loaded as a module, it must be loaded before the svr4 module
517# (the /usr/sbin/svr4 script does this for you). If compiling statically,
518# the `streams' device must be configured into any kernel which also
519# specifies COMPAT_SVR4. It is possible to have a statically-configured
520# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4
521# script understands that it doesn't need to load the `streams' module under
522# those circumstances.
523# Caveat: At this time, `options KTRACE' is required for the svr4 emulator
524# (whether static or dynamic).
525#
526#XXX#options COMPAT_SVR4 # build emulator statically
527#XXX#options DEBUG_SVR4 # enable verbose debugging
528#XXX#device streams # STREAMS network driver (required for svr4).
529
530
531#####################################################################
532# VM OPTIONS
533
534# KSTACK_PAGES is the number of memory pages to assign to the kernel
535# stack of each thread.
536
537options KSTACK_PAGES=3
538
539#####################################################################
540
541# More undocumented options for linting.
542# Note that documenting these are not considered an affront.
543
544options FB_INSTALL_CDEV # install a CDEV entry in /dev
545
546options KBDIO_DEBUG=2
547options KBD_MAXRETRY=4
548options KBD_MAXWAIT=6
549options KBD_RESETDELAY=201
550
551options PSM_DEBUG=1
552
553options TIMER_FREQ=((14318182+6)/12)
554
555options VM_KMEM_SIZE
556options VM_KMEM_SIZE_MAX
557options VM_KMEM_SIZE_SCALE
558
559
560# The I/O device
561device io
514#
515# SysVR4 ABI emulation
516#
517# The svr4 ABI emulator can be statically compiled into the kernel or loaded as
518# a KLD module.
519# The STREAMS network emulation code can also be compiled statically or as a
520# module. If loaded as a module, it must be loaded before the svr4 module
521# (the /usr/sbin/svr4 script does this for you). If compiling statically,
522# the `streams' device must be configured into any kernel which also
523# specifies COMPAT_SVR4. It is possible to have a statically-configured
524# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4
525# script understands that it doesn't need to load the `streams' module under
526# those circumstances.
527# Caveat: At this time, `options KTRACE' is required for the svr4 emulator
528# (whether static or dynamic).
529#
530#XXX#options COMPAT_SVR4 # build emulator statically
531#XXX#options DEBUG_SVR4 # enable verbose debugging
532#XXX#device streams # STREAMS network driver (required for svr4).
533
534
535#####################################################################
536# VM OPTIONS
537
538# KSTACK_PAGES is the number of memory pages to assign to the kernel
539# stack of each thread.
540
541options KSTACK_PAGES=3
542
543#####################################################################
544
545# More undocumented options for linting.
546# Note that documenting these are not considered an affront.
547
548options FB_INSTALL_CDEV # install a CDEV entry in /dev
549
550options KBDIO_DEBUG=2
551options KBD_MAXRETRY=4
552options KBD_MAXWAIT=6
553options KBD_RESETDELAY=201
554
555options PSM_DEBUG=1
556
557options TIMER_FREQ=((14318182+6)/12)
558
559options VM_KMEM_SIZE
560options VM_KMEM_SIZE_MAX
561options VM_KMEM_SIZE_SCALE
562
563
564# The I/O device
565device io