Deleted Added
full compact
NOTES (175915) NOTES (177586)
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 175915 2008-02-03 07:07:30Z scottl $
7# $FreeBSD: head/sys/amd64/conf/NOTES 177586 2008-03-24 22:23:22Z jkim $
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
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# BPF_JITTER adds support for BPF just-in-time compiler.
84
85options BPF_JITTER
86
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# Provide read/write access to the memory in the clock chip.
101device nvram # Access to rtc cmos via /dev/nvram
102
103
104#####################################################################
105# MISCELLANEOUS DEVICES AND OPTIONS
106
107#
108# sio: serial ports (see sio(4)), including support for various
109# PC Card devices, such as Modem and NICs
110#
111device sio
112hint.sio.0.at="isa"
113hint.sio.0.port="0x3F8"
114hint.sio.0.flags="0x10"
115hint.sio.0.irq="4"
116
117# `flags' specific to sio(4).
118# 0x10 enable console support for this unit. Other console flags
119# (if applicable) are ignored unless this is set. Enabling
120# console support does not make the unit the preferred console.
121# Boot with -h or set boot_serial=YES in the loader. For sio(4)
122# specifically, the 0x20 flag can also be set (see above).
123# Currently, at most one unit can have console support; the
124# first one (in config file order) with this flag set is
125# preferred. Setting this flag for sio0 gives the old behaviour.
126# 0x20 force this unit to be the console (unless there is another
127# higher priority console). This replaces the COMCONSOLE option.
128# 0x40 reserve this unit for low level console operations. Do not
129# access the device in any normal way.
130# 0x80 use this port for serial line gdb support in ddb. Also known
131# as debug port.
132# PnP `flags'
133# 0x1 disable probing of this device. Used to prevent your modem
134# from being attached as a PnP modem.
135# Other flags for sio that aren't documented in the man page.
136# 0x20000 enable hardware RTS/CTS and larger FIFOs. Only works for
137# ST16650A-compatible UARTs.
138
139# Options for sio:
140options COM_ESP # Code for Hayes ESP.
141options COM_MULTIPORT # Code for some cards with shared IRQs.
142options CONSPEED=115200 # Speed for serial console
143 # (default 9600).
144
145device speaker #Play IBM BASIC-style noises out your speaker
146hint.speaker.0.at="isa"
147hint.speaker.0.port="0x61"
148device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT!
149
150
151#####################################################################
152# HARDWARE BUS CONFIGURATION
153
154#
155# ISA bus
156#
157device isa
158
159#
160# Options for `isa':
161#
162# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
163# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
164# This option breaks suspend/resume on some portables.
165#
166# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
167# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
168# Automatic EOI is documented not to work for for the slave with the
169# original i8259A, but it works for some clones and some integrated
170# versions.
171#
172# MAXMEM specifies the amount of RAM on the machine; if this is not
173# specified, FreeBSD will first read the amount of memory from the CMOS
174# RAM, so the amount of memory will initially be limited to 64MB or 16MB
175# depending on the BIOS. If the BIOS reports 64MB, a memory probe will
176# then attempt to detect the installed amount of RAM. If this probe
177# fails to detect >64MB RAM you will have to use the MAXMEM option.
178# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
179# be 131072 (128 * 1024).
180#
181# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
182# reset the CPU for reboot. This is needed on some systems with broken
183# keyboard controllers.
184
185options AUTO_EOI_1
186#options AUTO_EOI_2
187
188options MAXMEM=(128*1024)
189#options BROKEN_KEYBOARD_RESET
190
191#
192# PCI bus & PCI options:
193#
194device pci
195
196#
197# AGP GART support
198device agp
199
200
201#####################################################################
202# HARDWARE DEVICE CONFIGURATION
203
204#
205# Optional devices:
206#
207
208# PS/2 mouse
209device psm
210hint.psm.0.at="atkbdc"
211hint.psm.0.irq="12"
212
213# Options for psm:
214options PSM_HOOKRESUME #hook the system resume event, useful
215 #for some laptops
216options PSM_RESETAFTERSUSPEND #reset the device at the resume event
217
218# The keyboard controller; it controls the keyboard and the PS/2 mouse.
219device atkbdc
220hint.atkbdc.0.at="isa"
221hint.atkbdc.0.port="0x060"
222
223# The AT keyboard
224device atkbd
225hint.atkbd.0.at="atkbdc"
226hint.atkbd.0.irq="1"
227
228# Options for atkbd:
229options ATKBD_DFLT_KEYMAP # specify the built-in keymap
230makeoptions ATKBD_DFLT_KEYMAP=jp.106
231
232# `flags' for atkbd:
233# 0x01 Force detection of keyboard, else we always assume a keyboard
234# 0x02 Don't reset keyboard, useful for some newer ThinkPads
235# 0x03 Force detection and avoid reset, might help with certain
236# dockingstations
237# 0x04 Old-style (XT) keyboard support, useful for older ThinkPads
238
239# Video card driver for VGA adapters.
240device vga
241hint.vga.0.at="isa"
242
243# Options for vga:
244# Try the following option if the mouse pointer is not drawn correctly
245# or font does not seem to be loaded properly. May cause flicker on
246# some systems.
247options VGA_ALT_SEQACCESS
248
249# If you can dispense with some vga driver features, you may want to
250# use the following options to save some memory.
251#options VGA_NO_FONT_LOADING # don't save/load font
252#options VGA_NO_MODE_CHANGE # don't change video modes
253
254# Older video cards may require this option for proper operation.
255options VGA_SLOW_IOACCESS # do byte-wide i/o's to TS and GDC regs
256
257# The following option probably won't work with the LCD displays.
258options VGA_WIDTH90 # support 90 column modes
259
260# Debugging.
261options VGA_DEBUG
262
263# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create
264# the /dev/3dfx0 device to work with glide implementations. This should get
265# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as
266# the tdfx DRI module from XFree86 and is completely unrelated.
267#
268# To enable Linuxulator support, one must also include COMPAT_LINUX in the
269# config as well. The other option is to load both as modules.
270
271device tdfx # Enable 3Dfx Voodoo support
272#XXX#device tdfx_linux # Enable Linuxulator support
273
274#
275# ACPI support using the Intel ACPI Component Architecture reference
276# implementation.
277#
278# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
279# kernel environment variables to select initial debugging levels for the
280# Intel ACPICA code. (Note that the Intel code must also have USE_DEBUGGER
281# defined when it is built).
282#
283# ACPI_NO_SEMAPHORES makes the AcpiOs*Semaphore routines a no-op.
284
285device acpi
286options ACPI_DEBUG
287#!options ACPI_NO_SEMAPHORES
288
289# The cpufreq(4) driver provides support for non-ACPI CPU frequency control
290device cpufreq
291
292# Direct Rendering modules for 3D acceleration.
293device drm # DRM core module required by DRM drivers
294device i915drm # Intel i830 through i915
295device mach64drm # ATI Rage Pro, Rage Mobility P/M, Rage XL
296device mgadrm # AGP Matrox G200, G400, G450, G550
297device r128drm # ATI Rage 128
298device radeondrm # ATI Radeon
299device savagedrm # S3 Savage3D, Savage4
300device sisdrm # SiS 300/305, 540, 630
301device tdfxdrm # 3dfx Voodoo 3/4/5 and Banshee
302options DRM_DEBUG # Include debug printfs (slow)
303
304#
305# Network interfaces:
306#
307
308# ath: Atheros a/b/g WiFi adapters (requires ath_hal and wlan)
309# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
310# HP PC Lan+, various PC Card devices
311# (requires miibus)
312# ipw: Intel PRO/Wireless 2100 IEEE 802.11 adapter
313# iwi: Intel PRO/Wireless 2200BG/2225BG/2915ABG IEEE 802.11 adapters
314# nfe: nVidia nForce MCP on-board Ethernet Networking (BSD open source)
315# nve: nVidia nForce MCP on-board Ethernet Networking
316# ral: Ralink Technology IEEE 802.11 wireless adapter
317# ural: Ralink Technology RT2500USB IEEE 802.11 wireless adapter
318# wpi: Intel 3945ABG Wireless LAN controller
319
320device ed
321options ED_3C503
322options ED_HPP
323options ED_SIC
324device iwi
325device ipw
326device nfe # nVidia nForce MCP on-board Ethernet Networking
327device nve # nVidia nForce MCP on-board Ethernet Networking
328device ral
329device ural
330device wpi
331
332device ath
333device ath_hal # Atheros HAL (includes binary component)
334#device ath_rate_amrr # AMRR rate control for ath driver
335#device ath_rate_onoe # Onoe rate control for ath driver
336device ath_rate_sample # SampleRate rate control for the ath driver
337#device wlan # 802.11 layer
338
339#
340#XXX this stores pointers in a 32bit field that is defined by the hardware
341#device pst
342
343#
344# Areca 11xx and 12xx series of SATA II RAID controllers.
345# CAM is required.
346#
347device arcmsr # Areca SATA II RAID
348
349#
350# 3ware 9000 series PATA/SATA RAID controller driver and options.
351# The driver is implemented as a SIM, and so, needs the CAM infrastructure.
352#
353options TWA_DEBUG # 0-10; 10 prints the most messages.
354options TWA_FLASH_FIRMWARE # firmware image bundled when defined.
355device twa # 3ware 9000 series PATA/SATA RAID
356
357#
358# SCSI host adapters:
359#
360# ncv: NCR 53C500 based SCSI host adapters.
361# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
362# stg: TMC 18C30, 18C50 based SCSI host adapters.
363
364device ncv
365device nsp
366device stg
367
368#
369# Adaptec FSA RAID controllers, including integrated DELL controllers,
370# the Dell PERC 2/QC and the HP NetRAID-4M
371device aac
372device aacp # SCSI Passthrough interface (optional, CAM required)
373
374#
375# Highpoint RocketRAID 182x.
376device hptmv
377
378#
379# Highpoint RocketRAID. Supports RR172x, RR222x, RR2240, RR232x, RR2340,
380# RR2210, RR174x, RR2522, RR231x, RR230x.
381device hptrr
382
383#
384# Highpoint RocketRaid 3xxx series SATA RAID
385device hptiop
386
387#
388# IBM (now Adaptec) ServeRAID controllers
389device ips
390
391#
392# SafeNet crypto driver: can be moved to the MI NOTES as soon as
393# it's tested on a big-endian machine
394#
395device safe # SafeNet 1141
396options SAFE_DEBUG # enable debugging support: hw.safe.debug
397options SAFE_RNDTEST # enable rndtest support
398
399#####################################################################
400
401#
402# Miscellaneous hardware:
403#
404# ipmi: Intelligent Platform Management Interface
405# smbios: DMI/SMBIOS entry point
406# vpd: Vital Product Data kernel interface
407# cy: Cyclades serial driver
408# digi: Digiboard driver
409# asmc: Apple System Management Controller
410
411# Notes on the Specialix SI/XIO driver:
412# The host card is memory, not IO mapped.
413# The Rev 1 host cards use a 64K chunk, on a 32K boundary.
414# The Rev 2 host cards use a 32K chunk, on a 32K boundary.
415# The cards can use an IRQ of 11, 12 or 15.
416
417device cy
418options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared
419device digi
420# BIOS & FEP/OS components of device digi.
421device digi_CX
422device digi_CX_PCI
423device digi_EPCX
424device digi_EPCX_PCI
425device digi_Xe
426device digi_Xem
427device digi_Xr
428device ipmi
429# Parallel (8255 PPI) basic I/O (mode 0) port (e.g. Advantech PCL-724)
430device pbio
431hint.pbio.0.at="isa"
432hint.pbio.0.port="0x360"
433device smbios
434device vpd
435device asmc
436#
437# Laptop/Notebook options:
438#
439
440
441#
442# I2C Bus
443#
444
445#
446# Hardware watchdog timers:
447#
448# ichwd: Intel ICH watchdog timer
449#
450device ichwd
451
452#
453# Temperature sensors:
454#
455# coretemp: on-die sensor on Intel Core and newer CPUs
456#
457device coretemp
458
459#---------------------------------------------------------------------------
460# ISDN4BSD
461#
462# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
463#
464# i4b passive ISDN cards support contains the following hardware drivers:
465#
466# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
467# iwic - Winbond W6692 PCI bus ISDN S/T interface controller
468# ifpi - AVM Fritz!Card PCI driver
469# ifpi2 - AVM Fritz!Card PCI version 2 driver
470# itjc - Siemens ISAC / TJNet Tiger300/320 chipset
471#
472# i4b active ISDN cards support contains the following hardware drivers:
473#
474# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1
475#
476# Note that the ``options'' (if given) and ``device'' lines must BOTH
477# be uncommented to enable support for a given card !
478#
479# In addition to a hardware driver (and probably an option) the mandatory
480# ISDN protocol stack devices and the mandatory support device must be
481# enabled as well as one or more devices from the optional devices section.
482#
483#---------------------------------------------------------------------------
484# isic driver (Siemens/Infineon chipsets)
485#
486#XXX#device isic
487#
488# PCI bus Cards:
489# --------------
490#
491# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
492options ELSA_QS1PCI
493#
494#---------------------------------------------------------------------------
495# ifpi2 driver for AVM Fritz!Card PCI version 2
496#
497# AVM Fritz!Card PCI version 2
498#XXX#device ifpi2
499#
500#---------------------------------------------------------------------------
501# iwic driver for Winbond W6692 chipset
502#
503# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
504#XXX#device iwic
505#
506#---------------------------------------------------------------------------
507# itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset
508#
509# Traverse Technologies NETjet-S
510# Teles PCI-TJ
511#XXX#device itjc
512#
513#---------------------------------------------------------------------------
514# iavc driver (AVM active cards, needs i4bcapi driver!)
515#
516#XXX#device iavc
517#
518#---------------------------------------------------------------------------
519# ISDN Protocol Stack - mandatory for all hardware drivers
520#
521# Q.921 / layer 2 - i4b passive cards D channel handling
522#XXX#device i4bq921
523#
524# Q.931 / layer 3 - i4b passive cards D channel handling
525#XXX#device i4bq931
526#
527# layer 4 - i4b common passive and active card handling
528#XXX#device i4b
529#
530#---------------------------------------------------------------------------
531# ISDN devices - mandatory for all hardware drivers
532#
533# userland driver to do ISDN tracing (for passive cards only)
534#XXX#device i4btrc
535#XXX#options NI4BTRC=4
536#
537# userland driver to control the whole thing
538#XXX#device i4bctl
539#
540#---------------------------------------------------------------------------
541# ISDN devices - optional
542#
543# userland driver for access to raw B channel
544#XXX#device i4brbch
545#XXX#options NI4BRBCH=4
546#
547# userland driver for telephony
548#XXX#device i4btel
549#XXX#options NI4BTEL=2
550#
551# network driver for IP over raw HDLC ISDN
552#XXX#device i4bipr
553#XXX#options NI4BIPR=4
554# enable VJ header compression detection for ipr i/f
555#XXX#options IPR_VJ
556# enable logging of the first n IP packets to isdnd (n=32 here)
557#XXX#options IPR_LOG=32
558#
559# network driver for sync PPP over ISDN; requires an equivalent
560# number of sppp device to be configured
561#XXX#device i4bisppp
562#XXX#options NI4BISPPP=4
563#
564# B-channel interface to the netgraph subsystem
565#XXX#device i4bing
566#XXX#options NI4BING=2
567#
568# CAPI driver needed for active ISDN cards (see iavc driver above)
569#XXX#device i4bcapi
570#
571#---------------------------------------------------------------------------
572
573#
574# System Management Bus (SMB)
575#
576options ENABLE_ALART # Control alarm on Intel intpm driver
577
578#
579# Set the number of PV entries per process. Increasing this can
580# stop panics related to heavy use of shared memory. However, that can
581# (combined with large amounts of physical memory) cause panics at
582# boot time due the kernel running out of VM space.
583#
584# If you're tweaking this, you might also want to increase the sysctls
585# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
586#
587# The value below is the one more than the default.
588#
589options PMAP_SHPGPERPROC=201
590
591
592#####################################################################
593# ABI Emulation
594
595#XXX keep these here for now and reactivate when support for emulating
596#XXX these 32 bit binaries is added.
597
598# Enable 32-bit runtime support for FreeBSD/i386 binaries.
599options COMPAT_IA32
600
601# Enable iBCS2 runtime support for SCO and ISC binaries
602#XXX#options IBCS2
603
604# Emulate spx device for client side of SVR3 local X interface
605#XXX#options SPX_HACK
606
607# Enable Linux ABI emulation
608#XXX#options COMPAT_LINUX
609
610# Enable 32-bit Linux ABI emulation (requires COMPAT_43 and COMPAT_IA32)
611options COMPAT_LINUX32
612
613# Enable the linux-like proc filesystem support (requires COMPAT_LINUX32
614# and PSEUDOFS)
615options LINPROCFS
616
617#Enable the linux-like sys filesystem support (requires COMPAT_LINUX32
618# and PSEUDOFS)
619options LINSYSFS
620
621#
622# SysVR4 ABI emulation
623#
624# The svr4 ABI emulator can be statically compiled into the kernel or loaded as
625# a KLD module.
626# The STREAMS network emulation code can also be compiled statically or as a
627# module. If loaded as a module, it must be loaded before the svr4 module
628# (the /usr/sbin/svr4 script does this for you). If compiling statically,
629# the `streams' device must be configured into any kernel which also
630# specifies COMPAT_SVR4. It is possible to have a statically-configured
631# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4
632# script understands that it doesn't need to load the `streams' module under
633# those circumstances.
634# Caveat: At this time, `options KTRACE' is required for the svr4 emulator
635# (whether static or dynamic).
636#
637#XXX#options COMPAT_SVR4 # build emulator statically
638#XXX#options DEBUG_SVR4 # enable verbose debugging
639#XXX#device streams # STREAMS network driver (required for svr4).
640
641
642#####################################################################
643# VM OPTIONS
644
645# KSTACK_PAGES is the number of memory pages to assign to the kernel
646# stack of each thread.
647
648options KSTACK_PAGES=3
649
650#####################################################################
651
652# More undocumented options for linting.
653# Note that documenting these are not considered an affront.
654
655options FB_INSTALL_CDEV # install a CDEV entry in /dev
656
657options KBDIO_DEBUG=2
658options KBD_MAXRETRY=4
659options KBD_MAXWAIT=6
660options KBD_RESETDELAY=201
661
662options PSM_DEBUG=1
663
664options TIMER_FREQ=((14318182+6)/12)
665
666options VM_KMEM_SIZE
667options VM_KMEM_SIZE_MAX
668options VM_KMEM_SIZE_SCALE
669
670# Enable NDIS binary driver support
671options NDISAPI
672device ndis
87
88#####################################################################
89# CLOCK OPTIONS
90
91# The following options are used for debugging clock behavior only, and
92# should not be used for production systems.
93
94# CLK_CALIBRATION_LOOP causes clock calibration to be run in a loop at
95# startup until the user presses a key. (The i8254 clock is always
96# calibrated relative to the RTC (mc146818a) and this option causes the
97# calibration to be repeated.)
98options CLK_CALIBRATION_LOOP
99
100# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254
101# clock to actually be used.
102options CLK_USE_I8254_CALIBRATION
103
104# Provide read/write access to the memory in the clock chip.
105device nvram # Access to rtc cmos via /dev/nvram
106
107
108#####################################################################
109# MISCELLANEOUS DEVICES AND OPTIONS
110
111#
112# sio: serial ports (see sio(4)), including support for various
113# PC Card devices, such as Modem and NICs
114#
115device sio
116hint.sio.0.at="isa"
117hint.sio.0.port="0x3F8"
118hint.sio.0.flags="0x10"
119hint.sio.0.irq="4"
120
121# `flags' specific to sio(4).
122# 0x10 enable console support for this unit. Other console flags
123# (if applicable) are ignored unless this is set. Enabling
124# console support does not make the unit the preferred console.
125# Boot with -h or set boot_serial=YES in the loader. For sio(4)
126# specifically, the 0x20 flag can also be set (see above).
127# Currently, at most one unit can have console support; the
128# first one (in config file order) with this flag set is
129# preferred. Setting this flag for sio0 gives the old behaviour.
130# 0x20 force this unit to be the console (unless there is another
131# higher priority console). This replaces the COMCONSOLE option.
132# 0x40 reserve this unit for low level console operations. Do not
133# access the device in any normal way.
134# 0x80 use this port for serial line gdb support in ddb. Also known
135# as debug port.
136# PnP `flags'
137# 0x1 disable probing of this device. Used to prevent your modem
138# from being attached as a PnP modem.
139# Other flags for sio that aren't documented in the man page.
140# 0x20000 enable hardware RTS/CTS and larger FIFOs. Only works for
141# ST16650A-compatible UARTs.
142
143# Options for sio:
144options COM_ESP # Code for Hayes ESP.
145options COM_MULTIPORT # Code for some cards with shared IRQs.
146options CONSPEED=115200 # Speed for serial console
147 # (default 9600).
148
149device speaker #Play IBM BASIC-style noises out your speaker
150hint.speaker.0.at="isa"
151hint.speaker.0.port="0x61"
152device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT!
153
154
155#####################################################################
156# HARDWARE BUS CONFIGURATION
157
158#
159# ISA bus
160#
161device isa
162
163#
164# Options for `isa':
165#
166# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
167# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
168# This option breaks suspend/resume on some portables.
169#
170# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
171# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
172# Automatic EOI is documented not to work for for the slave with the
173# original i8259A, but it works for some clones and some integrated
174# versions.
175#
176# MAXMEM specifies the amount of RAM on the machine; if this is not
177# specified, FreeBSD will first read the amount of memory from the CMOS
178# RAM, so the amount of memory will initially be limited to 64MB or 16MB
179# depending on the BIOS. If the BIOS reports 64MB, a memory probe will
180# then attempt to detect the installed amount of RAM. If this probe
181# fails to detect >64MB RAM you will have to use the MAXMEM option.
182# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
183# be 131072 (128 * 1024).
184#
185# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
186# reset the CPU for reboot. This is needed on some systems with broken
187# keyboard controllers.
188
189options AUTO_EOI_1
190#options AUTO_EOI_2
191
192options MAXMEM=(128*1024)
193#options BROKEN_KEYBOARD_RESET
194
195#
196# PCI bus & PCI options:
197#
198device pci
199
200#
201# AGP GART support
202device agp
203
204
205#####################################################################
206# HARDWARE DEVICE CONFIGURATION
207
208#
209# Optional devices:
210#
211
212# PS/2 mouse
213device psm
214hint.psm.0.at="atkbdc"
215hint.psm.0.irq="12"
216
217# Options for psm:
218options PSM_HOOKRESUME #hook the system resume event, useful
219 #for some laptops
220options PSM_RESETAFTERSUSPEND #reset the device at the resume event
221
222# The keyboard controller; it controls the keyboard and the PS/2 mouse.
223device atkbdc
224hint.atkbdc.0.at="isa"
225hint.atkbdc.0.port="0x060"
226
227# The AT keyboard
228device atkbd
229hint.atkbd.0.at="atkbdc"
230hint.atkbd.0.irq="1"
231
232# Options for atkbd:
233options ATKBD_DFLT_KEYMAP # specify the built-in keymap
234makeoptions ATKBD_DFLT_KEYMAP=jp.106
235
236# `flags' for atkbd:
237# 0x01 Force detection of keyboard, else we always assume a keyboard
238# 0x02 Don't reset keyboard, useful for some newer ThinkPads
239# 0x03 Force detection and avoid reset, might help with certain
240# dockingstations
241# 0x04 Old-style (XT) keyboard support, useful for older ThinkPads
242
243# Video card driver for VGA adapters.
244device vga
245hint.vga.0.at="isa"
246
247# Options for vga:
248# Try the following option if the mouse pointer is not drawn correctly
249# or font does not seem to be loaded properly. May cause flicker on
250# some systems.
251options VGA_ALT_SEQACCESS
252
253# If you can dispense with some vga driver features, you may want to
254# use the following options to save some memory.
255#options VGA_NO_FONT_LOADING # don't save/load font
256#options VGA_NO_MODE_CHANGE # don't change video modes
257
258# Older video cards may require this option for proper operation.
259options VGA_SLOW_IOACCESS # do byte-wide i/o's to TS and GDC regs
260
261# The following option probably won't work with the LCD displays.
262options VGA_WIDTH90 # support 90 column modes
263
264# Debugging.
265options VGA_DEBUG
266
267# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create
268# the /dev/3dfx0 device to work with glide implementations. This should get
269# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as
270# the tdfx DRI module from XFree86 and is completely unrelated.
271#
272# To enable Linuxulator support, one must also include COMPAT_LINUX in the
273# config as well. The other option is to load both as modules.
274
275device tdfx # Enable 3Dfx Voodoo support
276#XXX#device tdfx_linux # Enable Linuxulator support
277
278#
279# ACPI support using the Intel ACPI Component Architecture reference
280# implementation.
281#
282# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
283# kernel environment variables to select initial debugging levels for the
284# Intel ACPICA code. (Note that the Intel code must also have USE_DEBUGGER
285# defined when it is built).
286#
287# ACPI_NO_SEMAPHORES makes the AcpiOs*Semaphore routines a no-op.
288
289device acpi
290options ACPI_DEBUG
291#!options ACPI_NO_SEMAPHORES
292
293# The cpufreq(4) driver provides support for non-ACPI CPU frequency control
294device cpufreq
295
296# Direct Rendering modules for 3D acceleration.
297device drm # DRM core module required by DRM drivers
298device i915drm # Intel i830 through i915
299device mach64drm # ATI Rage Pro, Rage Mobility P/M, Rage XL
300device mgadrm # AGP Matrox G200, G400, G450, G550
301device r128drm # ATI Rage 128
302device radeondrm # ATI Radeon
303device savagedrm # S3 Savage3D, Savage4
304device sisdrm # SiS 300/305, 540, 630
305device tdfxdrm # 3dfx Voodoo 3/4/5 and Banshee
306options DRM_DEBUG # Include debug printfs (slow)
307
308#
309# Network interfaces:
310#
311
312# ath: Atheros a/b/g WiFi adapters (requires ath_hal and wlan)
313# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
314# HP PC Lan+, various PC Card devices
315# (requires miibus)
316# ipw: Intel PRO/Wireless 2100 IEEE 802.11 adapter
317# iwi: Intel PRO/Wireless 2200BG/2225BG/2915ABG IEEE 802.11 adapters
318# nfe: nVidia nForce MCP on-board Ethernet Networking (BSD open source)
319# nve: nVidia nForce MCP on-board Ethernet Networking
320# ral: Ralink Technology IEEE 802.11 wireless adapter
321# ural: Ralink Technology RT2500USB IEEE 802.11 wireless adapter
322# wpi: Intel 3945ABG Wireless LAN controller
323
324device ed
325options ED_3C503
326options ED_HPP
327options ED_SIC
328device iwi
329device ipw
330device nfe # nVidia nForce MCP on-board Ethernet Networking
331device nve # nVidia nForce MCP on-board Ethernet Networking
332device ral
333device ural
334device wpi
335
336device ath
337device ath_hal # Atheros HAL (includes binary component)
338#device ath_rate_amrr # AMRR rate control for ath driver
339#device ath_rate_onoe # Onoe rate control for ath driver
340device ath_rate_sample # SampleRate rate control for the ath driver
341#device wlan # 802.11 layer
342
343#
344#XXX this stores pointers in a 32bit field that is defined by the hardware
345#device pst
346
347#
348# Areca 11xx and 12xx series of SATA II RAID controllers.
349# CAM is required.
350#
351device arcmsr # Areca SATA II RAID
352
353#
354# 3ware 9000 series PATA/SATA RAID controller driver and options.
355# The driver is implemented as a SIM, and so, needs the CAM infrastructure.
356#
357options TWA_DEBUG # 0-10; 10 prints the most messages.
358options TWA_FLASH_FIRMWARE # firmware image bundled when defined.
359device twa # 3ware 9000 series PATA/SATA RAID
360
361#
362# SCSI host adapters:
363#
364# ncv: NCR 53C500 based SCSI host adapters.
365# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
366# stg: TMC 18C30, 18C50 based SCSI host adapters.
367
368device ncv
369device nsp
370device stg
371
372#
373# Adaptec FSA RAID controllers, including integrated DELL controllers,
374# the Dell PERC 2/QC and the HP NetRAID-4M
375device aac
376device aacp # SCSI Passthrough interface (optional, CAM required)
377
378#
379# Highpoint RocketRAID 182x.
380device hptmv
381
382#
383# Highpoint RocketRAID. Supports RR172x, RR222x, RR2240, RR232x, RR2340,
384# RR2210, RR174x, RR2522, RR231x, RR230x.
385device hptrr
386
387#
388# Highpoint RocketRaid 3xxx series SATA RAID
389device hptiop
390
391#
392# IBM (now Adaptec) ServeRAID controllers
393device ips
394
395#
396# SafeNet crypto driver: can be moved to the MI NOTES as soon as
397# it's tested on a big-endian machine
398#
399device safe # SafeNet 1141
400options SAFE_DEBUG # enable debugging support: hw.safe.debug
401options SAFE_RNDTEST # enable rndtest support
402
403#####################################################################
404
405#
406# Miscellaneous hardware:
407#
408# ipmi: Intelligent Platform Management Interface
409# smbios: DMI/SMBIOS entry point
410# vpd: Vital Product Data kernel interface
411# cy: Cyclades serial driver
412# digi: Digiboard driver
413# asmc: Apple System Management Controller
414
415# Notes on the Specialix SI/XIO driver:
416# The host card is memory, not IO mapped.
417# The Rev 1 host cards use a 64K chunk, on a 32K boundary.
418# The Rev 2 host cards use a 32K chunk, on a 32K boundary.
419# The cards can use an IRQ of 11, 12 or 15.
420
421device cy
422options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared
423device digi
424# BIOS & FEP/OS components of device digi.
425device digi_CX
426device digi_CX_PCI
427device digi_EPCX
428device digi_EPCX_PCI
429device digi_Xe
430device digi_Xem
431device digi_Xr
432device ipmi
433# Parallel (8255 PPI) basic I/O (mode 0) port (e.g. Advantech PCL-724)
434device pbio
435hint.pbio.0.at="isa"
436hint.pbio.0.port="0x360"
437device smbios
438device vpd
439device asmc
440#
441# Laptop/Notebook options:
442#
443
444
445#
446# I2C Bus
447#
448
449#
450# Hardware watchdog timers:
451#
452# ichwd: Intel ICH watchdog timer
453#
454device ichwd
455
456#
457# Temperature sensors:
458#
459# coretemp: on-die sensor on Intel Core and newer CPUs
460#
461device coretemp
462
463#---------------------------------------------------------------------------
464# ISDN4BSD
465#
466# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
467#
468# i4b passive ISDN cards support contains the following hardware drivers:
469#
470# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
471# iwic - Winbond W6692 PCI bus ISDN S/T interface controller
472# ifpi - AVM Fritz!Card PCI driver
473# ifpi2 - AVM Fritz!Card PCI version 2 driver
474# itjc - Siemens ISAC / TJNet Tiger300/320 chipset
475#
476# i4b active ISDN cards support contains the following hardware drivers:
477#
478# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1
479#
480# Note that the ``options'' (if given) and ``device'' lines must BOTH
481# be uncommented to enable support for a given card !
482#
483# In addition to a hardware driver (and probably an option) the mandatory
484# ISDN protocol stack devices and the mandatory support device must be
485# enabled as well as one or more devices from the optional devices section.
486#
487#---------------------------------------------------------------------------
488# isic driver (Siemens/Infineon chipsets)
489#
490#XXX#device isic
491#
492# PCI bus Cards:
493# --------------
494#
495# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
496options ELSA_QS1PCI
497#
498#---------------------------------------------------------------------------
499# ifpi2 driver for AVM Fritz!Card PCI version 2
500#
501# AVM Fritz!Card PCI version 2
502#XXX#device ifpi2
503#
504#---------------------------------------------------------------------------
505# iwic driver for Winbond W6692 chipset
506#
507# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
508#XXX#device iwic
509#
510#---------------------------------------------------------------------------
511# itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset
512#
513# Traverse Technologies NETjet-S
514# Teles PCI-TJ
515#XXX#device itjc
516#
517#---------------------------------------------------------------------------
518# iavc driver (AVM active cards, needs i4bcapi driver!)
519#
520#XXX#device iavc
521#
522#---------------------------------------------------------------------------
523# ISDN Protocol Stack - mandatory for all hardware drivers
524#
525# Q.921 / layer 2 - i4b passive cards D channel handling
526#XXX#device i4bq921
527#
528# Q.931 / layer 3 - i4b passive cards D channel handling
529#XXX#device i4bq931
530#
531# layer 4 - i4b common passive and active card handling
532#XXX#device i4b
533#
534#---------------------------------------------------------------------------
535# ISDN devices - mandatory for all hardware drivers
536#
537# userland driver to do ISDN tracing (for passive cards only)
538#XXX#device i4btrc
539#XXX#options NI4BTRC=4
540#
541# userland driver to control the whole thing
542#XXX#device i4bctl
543#
544#---------------------------------------------------------------------------
545# ISDN devices - optional
546#
547# userland driver for access to raw B channel
548#XXX#device i4brbch
549#XXX#options NI4BRBCH=4
550#
551# userland driver for telephony
552#XXX#device i4btel
553#XXX#options NI4BTEL=2
554#
555# network driver for IP over raw HDLC ISDN
556#XXX#device i4bipr
557#XXX#options NI4BIPR=4
558# enable VJ header compression detection for ipr i/f
559#XXX#options IPR_VJ
560# enable logging of the first n IP packets to isdnd (n=32 here)
561#XXX#options IPR_LOG=32
562#
563# network driver for sync PPP over ISDN; requires an equivalent
564# number of sppp device to be configured
565#XXX#device i4bisppp
566#XXX#options NI4BISPPP=4
567#
568# B-channel interface to the netgraph subsystem
569#XXX#device i4bing
570#XXX#options NI4BING=2
571#
572# CAPI driver needed for active ISDN cards (see iavc driver above)
573#XXX#device i4bcapi
574#
575#---------------------------------------------------------------------------
576
577#
578# System Management Bus (SMB)
579#
580options ENABLE_ALART # Control alarm on Intel intpm driver
581
582#
583# Set the number of PV entries per process. Increasing this can
584# stop panics related to heavy use of shared memory. However, that can
585# (combined with large amounts of physical memory) cause panics at
586# boot time due the kernel running out of VM space.
587#
588# If you're tweaking this, you might also want to increase the sysctls
589# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
590#
591# The value below is the one more than the default.
592#
593options PMAP_SHPGPERPROC=201
594
595
596#####################################################################
597# ABI Emulation
598
599#XXX keep these here for now and reactivate when support for emulating
600#XXX these 32 bit binaries is added.
601
602# Enable 32-bit runtime support for FreeBSD/i386 binaries.
603options COMPAT_IA32
604
605# Enable iBCS2 runtime support for SCO and ISC binaries
606#XXX#options IBCS2
607
608# Emulate spx device for client side of SVR3 local X interface
609#XXX#options SPX_HACK
610
611# Enable Linux ABI emulation
612#XXX#options COMPAT_LINUX
613
614# Enable 32-bit Linux ABI emulation (requires COMPAT_43 and COMPAT_IA32)
615options COMPAT_LINUX32
616
617# Enable the linux-like proc filesystem support (requires COMPAT_LINUX32
618# and PSEUDOFS)
619options LINPROCFS
620
621#Enable the linux-like sys filesystem support (requires COMPAT_LINUX32
622# and PSEUDOFS)
623options LINSYSFS
624
625#
626# SysVR4 ABI emulation
627#
628# The svr4 ABI emulator can be statically compiled into the kernel or loaded as
629# a KLD module.
630# The STREAMS network emulation code can also be compiled statically or as a
631# module. If loaded as a module, it must be loaded before the svr4 module
632# (the /usr/sbin/svr4 script does this for you). If compiling statically,
633# the `streams' device must be configured into any kernel which also
634# specifies COMPAT_SVR4. It is possible to have a statically-configured
635# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4
636# script understands that it doesn't need to load the `streams' module under
637# those circumstances.
638# Caveat: At this time, `options KTRACE' is required for the svr4 emulator
639# (whether static or dynamic).
640#
641#XXX#options COMPAT_SVR4 # build emulator statically
642#XXX#options DEBUG_SVR4 # enable verbose debugging
643#XXX#device streams # STREAMS network driver (required for svr4).
644
645
646#####################################################################
647# VM OPTIONS
648
649# KSTACK_PAGES is the number of memory pages to assign to the kernel
650# stack of each thread.
651
652options KSTACK_PAGES=3
653
654#####################################################################
655
656# More undocumented options for linting.
657# Note that documenting these are not considered an affront.
658
659options FB_INSTALL_CDEV # install a CDEV entry in /dev
660
661options KBDIO_DEBUG=2
662options KBD_MAXRETRY=4
663options KBD_MAXWAIT=6
664options KBD_RESETDELAY=201
665
666options PSM_DEBUG=1
667
668options TIMER_FREQ=((14318182+6)/12)
669
670options VM_KMEM_SIZE
671options VM_KMEM_SIZE_MAX
672options VM_KMEM_SIZE_SCALE
673
674# Enable NDIS binary driver support
675options NDISAPI
676device ndis