2 # NOTES -- Lines that can be cut/pasted into kernel and hints configs.
4 # This file contains machine dependent kernel configuration notes. For
5 # machine independent notes, look in /sys/conf/NOTES.
11 # We want LINT to cover profiling as well.
15 #####################################################################
20 # IPI_PREEMPTION instructs the kernel to preempt threads running on other
21 # CPUS if needed. Relies on the PREEMPTION option
24 options IPI_PREEMPTION
25 device atpic # Optional legacy pic support
26 device mptable # Optional MPSPEC mptable support
36 options STOP_NMI # Stop CPUS using NMI instead of IPI
40 #####################################################################
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.
48 cpu HAMMER # aka K8, aka Opteron & Athlon64
51 # Options for CPU features.
55 # PERFMON causes the driver for Pentium/Pentium Pro performance counters
56 # to be compiled. See perfmon(4) for more information.
61 #####################################################################
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).
78 # Not all device drivers support this mode of operation at the time of
79 # this writing. See polling(4) for more details.
81 options DEVICE_POLLING
84 #####################################################################
87 # The following options are used for debugging clock behavior only, and
88 # should not be used for production systems.
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.)
94 options CLK_CALIBRATION_LOOP
96 # CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254
97 # clock to actually be used.
98 options CLK_USE_I8254_CALIBRATION
101 #####################################################################
102 # MISCELLANEOUS DEVICES AND OPTIONS
104 device speaker #Play IBM BASIC-style noises out your speaker
105 hint.speaker.0.at="isa"
106 hint.speaker.0.port="0x61"
107 device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT!
110 #####################################################################
111 # HARDWARE BUS CONFIGURATION
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.
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
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).
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.
147 options MAXMEM=(128*1024)
148 #options BROKEN_KEYBOARD_RESET
151 # PCI bus & PCI options:
160 #####################################################################
161 # HARDWARE DEVICE CONFIGURATION
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.
172 # To enable Linuxulator support, one must also include COMPAT_LINUX in the
173 # config as well, or you will not have the dependencies. The other option
174 # is to load both as modules.
176 device tdfx # Enable 3Dfx Voodoo support
177 #XXX#options TDFX_LINUX # Enable Linuxulator support
180 # ACPI support using the Intel ACPI Component Architecture reference
183 # ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
184 # kernel environment variables to select initial debugging levels for the
185 # Intel ACPICA code. (Note that the Intel code must also have USE_DEBUGGER
186 # defined when it is built).
188 # ACPI_NO_SEMAPHORES makes the AcpiOs*Semaphore routines a no-op.
190 # ACPICA_PEDANTIC enables strict checking of AML. Our default is to
191 # relax these checks to allow code generated by the Microsoft compiler
194 # Note that building ACPI into the kernel is deprecated; the module is
195 # normally loaded automatically by the loader.
199 #!options ACPI_NO_SEMAPHORES
200 #!options ACPICA_PEDANTIC
202 # The cpufreq(4) driver provides support for non-ACPI CPU frequency control
205 # Direct Rendering modules for 3D acceleration.
206 device drm # DRM core module required by DRM drivers
207 device i915drm # Intel i830 through i915
208 device mach64drm # ATI Rage Pro, Rage Mobility P/M, Rage XL
209 device mgadrm # AGP Matrox G200, G400, G450, G550
210 device r128drm # ATI Rage 128
211 device radeondrm # ATI Radeon
212 device savagedrm # S3 Savage3D, Savage4
213 device sisdrm # SiS 300/305, 540, 630
214 device tdfxdrm # 3dfx Voodoo 3/4/5 and Banshee
215 options DRM_DEBUG # Include debug printfs (slow)
218 # Network interfaces:
221 # ath: Atheros a/b/g WiFi adapters (requires ath_hal and wlan)
222 # ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
223 # HP PC Lan+, various PC Card devices (refer to etc/defaults/pccard.conf)
225 # lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and
227 # nve: nVidia nForce MCP on-board Ethernet Networking
233 #XXX# still calls MD i386 kvtop function instead of vtophys etc
235 device nve # nVidia nForce MCP on-board Ethernet Networking
238 device ath_hal # Atheros HAL (includes binary component)
239 #device ath_rate_amrr # AMRR rate control for ath driver
240 #device ath_rate_onoe # Onoe rate control for ath driver
241 device ath_rate_sample # SampleRate rate control for the ath driver
242 #device wlan # 802.11 layer
245 #XXX this stores pointers in a 32bit field that is defined by the hardware
249 # Areca 11xx and 12xx series of SATA II RAID controllers.
252 device arcmsr # Areca SATA II RAID
255 # 3ware 9000 series PATA/SATA RAID controller driver and options.
256 # The driver is implemented as a SIM, and so, needs the CAM infrastructure.
258 options TWA_DEBUG # 0-10; 10 prints the most messages.
259 options TWA_FLASH_FIRMWARE # firmware image bundled when defined.
260 device twa # 3ware 9000 series PATA/SATA RAID
263 # SCSI host adapters:
265 # ncv: NCR 53C500 based SCSI host adapters.
266 # nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
267 # stg: TMC 18C30, 18C50 based SCSI host adapters.
274 # Adaptec FSA RAID controllers, including integrated DELL controllers,
275 # the Dell PERC 2/QC and the HP NetRAID-4M
277 device aacp # SCSI Passthrough interface (optional, CAM required)
280 # Highpoint RocketRAID 182x. This is really just software RAID on a
285 # IBM (now Adaptec) ServeRAID controllers
289 # SafeNet crypto driver: can be moved to the MI NOTES as soon as
290 # it's tested on a big-endian machine
292 device safe # SafeNet 1141
293 options SAFE_DEBUG # enable debugging support: hw.safe.debug
294 options SAFE_RNDTEST # enable rndtest support
296 #####################################################################
299 # Miscellaneous hardware:
301 # smbios: DMI/SMBIOS entry point
302 # vpd: Vital Product Data kernel interface
303 # cy: Cyclades serial driver
304 # digi: Digiboard driver
306 # Notes on the Specialix SI/XIO driver:
307 # The host card is memory, not IO mapped.
308 # The Rev 1 host cards use a 64K chunk, on a 32K boundary.
309 # The Rev 2 host cards use a 32K chunk, on a 32K boundary.
310 # The cards can use an IRQ of 11, 12 or 15.
313 options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared
315 # BIOS & FEP/OS components of device digi.
323 # Parallel (8255 PPI) basic I/O (mode 0) port (e.g. Advantech PCL-724)
326 hint.pbio.0.port="0x360"
329 # HOT1 Xilinx 6200 card (http://www.vcc.com/)
333 # Laptop/Notebook options:
342 # Hardware watchdog timers:
344 # ichwd: Intel ICH watchdog timer
348 #---------------------------------------------------------------------------
351 # See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
353 # i4b passive ISDN cards support contains the following hardware drivers:
355 # isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
356 # iwic - Winbond W6692 PCI bus ISDN S/T interface controller
357 # ifpi - AVM Fritz!Card PCI driver
358 # ifpi2 - AVM Fritz!Card PCI version 2 driver
359 # itjc - Siemens ISAC / TJNet Tiger300/320 chipset
361 # i4b active ISDN cards support contains the following hardware drivers:
363 # iavc - AVM B1 PCI, AVM B1 ISA, AVM T1
365 # Note that the ``options'' (if given) and ``device'' lines must BOTH
366 # be uncommented to enable support for a given card !
368 # In addition to a hardware driver (and probably an option) the mandatory
369 # ISDN protocol stack devices and the mandatory support device must be
370 # enabled as well as one or more devices from the optional devices section.
372 #---------------------------------------------------------------------------
373 # isic driver (Siemens/Infineon chipsets)
380 # ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
383 #---------------------------------------------------------------------------
384 # ifpi2 driver for AVM Fritz!Card PCI version 2
386 # AVM Fritz!Card PCI version 2
389 #---------------------------------------------------------------------------
390 # iwic driver for Winbond W6692 chipset
392 # ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
395 #---------------------------------------------------------------------------
396 # itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset
398 # Traverse Technologies NETjet-S
402 #---------------------------------------------------------------------------
403 # iavc driver (AVM active cards, needs i4bcapi driver!)
407 #---------------------------------------------------------------------------
408 # ISDN Protocol Stack - mandatory for all hardware drivers
410 # Q.921 / layer 2 - i4b passive cards D channel handling
413 # Q.931 / layer 3 - i4b passive cards D channel handling
416 # layer 4 - i4b common passive and active card handling
419 #---------------------------------------------------------------------------
420 # ISDN devices - mandatory for all hardware drivers
422 # userland driver to do ISDN tracing (for passive cards only)
424 #XXX#options NI4BTRC=4
426 # userland driver to control the whole thing
429 #---------------------------------------------------------------------------
430 # ISDN devices - optional
432 # userland driver for access to raw B channel
434 #XXX#options NI4BRBCH=4
436 # userland driver for telephony
438 #XXX#options NI4BTEL=2
440 # network driver for IP over raw HDLC ISDN
442 #XXX#options NI4BIPR=4
443 # enable VJ header compression detection for ipr i/f
445 # enable logging of the first n IP packets to isdnd (n=32 here)
448 # network driver for sync PPP over ISDN; requires an equivalent
449 # number of sppp device to be configured
451 #XXX#options NI4BISPPP=4
453 # B-channel interface to the netgraph subsystem
455 #XXX#options NI4BING=2
457 # CAPI driver needed for active ISDN cards (see iavc driver above)
460 #---------------------------------------------------------------------------
463 # System Management Bus (SMB)
465 options ENABLE_ALART # Control alarm on Intel intpm driver
468 # Set the number of PV entries per process. Increasing this can
469 # stop panics related to heavy use of shared memory. However, that can
470 # (combined with large amounts of physical memory) cause panics at
471 # boot time due the kernel running out of VM space.
473 # If you're tweaking this, you might also want to increase the sysctls
474 # "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
476 # The value below is the one more than the default.
478 options PMAP_SHPGPERPROC=201
481 #####################################################################
484 #XXX keep these here for now and reactivate when support for emulating
485 #XXX these 32 bit binaries is added.
487 # Enable 32-bit runtime support for FreeBSD/i386 binaries.
490 # Enable iBCS2 runtime support for SCO and ISC binaries
493 # Emulate spx device for client side of SVR3 local X interface
494 #XXX#options SPX_HACK
496 # Enable Linux ABI emulation
497 #XXX#options COMPAT_LINUX
499 # Enable 32-bit Linux ABI emulation (requires COMPAT_43 and COMPAT_IA32)
500 options COMPAT_LINUX32
502 # Enable the linux-like proc filesystem support (requires COMPAT_LINUX32
507 # SysVR4 ABI emulation
509 # The svr4 ABI emulator can be statically compiled into the kernel or loaded as
511 # The STREAMS network emulation code can also be compiled statically or as a
512 # module. If loaded as a module, it must be loaded before the svr4 module
513 # (the /usr/sbin/svr4 script does this for you). If compiling statically,
514 # the `streams' device must be configured into any kernel which also
515 # specifies COMPAT_SVR4. It is possible to have a statically-configured
516 # STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4
517 # script understands that it doesn't need to load the `streams' module under
518 # those circumstances.
519 # Caveat: At this time, `options KTRACE' is required for the svr4 emulator
520 # (whether static or dynamic).
522 #XXX#options COMPAT_SVR4 # build emulator statically
523 #XXX#options DEBUG_SVR4 # enable verbose debugging
524 #XXX#device streams # STREAMS network driver (required for svr4).
527 #####################################################################
530 # KSTACK_PAGES is the number of memory pages to assign to the kernel
531 # stack of each thread.
533 options KSTACK_PAGES=3
535 #####################################################################
537 # More undocumented options for linting.
538 # Note that documenting these are not considered an affront.
540 options FB_INSTALL_CDEV # install a CDEV entry in /dev
542 options KBDIO_DEBUG=2
543 options KBD_MAXRETRY=4
544 options KBD_MAXWAIT=6
545 options KBD_RESETDELAY=201
549 options TIMER_FREQ=((14318182+6)/12)
552 options VM_KMEM_SIZE_MAX
553 options VM_KMEM_SIZE_SCALE