Deleted Added
full compact
NOTES (117849) NOTES (117870)
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/i386/conf/NOTES 117849 2003-07-21 21:51:24Z sam $
7# $FreeBSD: head/sys/i386/conf/NOTES 117870 2003-07-22 08:11:17Z peter $
8#
9
10#
11# This directive is mandatory; it defines the architecture to be
12# configured for; in this case, the 386 family based IBM-PC and
13# compatibles.
14#
15machine i386
16
17#
18# We want LINT to cover profiling as well
19profile 2
20
21
22#####################################################################
23# SMP OPTIONS:
24#
25# APIC_IO enables the use of the IO APIC for Symmetric I/O.
26#
27# Notes:
28#
29# An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard.
30#
31# Be sure to disable 'cpu I386_CPU' && 'cpu I486_CPU' for SMP kernels.
32#
33# Check the 'Rogue SMP hardware' section to see if additional options
34# are required by your hardware.
35#
36
37# Mandatory:
38options APIC_IO # Symmetric (APIC) I/O
39
40#
41# Rogue SMP hardware:
42#
43
44# Bridged PCI cards:
45#
46# The MP tables of most of the current generation MP motherboards
47# do NOT properly support bridged PCI cards. To use one of these
48# cards you should refer to ???
49
50
51#####################################################################
52# CPU OPTIONS
53
54#
55# You must specify at least one CPU (the one you intend to run on);
56# deleting the specification for CPUs you don't need to use may make
57# parts of the system run faster.
58# I386_CPU is mutually exclusive with the other CPU types.
59#
60#cpu I386_CPU
61cpu I486_CPU
62cpu I586_CPU # aka Pentium(tm)
63cpu I686_CPU # aka Pentium Pro(tm)
64
65#
66# Options for CPU features.
67#
68# CPU_ATHLON_SSE_HACK tries to enable SSE instructions when the BIOS has
69# forgotten to enable them.
70#
71# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM
72# BlueLightning CPU. It works only with Cyrix FPU, and this option
73# should not be used with Intel FPU.
74#
75# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning
76# CPU if CPU supports it. The default is double-clock mode on
77# BlueLightning CPU box.
78#
79# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1).
80#
81# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct
82# mapped mode. Default is 2-way set associative mode.
83#
84# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space
85# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1.
86# Otherwise, the NO_LOCK bit of CCR1 is cleared. (NOTE 3)
87#
88# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e. enables
89# reorder). This option should not be used if you use memory mapped
90# I/O device(s).
91#
92# CPU_ELAN enables support for AMDs ElanSC520 CPU.
93# ELAN_XTAL sets the clock crystal frequency in Hz
94# ELAN_PPS enables precision timestamp code.
95#
96# CPU_ENABLE_SSE enables SSE/MMX2 instructions support. This is default
97# on I686_CPU and above.
98# CPU_DISABLE_SSE explicitly prevent I686_CPU from turning on SSE.
99#
100# CPU_FASTER_5X86_FPU enables faster FPU exception handler.
101#
102# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products
103# for i386 machines.
104#
105# CPU_IORT defines I/O clock delay time (NOTE 1). Default values of
106# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively
107# (no clock delay).
108#
109# CPU_L2_LATENCY specifed the L2 cache latency value. This option is used
110# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected.
111# The default value is 5.
112#
113# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination
114# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE
115# 1).
116#
117# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs. This option
118# is useful when you use Socket 8 to Socket 370 converter, because most Pentium
119# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs.
120#
121# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1).
122#
123# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU
124# enters suspend mode following execution of HALT instruction.
125#
126# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s).
127#
128# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD
129# K5/K6/K6-2 cpus.
130#
131# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache
132# flush at hold state.
133#
134# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs
135# without cache flush at hold state, and (2) write-back CPU cache on
136# Cyrix 6x86 whose revision < 2.7 (NOTE 2).
137#
138# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY
139# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is
140# executed. This option is only needed if I586_CPU is also defined,
141# and should be included for any non-Pentium CPU that defines it.
142#
143# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors
144# which indicates that the 15-16MB range is *definitely* not being
145# occupied by an ISA memory hole.
146#
147# CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32
148# machines. VmWare seems to emulate this instruction poorly, causing
149# the guest OS to run very slowly. Enabling this with a SMP kernel
150# will cause the kernel to be unusable.
151#
152# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT,
153# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs.
154# These options may crash your system.
155#
156# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled
157# in write-through mode when revision < 2.7. If revision of Cyrix
158# 6x86 >= 2.7, CPU cache is always enabled in write-back mode.
159#
160# NOTE 3: This option may cause failures for software that requires
161# locked cycles in order to operate correctly.
162#
163options CPU_ATHLON_SSE_HACK
164options CPU_BLUELIGHTNING_FPU_OP_CACHE
165options CPU_BLUELIGHTNING_3X
166options CPU_BTB_EN
167options CPU_DIRECT_MAPPED_CACHE
168options CPU_DISABLE_5X86_LSSER
169options CPU_ELAN
170options ELAN_XTAL=32768000
171options ELAN_PPS
172options CPU_ENABLE_SSE
173#options CPU_DISABLE_SSE
174options CPU_FASTER_5X86_FPU
175options CPU_I486_ON_386
176options CPU_IORT
177options CPU_L2_LATENCY=5
178options CPU_LOOP_EN
179options CPU_PPRO2CELERON
180options CPU_RSTK_EN
181options CPU_SUSP_HLT
182options CPU_UPGRADE_HW_CACHE
183options CPU_WT_ALLOC
184options CYRIX_CACHE_WORKS
185options CYRIX_CACHE_REALLY_WORKS
186#options NO_F00F_HACK
187options CPU_DISABLE_CMPXCHG
188
8#
9
10#
11# This directive is mandatory; it defines the architecture to be
12# configured for; in this case, the 386 family based IBM-PC and
13# compatibles.
14#
15machine i386
16
17#
18# We want LINT to cover profiling as well
19profile 2
20
21
22#####################################################################
23# SMP OPTIONS:
24#
25# APIC_IO enables the use of the IO APIC for Symmetric I/O.
26#
27# Notes:
28#
29# An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard.
30#
31# Be sure to disable 'cpu I386_CPU' && 'cpu I486_CPU' for SMP kernels.
32#
33# Check the 'Rogue SMP hardware' section to see if additional options
34# are required by your hardware.
35#
36
37# Mandatory:
38options APIC_IO # Symmetric (APIC) I/O
39
40#
41# Rogue SMP hardware:
42#
43
44# Bridged PCI cards:
45#
46# The MP tables of most of the current generation MP motherboards
47# do NOT properly support bridged PCI cards. To use one of these
48# cards you should refer to ???
49
50
51#####################################################################
52# CPU OPTIONS
53
54#
55# You must specify at least one CPU (the one you intend to run on);
56# deleting the specification for CPUs you don't need to use may make
57# parts of the system run faster.
58# I386_CPU is mutually exclusive with the other CPU types.
59#
60#cpu I386_CPU
61cpu I486_CPU
62cpu I586_CPU # aka Pentium(tm)
63cpu I686_CPU # aka Pentium Pro(tm)
64
65#
66# Options for CPU features.
67#
68# CPU_ATHLON_SSE_HACK tries to enable SSE instructions when the BIOS has
69# forgotten to enable them.
70#
71# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM
72# BlueLightning CPU. It works only with Cyrix FPU, and this option
73# should not be used with Intel FPU.
74#
75# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning
76# CPU if CPU supports it. The default is double-clock mode on
77# BlueLightning CPU box.
78#
79# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1).
80#
81# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct
82# mapped mode. Default is 2-way set associative mode.
83#
84# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space
85# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1.
86# Otherwise, the NO_LOCK bit of CCR1 is cleared. (NOTE 3)
87#
88# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e. enables
89# reorder). This option should not be used if you use memory mapped
90# I/O device(s).
91#
92# CPU_ELAN enables support for AMDs ElanSC520 CPU.
93# ELAN_XTAL sets the clock crystal frequency in Hz
94# ELAN_PPS enables precision timestamp code.
95#
96# CPU_ENABLE_SSE enables SSE/MMX2 instructions support. This is default
97# on I686_CPU and above.
98# CPU_DISABLE_SSE explicitly prevent I686_CPU from turning on SSE.
99#
100# CPU_FASTER_5X86_FPU enables faster FPU exception handler.
101#
102# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products
103# for i386 machines.
104#
105# CPU_IORT defines I/O clock delay time (NOTE 1). Default values of
106# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively
107# (no clock delay).
108#
109# CPU_L2_LATENCY specifed the L2 cache latency value. This option is used
110# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected.
111# The default value is 5.
112#
113# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination
114# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE
115# 1).
116#
117# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs. This option
118# is useful when you use Socket 8 to Socket 370 converter, because most Pentium
119# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs.
120#
121# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1).
122#
123# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU
124# enters suspend mode following execution of HALT instruction.
125#
126# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s).
127#
128# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD
129# K5/K6/K6-2 cpus.
130#
131# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache
132# flush at hold state.
133#
134# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs
135# without cache flush at hold state, and (2) write-back CPU cache on
136# Cyrix 6x86 whose revision < 2.7 (NOTE 2).
137#
138# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY
139# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is
140# executed. This option is only needed if I586_CPU is also defined,
141# and should be included for any non-Pentium CPU that defines it.
142#
143# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors
144# which indicates that the 15-16MB range is *definitely* not being
145# occupied by an ISA memory hole.
146#
147# CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32
148# machines. VmWare seems to emulate this instruction poorly, causing
149# the guest OS to run very slowly. Enabling this with a SMP kernel
150# will cause the kernel to be unusable.
151#
152# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT,
153# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs.
154# These options may crash your system.
155#
156# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled
157# in write-through mode when revision < 2.7. If revision of Cyrix
158# 6x86 >= 2.7, CPU cache is always enabled in write-back mode.
159#
160# NOTE 3: This option may cause failures for software that requires
161# locked cycles in order to operate correctly.
162#
163options CPU_ATHLON_SSE_HACK
164options CPU_BLUELIGHTNING_FPU_OP_CACHE
165options CPU_BLUELIGHTNING_3X
166options CPU_BTB_EN
167options CPU_DIRECT_MAPPED_CACHE
168options CPU_DISABLE_5X86_LSSER
169options CPU_ELAN
170options ELAN_XTAL=32768000
171options ELAN_PPS
172options CPU_ENABLE_SSE
173#options CPU_DISABLE_SSE
174options CPU_FASTER_5X86_FPU
175options CPU_I486_ON_386
176options CPU_IORT
177options CPU_L2_LATENCY=5
178options CPU_LOOP_EN
179options CPU_PPRO2CELERON
180options CPU_RSTK_EN
181options CPU_SUSP_HLT
182options CPU_UPGRADE_HW_CACHE
183options CPU_WT_ALLOC
184options CYRIX_CACHE_WORKS
185options CYRIX_CACHE_REALLY_WORKS
186#options NO_F00F_HACK
187options CPU_DISABLE_CMPXCHG
188
189#
190# A math emulator is mandatory if you wish to run on hardware which
191# does not have a floating-point processor. Pick either the original,
192# bogus (but freely-distributable) math emulator, or a much more
193# fully-featured but GPL-licensed emulator taken from Linux.
194#
195options MATH_EMULATE #Support for x87 emulation
196# Don't enable both of these in a real config.
197options GPL_MATH_EMULATE #Support for x87 emulation via
198
199# Debug options
200options NPX_DEBUG # enable npx debugging (FPU/math emu)
201 #new math emulator
202
203#
204# PERFMON causes the driver for Pentium/Pentium Pro performance counters
205# to be compiled. See perfmon(4) for more information.
206#
207options PERFMON
208
209
210#####################################################################
211# NETWORKING OPTIONS
212
213#
214# DEVICE_POLLING adds support for mixed interrupt-polling handling
215# of network device drivers, which has significant benefits in terms
216# of robustness to overloads and responsivity, as well as permitting
217# accurate scheduling of the CPU time between kernel network processing
218# and other activities. The drawback is a moderate (up to 1/HZ seconds)
219# potential increase in response times.
220# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
221# to achieve smoother behaviour.
222# Additionally, you can enable/disable polling at runtime with the
223# sysctl variable kern.polling.enable (defaults off), and select
224# the CPU fraction reserved to userland with the sysctl variable
225# kern.polling.user_frac (default 50, range 0..100).
226#
227# Only the "dc" "fxp" and "sis" devices support this mode of operation at
228# the time of this writing.
229
230options DEVICE_POLLING
231
232
233#####################################################################
234# CLOCK OPTIONS
235
236# The following options are used for debugging clock behavior only, and
237# should not be used for production systems.
238#
239# CLK_CALIBRATION_LOOP will run the clock calibration loop at startup
240# until the user presses a key.
241
242options CLK_CALIBRATION_LOOP
243
244# The following two options measure the frequency of the corresponding
245# clock relative to the RTC (onboard mc146818a).
246
247options CLK_USE_I8254_CALIBRATION
248options CLK_USE_TSC_CALIBRATION
249
250
251#####################################################################
252# MISCELLANEOUS DEVICES AND OPTIONS
253
254device speaker #Play IBM BASIC-style noises out your speaker
255hint.speaker.0.at="isa"
256hint.speaker.0.port="0x61"
257device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT!
258device apm_saver # Requires APM
259
260
261#####################################################################
262# HARDWARE BUS CONFIGURATION
263
264#
265# ISA bus
266#
267device isa
268
269#
270# Options for `isa':
271#
272# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
273# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
274# This option breaks suspend/resume on some portables.
275#
276# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
277# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
278# Automatic EOI is documented not to work for for the slave with the
279# original i8259A, but it works for some clones and some integrated
280# versions.
281#
282# MAXMEM specifies the amount of RAM on the machine; if this is not
283# specified, FreeBSD will first read the amount of memory from the CMOS
284# RAM, so the amount of memory will initially be limited to 64MB or 16MB
285# depending on the BIOS. If the BIOS reports 64MB, a memory probe will
286# then attempt to detect the installed amount of RAM. If this probe
287# fails to detect >64MB RAM you will have to use the MAXMEM option.
288# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
289# be 131072 (128 * 1024).
290#
291# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
292# reset the CPU for reboot. This is needed on some systems with broken
293# keyboard controllers.
294
295options COMPAT_OLDISA #Use ISA shims and glue for old drivers
296options AUTO_EOI_1
297#options AUTO_EOI_2
298
299options MAXMEM=(128*1024)
300#options BROKEN_KEYBOARD_RESET
301
302#
303# EISA bus
304#
305# The EISA bus device is `eisa'. It provides auto-detection and
306# configuration support for all devices on the EISA bus.
307
308device eisa
309
310# By default, only 10 EISA slots are probed, since the slot numbers
311# above clash with the configuration address space of the PCI subsystem,
312# and the EISA probe is not very smart about this. This is sufficient
313# for most machines, but in particular the HP NetServer LC series comes
314# with an onboard AIC7770 dual-channel SCSI controller on EISA slot #11,
315# thus you need to bump this figure to 12 for them.
316options EISA_SLOTS=12
317
318#
319# MCA bus:
320#
321# The MCA bus device is `mca'. It provides auto-detection and
322# configuration support for all devices on the MCA bus.
323# No hints are required for MCA.
324
325device mca
326
327#
328# PCI bus & PCI options:
329#
330device pci
331
332#
333# AGP GART support
334device agp
335
336
337#####################################################################
338# HARDWARE DEVICE CONFIGURATION
339
340#
341# Mandatory devices:
342#
343
344# To include support for VGA VESA video modes
345options VESA
346
347# Turn on extra debugging checks and output for VESA support.
348options VESA_DEBUG
349
350# The pcvt console driver (vt220 compatible).
351device vt
352hint.vt.0.at="isa"
353options XSERVER # support for running an X server on vt
354options FAT_CURSOR # start with block cursor
355# This PCVT option is for keyboards such as those used on really old ThinkPads
356options PCVT_SCANSET=2
357# Other PCVT options are documented in pcvt(4).
358options PCVT_24LINESDEF
359options PCVT_CTRL_ALT_DEL
360options PCVT_META_ESC
361options PCVT_NSCREENS=9
362options PCVT_PRETTYSCRNS
363options PCVT_SCREENSAVER
364options PCVT_USEKBDSEC
365options PCVT_VT220KEYB
366options PCVT_GREENSAVER
367
368#
369# The Numeric Processing eXtension driver. In addition to this, you
370# may configure a math emulator (see above). If your machine has a
371# hardware FPU and the kernel configuration includes the npx device
372# *and* a math emulator compiled into the kernel, the hardware FPU
373# will be used, unless it is found to be broken or unless "flags" to
374# npx0 includes "0x08", which requests preference for the emulator.
375device npx
376hint.npx.0.flags="0x0"
377hint.npx.0.irq="13"
378
379#
380# `flags' for npx0:
381# 0x01 don't use the npx registers to optimize bcopy.
382# 0x02 don't use the npx registers to optimize bzero.
383# 0x04 don't use the npx registers to optimize copyin or copyout.
384# 0x08 use emulator even if hardware FPU is available.
385# The npx registers are normally used to optimize copying and zeroing when
386# all of the following conditions are satisfied:
387# I586_CPU is an option
388# the cpu is an i586 (perhaps not a Pentium)
389# the probe for npx0 succeeds
390# INT 16 exception handling works.
391# Then copying and zeroing using the npx registers is normally 30-100% faster.
392# The flags can be used to control cases where it doesn't work or is slower.
393# Setting them at boot time using userconfig works right (the optimizations
394# are not used until later in the bootstrap when npx0 is attached).
395# Flag 0x08 automatically disables the i586 optimized routines.
396#
397
398#
399# Optional devices:
400#
401
402# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create
403# the /dev/3dfx0 device to work with glide implementations. This should get
404# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as
405# the tdfx DRI module from XFree86 and is completely unrelated.
406#
407# To enable Linuxulator support, one must also include COMPAT_LINUX in the
408# config as well, or you will not have the dependencies. The other option
409# is to load both as modules.
410
411device tdfx # Enable 3Dfx Voodoo support
412options TDFX_LINUX # Enable Linuxulator support
413
414#
415# ACPI support using the Intel ACPI Component Architecture reference
416# implementation.
417#
418# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
419# kernel environment variables to select initial debugging levels for the
420# Intel ACPICA code. (Note that the Intel code must also have USE_DEBUGGER
421# defined when it is built).
422#
423# Note that building ACPI into the kernel is deprecated; the module is
424# normally loaded automatically by the loader.
425#
426device acpi
427options ACPI_DEBUG
428
429# DRM options:
430# mgadrm: AGP Matrox G200, G400, G450, G550
431# tdfxdrm: 3dfx Voodoo 3/4/5 and Banshee
432# r128drm: ATI Rage 128
433# radeondrm: ATI Radeon up to 9000/9100
434# DRM_DEBUG: include debug printfs, very slow
435#
436# mga requires AGP in the kernel, and it is recommended
437# for AGP r128 and radeon cards.
438
439device mgadrm
440device "r128drm"
441device radeondrm
442device tdfxdrm
443
444options DRM_DEBUG
445
446# M-systems DiskOnchip products see src/sys/contrib/dev/fla/README
447device fla
448hint.fla.0.at="isa"
449
450#
451# mse: Logitech and ATI InPort bus mouse ports
452
453device mse
454hint.mse.0.at="isa"
455hint.mse.0.port="0x23c"
456hint.mse.0.irq="5"
457
458#
459# Network interfaces:
460#
461
462# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver
463# (requires sppp)
464# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing)
465# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
466# HP PC Lan+, various PC Card devices (refer to etc/defauls/pccard.conf)
467# (requires miibus)
468# el: 3Com 3C501 (slow!)
469# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210;
470# Intel EtherExpress
471# le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100,
472# DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422)
473# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and
474# Am79C960)
475# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133
476# (no hints needed).
477# Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140,
478# OC-3141, OC-3540, OC-3250
479# rdp: RealTek RTL 8002-based pocket ethernet adapters
480# sbni: Granch SBNI12-xx ISA and PCI adapters
481# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp)
482# wl: Lucent Wavelan (ISA card only).
483
484# Order for ISA/EISA devices is important here
485
486device ar
487hint.ar.0.at="isa"
488hint.ar.0.port="0x300"
489hint.ar.0.irq="10"
490hint.ar.0.maddr="0xd0000"
491device cx 1
492hint.cx.0.at="isa"
493hint.cx.0.port="0x240"
494hint.cx.0.irq="15"
495hint.cx.0.drq="7"
496device ed
497#options ED_NO_MIIBUS # Disable ed miibus support
498hint.ed.0.at="isa"
499hint.ed.0.port="0x280"
500hint.ed.0.irq="5"
501hint.ed.0.maddr="0xd8000"
502device el 1
503hint.el.0.at="isa"
504hint.el.0.port="0x300"
505hint.el.0.irq="9"
506device ie # Hints only required for Starlan
507hint.ie.2.at="isa"
508hint.ie.2.port="0x300"
509hint.ie.2.irq="5"
510hint.ie.2.maddr="0xd0000"
511device le 1
512hint.le.0.at="isa"
513hint.le.0.port="0x300"
514hint.le.0.irq="5"
515hint.le.0.maddr="0xd0000"
516device lnc
517hint.lnc.0.at="isa"
518hint.lnc.0.port="0x280"
519hint.lnc.0.irq="10"
520hint.lnc.0.drq="0"
521device rdp 1
522hint.rdp.0.at="isa"
523hint.rdp.0.port="0x378"
524hint.rdp.0.irq="7"
525hint.rdp.0.flags="2"
526device sbni
527hint.sbni.0.at="isa"
528hint.sbni.0.port="0x210"
529hint.sbni.0.irq="0xefdead"
530hint.sbni.0.flags="0"
531device sr
532hint.sr.0.at="isa"
533hint.sr.0.port="0x300"
534hint.sr.0.irq="5"
535hint.sr.0.maddr="0xd0000"
536device oltr
537hint.oltr.0.at="isa"
538device wl
539hint.wl.0.at="isa"
540hint.wl.0.port="0x300"
541options WLCACHE # enables the signal-strength cache
542options WLDEBUG # enables verbose debugging output
543
544#
545# Audio drivers: `pca'
546#
547# pca: PCM audio through your PC speaker
548
549device pca
550hint.pca.0.at="isa"
551hint.pca.0.port="0x040"
552
553#
554# ATA raid adapters
555#
556device pst
557
558#
559# SCSI host adapters:
560#
561# ncv: NCR 53C500 based SCSI host adapters.
562# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
563# stg: TMC 18C30, 18C50 based SCSI host adapters.
564
565device ncv
566device nsp
567device stg
568hint.stg.0.at="isa"
569hint.stg.0.port="0x140"
570hint.stg.0.port="11"
571
572#
573# Adaptec FSA RAID controllers, including integrated DELL controllers,
574# the Dell PERC 2/QC and the HP NetRAID-4M
575device aac
576device aacp # SCSI Passthrough interface (optional, CAM required)
577
578#
579# IBM (now Adaptec) ServeRAID controllers
580device ips
581
582#
583# SafeNet crypto driver: can be moved to the MI NOTES as soon as
584# it's tested on a big-endian machine
585#
586device safe # SafeNet 1141
587options SAFE_DEBUG # enable debugging support: hw.safe.debug
588options SAFE_RNDTEST # enable rndtest support
589
590#####################################################################
591
592#
593# Miscellaneous hardware:
594#
595# wt: Wangtek and Archive QIC-02/QIC-36 tape drives
596# ctx: Cortex-I frame grabber
597# apm: Laptop Advanced Power Management (experimental)
598# pmtimer: Timer device driver for power management events (APM or ACPI)
599# spigot: The Creative Labs Video Spigot video-acquisition board
600# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!)
601# digi: Digiboard driver
602# gp: National Instruments AT-GPIB and AT-GPIB/TNT board, PCMCIA-GPIB
603# asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey
604# gsc: Genius GS-4500 hand scanner.
605# spic: Sony Programmable I/O controller (VAIO notebooks)
606# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based)
607# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent)
608
609# Notes on APM
610# The flags takes the following meaning for apm0:
611# 0x0020 Statclock is broken.
612# If apm is omitted, some systems require sysctl kern.timecounter.method=1
613# for correct timekeeping.
614
615# Notes on the spigot:
616# The video spigot is at 0xad6. This port address can not be changed.
617# The irq values may only be 10, 11, or 15
618# I/O memory is an 8kb region. Possible values are:
619# 0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff
620# The start address must be on an even boundary.
621# Add the following option if you want to allow non-root users to be able
622# to access the spigot. This option is not secure because it allows users
623# direct access to the I/O page.
624# options SPIGOT_UNSECURE
625
626# Notes on the Specialix SI/XIO driver:
627# The host card is memory, not IO mapped.
628# The Rev 1 host cards use a 64K chunk, on a 32K boundary.
629# The Rev 2 host cards use a 32K chunk, on a 32K boundary.
630# The cards can use an IRQ of 11, 12 or 15.
631
632# Notes on the Sony Programmable I/O controller
633# This is a temporary driver that should someday be replaced by something
634# that hooks into the ACPI layer. The device is hooked to the PIIX4's
635# General Device 10 decoder, which means you have to fiddle with PCI
636# registers to map it in, even though it is otherwise treated here as
637# an ISA device. At the moment, the driver polls, although the device
638# is capable of generating interrupts. It largely undocumented.
639# The port location in the hint is where you WANT the device to be
640# mapped. 0x10a0 seems to be traditional. At the moment the jogdial
641# is the only thing truly supported, but aparently a fair percentage
642# of the Vaio extra features are controlled by this device.
643
644# Notes on the Stallion stl and stli drivers:
645# See src/i386/isa/README.stl for complete instructions.
646# This is version 0.0.5alpha, unsupported by Stallion.
647# The stl driver has a secondary IO port hard coded at 0x280. You need
648# to change src/i386/isa/stallion.c if you reconfigure this on the boards.
649# The "flags" and "msize" settings on the stli driver depend on the board:
650# EasyConnection 8/64 ISA: flags 23 msize 0x1000
651# EasyConnection 8/64 EISA: flags 24 msize 0x10000
652# EasyConnection 8/64 MCA: flags 25 msize 0x1000
653# ONboard ISA: flags 4 msize 0x10000
654# ONboard EISA: flags 7 msize 0x10000
655# ONboard MCA: flags 3 msize 0x10000
656# Brumby: flags 2 msize 0x4000
657# Stallion: flags 1 msize 0x10000
658
659# Notes on the Digiboard PC/Xi and PC/Xe series driver
660#
661# The NDGBPORTS option specifies the number of ports controlled by the
662# dgb(4) driver. The default value is 16 ports per device.
663#
664# The following flag values have special meanings in dgb:
665# 0x01 - alternate layout of pins
666# 0x02 - use the windowed PC/Xe in 64K mode
667
668device wt 1
669hint.wt.0.at="isa"
670hint.wt.0.port="0x300"
671hint.wt.0.irq="5"
672hint.wt.0.drq="1"
673device ctx
674hint.ctx.0.at="isa"
675hint.ctx.0.port="0x230"
676hint.ctx.0.maddr="0xd0000"
677device spigot 1
678hint.spigot.0.at="isa"
679hint.spigot.0.port="0xad6"
680hint.spigot.0.irq="15"
681hint.spigot.0.maddr="0xee000"
682device apm
683hint.apm.0.flags="0x20"
684device pmtimer # Adjust system timer at wakeup time
685device gp
686hint.gp.0.at="isa"
687hint.gp.0.port="0x2c0"
688device gsc 1
689hint.gsc.0.at="isa"
690hint.gsc.0.port="0x270"
691hint.gsc.0.drq="3"
692device dgb 1
693options NDGBPORTS=17
694hint.dgb.0.at="isa"
695hint.dgb.0.port="0x220"
696hint.dgb.0.maddr="0xfc000"
697device digi
698hint.digi.0.at="isa"
699hint.digi.0.port="0x104"
700hint.digi.0.maddr="0xd0000"
701# BIOS & FEP/OS components of device digi.
702device digi_CX
703device digi_CX_PCI
704device digi_EPCX
705device digi_EPCX_PCI
706device digi_Xe
707device digi_Xem
708device digi_Xr
709device asc 1
710hint.asc.0.at="isa"
711hint.asc.0.port="0x3EB"
712hint.asc.0.drq="3"
713hint.asc.0.irq="10"
714device spic
715hint.spic.0.at="isa"
716hint.spic.0.port="0x10a0"
717device stl
718hint.stl.0.at="isa"
719hint.stl.0.port="0x2a0"
720hint.stl.0.irq="10"
721device stli
722hint.stli.0.at="isa"
723hint.stli.0.port="0x2a0"
724hint.stli.0.maddr="0xcc000"
725hint.stli.0.flags="23"
726hint.stli.0.msize="0x1000"
727# You are unlikely to have the hardware for loran <phk@FreeBSD.org>
728device loran
729hint.loran.0.at="isa"
730hint.loran.0.irq="5"
731# HOT1 Xilinx 6200 card (http://www.vcc.com/)
732device xrpu
733
734#
735# Laptop/Notebook options:
736#
737# See also:
738# apm under `Miscellaneous hardware'
739# above.
740
741# For older notebooks that signal a powerfail condition (external
742# power supply dropped, or battery state low) by issuing an NMI:
743
744options POWERFAIL_NMI # make it beep instead of panicing
745
746#
747# I2C Bus
748#
749# Philips i2c bus support is provided by the `iicbus' device.
750#
751# Supported interfaces:
752# pcf Philips PCF8584 ISA-bus controller
753#
754device pcf
755hint.pcf.0.at="isa"
756hint.pcf.0.port="0x320"
757hint.pcf.0.irq="5"
758
759#---------------------------------------------------------------------------
760# ISDN4BSD
761#
762# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
763#
764# i4b passive ISDN cards support contains the following hardware drivers:
765#
766# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
767# iwic - Winbond W6692 PCI bus ISDN S/T interface controller
768# ifpi - AVM Fritz!Card PCI driver
769# ifpi2 - AVM Fritz!Card PCI version 2 driver
770# ihfc - Cologne Chip HFC ISA/ISA-PnP chipset driver
771# ifpnp - AVM Fritz!Card PnP driver
772# itjc - Siemens ISAC / TJNet Tiger300/320 chipset
773#
774# i4b active ISDN cards support contains the following hardware drivers:
775#
776# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1
777#
778# Note that the ``options'' (if given) and ``device'' lines must BOTH
779# be uncommented to enable support for a given card !
780#
781# In addition to a hardware driver (and probably an option) the mandatory
782# ISDN protocol stack devices and the mandatory support device must be
783# enabled as well as one or more devices from the optional devices section.
784#
785#---------------------------------------------------------------------------
786# isic driver (Siemens/Infineon chipsets)
787#
788device isic
789#
790# ISA bus non-PnP Cards:
791# ----------------------
792#
793# Teles S0/8 or Niccy 1008
794options TEL_S0_8
795hint.isic.0.at="isa"
796hint.isic.0.maddr="0xd0000"
797hint.isic.0.irq="5"
798hint.isic.0.flags="1"
799#
800# Teles S0/16 or Creatix ISDN-S0 or Niccy 1016
801options TEL_S0_16
802hint.isic.0.at="isa"
803hint.isic.0.port="0xd80"
804hint.isic.0.maddr="0xd0000"
805hint.isic.0.irq="5"
806hint.isic.0.flags="2"
807#
808# Teles S0/16.3
809options TEL_S0_16_3
810hint.isic.0.at="isa"
811hint.isic.0.port="0xd80"
812hint.isic.0.irq="5"
813hint.isic.0.flags="3"
814#
815# AVM A1 or AVM Fritz!Card
816options AVM_A1
817hint.isic.0.at="isa"
818hint.isic.0.port="0x340"
819hint.isic.0.irq="5"
820hint.isic.0.flags="4"
821#
822# USRobotics Sportster ISDN TA intern
823options USR_STI
824hint.isic.0.at="isa"
825hint.isic.0.port="0x268"
826hint.isic.0.irq="5"
827hint.isic.0.flags="7"
828#
829# ITK ix1 Micro ( < V.3, non-PnP version )
830options ITKIX1
831hint.isic.0.at="isa"
832hint.isic.0.port="0x398"
833hint.isic.0.irq="10"
834hint.isic.0.flags="18"
835#
836# ELSA PCC-16
837options ELSA_PCC16
838hint.isic.0.at="isa"
839hint.isic.0.port="0x360"
840hint.isic.0.irq="10"
841hint.isic.0.flags="20"
842#
843# ISA bus PnP Cards:
844# ------------------
845#
846# Teles S0/16.3 PnP
847options TEL_S0_16_3_P
848#
849# Creatix ISDN-S0 P&P
850options CRTX_S0_P
851#
852# Dr. Neuhaus Niccy Go@
853options DRN_NGO
854#
855# Sedlbauer Win Speed
856options SEDLBAUER
857#
858# Dynalink IS64PH
859options DYNALINK
860#
861# ELSA QuickStep 1000pro ISA
862options ELSA_QS1ISA
863#
864# Siemens I-Surf 2.0
865options SIEMENS_ISURF2
866#
867# Asuscom ISDNlink 128K ISA
868options ASUSCOM_IPAC
869#
870# Eicon Diehl DIVA 2.0 and 2.02
871options EICON_DIVA
872#
873# Compaq Microcom 610 ISDN card (Compaq series PSB2222I)
874options COMPAQ_M610
875#
876# PCI bus Cards:
877# --------------
878#
879# Cyclades Cyclom-Y PCI serial driver
880device cy 1
881options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared
882hint.cy.0.at="isa"
883hint.cy.0.irq="10"
884hint.cy.0.maddr="0xd4000"
885hint.cy.0.msize="0x2000"
886#
887#---------------------------------------------------------------------------
888# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
889options ELSA_QS1PCI
890#
891#
892#---------------------------------------------------------------------------
893# ifpnp driver for AVM Fritz!Card PnP
894#
895# AVM Fritz!Card PnP
896device ifpnp
897#
898#---------------------------------------------------------------------------
899# ihfc driver for Cologne Chip ISA chipsets (experimental!)
900#
901# Teles 16.3c ISA PnP
902# AcerISDN P10 ISA PnP
903# TELEINT ISDN SPEED No.1
904device ihfc
905#
906#---------------------------------------------------------------------------
907# ifpi driver for AVM Fritz!Card PCI
908#
909# AVM Fritz!Card PCI
910device ifpi
911#
912#---------------------------------------------------------------------------
913# ifpi2 driver for AVM Fritz!Card PCI version 2
914#
915# AVM Fritz!Card PCI version 2
916device "ifpi2"
917#
918#---------------------------------------------------------------------------
919# iwic driver for Winbond W6692 chipset
920#
921# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
922device iwic
923#
924#---------------------------------------------------------------------------
925# itjc driver for Simens ISAC / TJNet Tiger300/320 chipset
926#
927# Traverse Technologies NETjet-S
928# Teles PCI-TJ
929device itjc
930#
931#---------------------------------------------------------------------------
932# iavc driver (AVM active cards, needs i4bcapi driver!)
933#
934device iavc
935#
936# AVM B1 ISA bus (PnP mode not supported!)
937# ----------------------------------------
938hint.iavc.0.at="isa"
939hint.iavc.0.port="0x150"
940hint.iavc.0.irq="5"
941#
942#---------------------------------------------------------------------------
943# ISDN Protocol Stack - mandatory for all hardware drivers
944#
945# Q.921 / layer 2 - i4b passive cards D channel handling
946device "i4bq921"
947#
948# Q.931 / layer 3 - i4b passive cards D channel handling
949device "i4bq931"
950#
951# layer 4 - i4b common passive and active card handling
952device "i4b"
953#
954#---------------------------------------------------------------------------
955# ISDN devices - mandatory for all hardware drivers
956#
957# userland driver to do ISDN tracing (for passive cards only)
958device "i4btrc" 4
959#
960# userland driver to control the whole thing
961device "i4bctl"
962#
963#---------------------------------------------------------------------------
964# ISDN devices - optional
965#
966# userland driver for access to raw B channel
967device "i4brbch" 4
968#
969# userland driver for telephony
970device "i4btel" 2
971#
972# network driver for IP over raw HDLC ISDN
973device "i4bipr" 4
974# enable VJ header compression detection for ipr i/f
975options IPR_VJ
976# enable logging of the first n IP packets to isdnd (n=32 here)
977options IPR_LOG=32
978#
979# network driver for sync PPP over ISDN; requires an equivalent
980# number of sppp device to be configured
981device "i4bisppp" 4
982#
983# B-channel interface to the netgraph subsystem
984device "i4bing" 2
985#
986# CAPI driver needed for active ISDN cards (see iavc driver above)
987device "i4bcapi"
988#
989#---------------------------------------------------------------------------
990
991#
992# Set the number of PV entries per process. Increasing this can
993# stop panics related to heavy use of shared memory. However, that can
994# (combined with large amounts of physical memory) cause panics at
995# boot time due the kernel running out of VM space.
996#
997# If you're tweaking this, you might also want to increase the sysctls
998# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
999#
1000# The value below is the one more than the default.
1001#
1002options PMAP_SHPGPERPROC=201
1003
1004#
1005# Change the size of the kernel virtual address space. Due to
1006# constraints in loader(8) on i386, this must be a multiple of 4.
1007# 256 = 1 GB of kernel address space. Increasing this also causes
1008# a reduction of the address space in user processes. 512 splits
1009# the 4GB cpu address space in half (2GB user, 2GB kernel).
1010#
1011options KVA_PAGES=260
1012
1013
1014#####################################################################
1015# ABI Emulation
1016
1017# Enable iBCS2 runtime support for SCO and ISC binaries
1018options IBCS2
1019
1020# Emulate spx device for client side of SVR3 local X interface
1021options SPX_HACK
1022
1023# Enable Linux ABI emulation
1024options COMPAT_LINUX
1025
1026# Enable i386 a.out binary support
1027options COMPAT_AOUT
1028
1029# Enable the linux-like proc filesystem support (requires COMPAT_LINUX
1030# and PSEUDOFS)
1031options LINPROCFS
1032
1033#
1034# SysVR4 ABI emulation
1035#
1036# The svr4 ABI emulator can be statically compiled into the kernel or loaded as
1037# a KLD module.
1038# The STREAMS network emulation code can also be compiled statically or as a
1039# module. If loaded as a module, it must be loaded before the svr4 module
1040# (the /usr/sbin/svr4 script does this for you). If compiling statically,
1041# the `streams' device must be configured into any kernel which also
1042# specifies COMPAT_SVR4. It is possible to have a statically-configured
1043# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4
1044# script understands that it doesn't need to load the `streams' module under
1045# those circumstances.
1046# Caveat: At this time, `options KTRACE' is required for the svr4 emulator
1047# (whether static or dynamic).
1048#
1049options COMPAT_SVR4 # build emulator statically
1050options DEBUG_SVR4 # enable verbose debugging
1051device streams # STREAMS network driver (required for svr4).
1052
1053
1054#####################################################################
1055# VM OPTIONS
1056
1057# Disable the 4 MByte page PSE CPU feature. The PSE feature allows the
1058# kernel to use a 4 MByte pages to map the kernel instead of 4k pages.
1059# This saves on the amount of memory needed for page tables needed to
1060# map the kernel. You should only disable this feature as a temporary
1061# workaround if you are having problems with it enabled.
1062#
1063#options DISABLE_PSE
1064
1065# Disable the global pages PGE CPU feature. The PGE feature allows pages
1066# to be marked with the PG_G bit. TLB entries for these pages are not
1067# flushed from the cache when %cr3 is reloaded. This can make context
1068# switches less expensive. You should only disable this feature as a
1069# temporary workaround if you are having problems with it enabled.
1070#
1071#options DISABLE_PG_G
1072
1073# KSTACK_PAGES is the number of memory pages to assign to the kernel
1074# stack of each thread.
1075
1076options KSTACK_PAGES=3
1077
1078#####################################################################
1079
1080# More undocumented options for linting.
1081# Note that documenting these are not considered an affront.
1082
1083options FB_INSTALL_CDEV # install a CDEV entry in /dev
1084
1085# PECOFF module (Win32 Execution Format)
1086options PECOFF_SUPPORT
1087options PECOFF_DEBUG
1088
1089options ENABLE_ALART
1090options I4B_SMP_WORKAROUND
1091options I586_PMC_GUPROF=0x70000
1092options KBDIO_DEBUG=2
1093options KBD_MAXRETRY=4
1094options KBD_MAXWAIT=6
1095options KBD_RESETDELAY=201
1096
1097options PSM_DEBUG=1
1098
1099options TIMER_FREQ=((14318182+6)/12)
1100
1101options VM_KMEM_SIZE
1102options VM_KMEM_SIZE_MAX
1103options VM_KMEM_SIZE_SCALE
189# Debug options
190options NPX_DEBUG # enable npx debugging (FPU/math emu)
191 #new math emulator
192
193#
194# PERFMON causes the driver for Pentium/Pentium Pro performance counters
195# to be compiled. See perfmon(4) for more information.
196#
197options PERFMON
198
199
200#####################################################################
201# NETWORKING OPTIONS
202
203#
204# DEVICE_POLLING adds support for mixed interrupt-polling handling
205# of network device drivers, which has significant benefits in terms
206# of robustness to overloads and responsivity, as well as permitting
207# accurate scheduling of the CPU time between kernel network processing
208# and other activities. The drawback is a moderate (up to 1/HZ seconds)
209# potential increase in response times.
210# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
211# to achieve smoother behaviour.
212# Additionally, you can enable/disable polling at runtime with the
213# sysctl variable kern.polling.enable (defaults off), and select
214# the CPU fraction reserved to userland with the sysctl variable
215# kern.polling.user_frac (default 50, range 0..100).
216#
217# Only the "dc" "fxp" and "sis" devices support this mode of operation at
218# the time of this writing.
219
220options DEVICE_POLLING
221
222
223#####################################################################
224# CLOCK OPTIONS
225
226# The following options are used for debugging clock behavior only, and
227# should not be used for production systems.
228#
229# CLK_CALIBRATION_LOOP will run the clock calibration loop at startup
230# until the user presses a key.
231
232options CLK_CALIBRATION_LOOP
233
234# The following two options measure the frequency of the corresponding
235# clock relative to the RTC (onboard mc146818a).
236
237options CLK_USE_I8254_CALIBRATION
238options CLK_USE_TSC_CALIBRATION
239
240
241#####################################################################
242# MISCELLANEOUS DEVICES AND OPTIONS
243
244device speaker #Play IBM BASIC-style noises out your speaker
245hint.speaker.0.at="isa"
246hint.speaker.0.port="0x61"
247device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT!
248device apm_saver # Requires APM
249
250
251#####################################################################
252# HARDWARE BUS CONFIGURATION
253
254#
255# ISA bus
256#
257device isa
258
259#
260# Options for `isa':
261#
262# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
263# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
264# This option breaks suspend/resume on some portables.
265#
266# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
267# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
268# Automatic EOI is documented not to work for for the slave with the
269# original i8259A, but it works for some clones and some integrated
270# versions.
271#
272# MAXMEM specifies the amount of RAM on the machine; if this is not
273# specified, FreeBSD will first read the amount of memory from the CMOS
274# RAM, so the amount of memory will initially be limited to 64MB or 16MB
275# depending on the BIOS. If the BIOS reports 64MB, a memory probe will
276# then attempt to detect the installed amount of RAM. If this probe
277# fails to detect >64MB RAM you will have to use the MAXMEM option.
278# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
279# be 131072 (128 * 1024).
280#
281# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
282# reset the CPU for reboot. This is needed on some systems with broken
283# keyboard controllers.
284
285options COMPAT_OLDISA #Use ISA shims and glue for old drivers
286options AUTO_EOI_1
287#options AUTO_EOI_2
288
289options MAXMEM=(128*1024)
290#options BROKEN_KEYBOARD_RESET
291
292#
293# EISA bus
294#
295# The EISA bus device is `eisa'. It provides auto-detection and
296# configuration support for all devices on the EISA bus.
297
298device eisa
299
300# By default, only 10 EISA slots are probed, since the slot numbers
301# above clash with the configuration address space of the PCI subsystem,
302# and the EISA probe is not very smart about this. This is sufficient
303# for most machines, but in particular the HP NetServer LC series comes
304# with an onboard AIC7770 dual-channel SCSI controller on EISA slot #11,
305# thus you need to bump this figure to 12 for them.
306options EISA_SLOTS=12
307
308#
309# MCA bus:
310#
311# The MCA bus device is `mca'. It provides auto-detection and
312# configuration support for all devices on the MCA bus.
313# No hints are required for MCA.
314
315device mca
316
317#
318# PCI bus & PCI options:
319#
320device pci
321
322#
323# AGP GART support
324device agp
325
326
327#####################################################################
328# HARDWARE DEVICE CONFIGURATION
329
330#
331# Mandatory devices:
332#
333
334# To include support for VGA VESA video modes
335options VESA
336
337# Turn on extra debugging checks and output for VESA support.
338options VESA_DEBUG
339
340# The pcvt console driver (vt220 compatible).
341device vt
342hint.vt.0.at="isa"
343options XSERVER # support for running an X server on vt
344options FAT_CURSOR # start with block cursor
345# This PCVT option is for keyboards such as those used on really old ThinkPads
346options PCVT_SCANSET=2
347# Other PCVT options are documented in pcvt(4).
348options PCVT_24LINESDEF
349options PCVT_CTRL_ALT_DEL
350options PCVT_META_ESC
351options PCVT_NSCREENS=9
352options PCVT_PRETTYSCRNS
353options PCVT_SCREENSAVER
354options PCVT_USEKBDSEC
355options PCVT_VT220KEYB
356options PCVT_GREENSAVER
357
358#
359# The Numeric Processing eXtension driver. In addition to this, you
360# may configure a math emulator (see above). If your machine has a
361# hardware FPU and the kernel configuration includes the npx device
362# *and* a math emulator compiled into the kernel, the hardware FPU
363# will be used, unless it is found to be broken or unless "flags" to
364# npx0 includes "0x08", which requests preference for the emulator.
365device npx
366hint.npx.0.flags="0x0"
367hint.npx.0.irq="13"
368
369#
370# `flags' for npx0:
371# 0x01 don't use the npx registers to optimize bcopy.
372# 0x02 don't use the npx registers to optimize bzero.
373# 0x04 don't use the npx registers to optimize copyin or copyout.
374# 0x08 use emulator even if hardware FPU is available.
375# The npx registers are normally used to optimize copying and zeroing when
376# all of the following conditions are satisfied:
377# I586_CPU is an option
378# the cpu is an i586 (perhaps not a Pentium)
379# the probe for npx0 succeeds
380# INT 16 exception handling works.
381# Then copying and zeroing using the npx registers is normally 30-100% faster.
382# The flags can be used to control cases where it doesn't work or is slower.
383# Setting them at boot time using userconfig works right (the optimizations
384# are not used until later in the bootstrap when npx0 is attached).
385# Flag 0x08 automatically disables the i586 optimized routines.
386#
387
388#
389# Optional devices:
390#
391
392# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create
393# the /dev/3dfx0 device to work with glide implementations. This should get
394# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as
395# the tdfx DRI module from XFree86 and is completely unrelated.
396#
397# To enable Linuxulator support, one must also include COMPAT_LINUX in the
398# config as well, or you will not have the dependencies. The other option
399# is to load both as modules.
400
401device tdfx # Enable 3Dfx Voodoo support
402options TDFX_LINUX # Enable Linuxulator support
403
404#
405# ACPI support using the Intel ACPI Component Architecture reference
406# implementation.
407#
408# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
409# kernel environment variables to select initial debugging levels for the
410# Intel ACPICA code. (Note that the Intel code must also have USE_DEBUGGER
411# defined when it is built).
412#
413# Note that building ACPI into the kernel is deprecated; the module is
414# normally loaded automatically by the loader.
415#
416device acpi
417options ACPI_DEBUG
418
419# DRM options:
420# mgadrm: AGP Matrox G200, G400, G450, G550
421# tdfxdrm: 3dfx Voodoo 3/4/5 and Banshee
422# r128drm: ATI Rage 128
423# radeondrm: ATI Radeon up to 9000/9100
424# DRM_DEBUG: include debug printfs, very slow
425#
426# mga requires AGP in the kernel, and it is recommended
427# for AGP r128 and radeon cards.
428
429device mgadrm
430device "r128drm"
431device radeondrm
432device tdfxdrm
433
434options DRM_DEBUG
435
436# M-systems DiskOnchip products see src/sys/contrib/dev/fla/README
437device fla
438hint.fla.0.at="isa"
439
440#
441# mse: Logitech and ATI InPort bus mouse ports
442
443device mse
444hint.mse.0.at="isa"
445hint.mse.0.port="0x23c"
446hint.mse.0.irq="5"
447
448#
449# Network interfaces:
450#
451
452# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver
453# (requires sppp)
454# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing)
455# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
456# HP PC Lan+, various PC Card devices (refer to etc/defauls/pccard.conf)
457# (requires miibus)
458# el: 3Com 3C501 (slow!)
459# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210;
460# Intel EtherExpress
461# le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100,
462# DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422)
463# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and
464# Am79C960)
465# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133
466# (no hints needed).
467# Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140,
468# OC-3141, OC-3540, OC-3250
469# rdp: RealTek RTL 8002-based pocket ethernet adapters
470# sbni: Granch SBNI12-xx ISA and PCI adapters
471# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp)
472# wl: Lucent Wavelan (ISA card only).
473
474# Order for ISA/EISA devices is important here
475
476device ar
477hint.ar.0.at="isa"
478hint.ar.0.port="0x300"
479hint.ar.0.irq="10"
480hint.ar.0.maddr="0xd0000"
481device cx 1
482hint.cx.0.at="isa"
483hint.cx.0.port="0x240"
484hint.cx.0.irq="15"
485hint.cx.0.drq="7"
486device ed
487#options ED_NO_MIIBUS # Disable ed miibus support
488hint.ed.0.at="isa"
489hint.ed.0.port="0x280"
490hint.ed.0.irq="5"
491hint.ed.0.maddr="0xd8000"
492device el 1
493hint.el.0.at="isa"
494hint.el.0.port="0x300"
495hint.el.0.irq="9"
496device ie # Hints only required for Starlan
497hint.ie.2.at="isa"
498hint.ie.2.port="0x300"
499hint.ie.2.irq="5"
500hint.ie.2.maddr="0xd0000"
501device le 1
502hint.le.0.at="isa"
503hint.le.0.port="0x300"
504hint.le.0.irq="5"
505hint.le.0.maddr="0xd0000"
506device lnc
507hint.lnc.0.at="isa"
508hint.lnc.0.port="0x280"
509hint.lnc.0.irq="10"
510hint.lnc.0.drq="0"
511device rdp 1
512hint.rdp.0.at="isa"
513hint.rdp.0.port="0x378"
514hint.rdp.0.irq="7"
515hint.rdp.0.flags="2"
516device sbni
517hint.sbni.0.at="isa"
518hint.sbni.0.port="0x210"
519hint.sbni.0.irq="0xefdead"
520hint.sbni.0.flags="0"
521device sr
522hint.sr.0.at="isa"
523hint.sr.0.port="0x300"
524hint.sr.0.irq="5"
525hint.sr.0.maddr="0xd0000"
526device oltr
527hint.oltr.0.at="isa"
528device wl
529hint.wl.0.at="isa"
530hint.wl.0.port="0x300"
531options WLCACHE # enables the signal-strength cache
532options WLDEBUG # enables verbose debugging output
533
534#
535# Audio drivers: `pca'
536#
537# pca: PCM audio through your PC speaker
538
539device pca
540hint.pca.0.at="isa"
541hint.pca.0.port="0x040"
542
543#
544# ATA raid adapters
545#
546device pst
547
548#
549# SCSI host adapters:
550#
551# ncv: NCR 53C500 based SCSI host adapters.
552# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
553# stg: TMC 18C30, 18C50 based SCSI host adapters.
554
555device ncv
556device nsp
557device stg
558hint.stg.0.at="isa"
559hint.stg.0.port="0x140"
560hint.stg.0.port="11"
561
562#
563# Adaptec FSA RAID controllers, including integrated DELL controllers,
564# the Dell PERC 2/QC and the HP NetRAID-4M
565device aac
566device aacp # SCSI Passthrough interface (optional, CAM required)
567
568#
569# IBM (now Adaptec) ServeRAID controllers
570device ips
571
572#
573# SafeNet crypto driver: can be moved to the MI NOTES as soon as
574# it's tested on a big-endian machine
575#
576device safe # SafeNet 1141
577options SAFE_DEBUG # enable debugging support: hw.safe.debug
578options SAFE_RNDTEST # enable rndtest support
579
580#####################################################################
581
582#
583# Miscellaneous hardware:
584#
585# wt: Wangtek and Archive QIC-02/QIC-36 tape drives
586# ctx: Cortex-I frame grabber
587# apm: Laptop Advanced Power Management (experimental)
588# pmtimer: Timer device driver for power management events (APM or ACPI)
589# spigot: The Creative Labs Video Spigot video-acquisition board
590# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!)
591# digi: Digiboard driver
592# gp: National Instruments AT-GPIB and AT-GPIB/TNT board, PCMCIA-GPIB
593# asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey
594# gsc: Genius GS-4500 hand scanner.
595# spic: Sony Programmable I/O controller (VAIO notebooks)
596# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based)
597# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent)
598
599# Notes on APM
600# The flags takes the following meaning for apm0:
601# 0x0020 Statclock is broken.
602# If apm is omitted, some systems require sysctl kern.timecounter.method=1
603# for correct timekeeping.
604
605# Notes on the spigot:
606# The video spigot is at 0xad6. This port address can not be changed.
607# The irq values may only be 10, 11, or 15
608# I/O memory is an 8kb region. Possible values are:
609# 0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff
610# The start address must be on an even boundary.
611# Add the following option if you want to allow non-root users to be able
612# to access the spigot. This option is not secure because it allows users
613# direct access to the I/O page.
614# options SPIGOT_UNSECURE
615
616# Notes on the Specialix SI/XIO driver:
617# The host card is memory, not IO mapped.
618# The Rev 1 host cards use a 64K chunk, on a 32K boundary.
619# The Rev 2 host cards use a 32K chunk, on a 32K boundary.
620# The cards can use an IRQ of 11, 12 or 15.
621
622# Notes on the Sony Programmable I/O controller
623# This is a temporary driver that should someday be replaced by something
624# that hooks into the ACPI layer. The device is hooked to the PIIX4's
625# General Device 10 decoder, which means you have to fiddle with PCI
626# registers to map it in, even though it is otherwise treated here as
627# an ISA device. At the moment, the driver polls, although the device
628# is capable of generating interrupts. It largely undocumented.
629# The port location in the hint is where you WANT the device to be
630# mapped. 0x10a0 seems to be traditional. At the moment the jogdial
631# is the only thing truly supported, but aparently a fair percentage
632# of the Vaio extra features are controlled by this device.
633
634# Notes on the Stallion stl and stli drivers:
635# See src/i386/isa/README.stl for complete instructions.
636# This is version 0.0.5alpha, unsupported by Stallion.
637# The stl driver has a secondary IO port hard coded at 0x280. You need
638# to change src/i386/isa/stallion.c if you reconfigure this on the boards.
639# The "flags" and "msize" settings on the stli driver depend on the board:
640# EasyConnection 8/64 ISA: flags 23 msize 0x1000
641# EasyConnection 8/64 EISA: flags 24 msize 0x10000
642# EasyConnection 8/64 MCA: flags 25 msize 0x1000
643# ONboard ISA: flags 4 msize 0x10000
644# ONboard EISA: flags 7 msize 0x10000
645# ONboard MCA: flags 3 msize 0x10000
646# Brumby: flags 2 msize 0x4000
647# Stallion: flags 1 msize 0x10000
648
649# Notes on the Digiboard PC/Xi and PC/Xe series driver
650#
651# The NDGBPORTS option specifies the number of ports controlled by the
652# dgb(4) driver. The default value is 16 ports per device.
653#
654# The following flag values have special meanings in dgb:
655# 0x01 - alternate layout of pins
656# 0x02 - use the windowed PC/Xe in 64K mode
657
658device wt 1
659hint.wt.0.at="isa"
660hint.wt.0.port="0x300"
661hint.wt.0.irq="5"
662hint.wt.0.drq="1"
663device ctx
664hint.ctx.0.at="isa"
665hint.ctx.0.port="0x230"
666hint.ctx.0.maddr="0xd0000"
667device spigot 1
668hint.spigot.0.at="isa"
669hint.spigot.0.port="0xad6"
670hint.spigot.0.irq="15"
671hint.spigot.0.maddr="0xee000"
672device apm
673hint.apm.0.flags="0x20"
674device pmtimer # Adjust system timer at wakeup time
675device gp
676hint.gp.0.at="isa"
677hint.gp.0.port="0x2c0"
678device gsc 1
679hint.gsc.0.at="isa"
680hint.gsc.0.port="0x270"
681hint.gsc.0.drq="3"
682device dgb 1
683options NDGBPORTS=17
684hint.dgb.0.at="isa"
685hint.dgb.0.port="0x220"
686hint.dgb.0.maddr="0xfc000"
687device digi
688hint.digi.0.at="isa"
689hint.digi.0.port="0x104"
690hint.digi.0.maddr="0xd0000"
691# BIOS & FEP/OS components of device digi.
692device digi_CX
693device digi_CX_PCI
694device digi_EPCX
695device digi_EPCX_PCI
696device digi_Xe
697device digi_Xem
698device digi_Xr
699device asc 1
700hint.asc.0.at="isa"
701hint.asc.0.port="0x3EB"
702hint.asc.0.drq="3"
703hint.asc.0.irq="10"
704device spic
705hint.spic.0.at="isa"
706hint.spic.0.port="0x10a0"
707device stl
708hint.stl.0.at="isa"
709hint.stl.0.port="0x2a0"
710hint.stl.0.irq="10"
711device stli
712hint.stli.0.at="isa"
713hint.stli.0.port="0x2a0"
714hint.stli.0.maddr="0xcc000"
715hint.stli.0.flags="23"
716hint.stli.0.msize="0x1000"
717# You are unlikely to have the hardware for loran <phk@FreeBSD.org>
718device loran
719hint.loran.0.at="isa"
720hint.loran.0.irq="5"
721# HOT1 Xilinx 6200 card (http://www.vcc.com/)
722device xrpu
723
724#
725# Laptop/Notebook options:
726#
727# See also:
728# apm under `Miscellaneous hardware'
729# above.
730
731# For older notebooks that signal a powerfail condition (external
732# power supply dropped, or battery state low) by issuing an NMI:
733
734options POWERFAIL_NMI # make it beep instead of panicing
735
736#
737# I2C Bus
738#
739# Philips i2c bus support is provided by the `iicbus' device.
740#
741# Supported interfaces:
742# pcf Philips PCF8584 ISA-bus controller
743#
744device pcf
745hint.pcf.0.at="isa"
746hint.pcf.0.port="0x320"
747hint.pcf.0.irq="5"
748
749#---------------------------------------------------------------------------
750# ISDN4BSD
751#
752# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
753#
754# i4b passive ISDN cards support contains the following hardware drivers:
755#
756# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
757# iwic - Winbond W6692 PCI bus ISDN S/T interface controller
758# ifpi - AVM Fritz!Card PCI driver
759# ifpi2 - AVM Fritz!Card PCI version 2 driver
760# ihfc - Cologne Chip HFC ISA/ISA-PnP chipset driver
761# ifpnp - AVM Fritz!Card PnP driver
762# itjc - Siemens ISAC / TJNet Tiger300/320 chipset
763#
764# i4b active ISDN cards support contains the following hardware drivers:
765#
766# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1
767#
768# Note that the ``options'' (if given) and ``device'' lines must BOTH
769# be uncommented to enable support for a given card !
770#
771# In addition to a hardware driver (and probably an option) the mandatory
772# ISDN protocol stack devices and the mandatory support device must be
773# enabled as well as one or more devices from the optional devices section.
774#
775#---------------------------------------------------------------------------
776# isic driver (Siemens/Infineon chipsets)
777#
778device isic
779#
780# ISA bus non-PnP Cards:
781# ----------------------
782#
783# Teles S0/8 or Niccy 1008
784options TEL_S0_8
785hint.isic.0.at="isa"
786hint.isic.0.maddr="0xd0000"
787hint.isic.0.irq="5"
788hint.isic.0.flags="1"
789#
790# Teles S0/16 or Creatix ISDN-S0 or Niccy 1016
791options TEL_S0_16
792hint.isic.0.at="isa"
793hint.isic.0.port="0xd80"
794hint.isic.0.maddr="0xd0000"
795hint.isic.0.irq="5"
796hint.isic.0.flags="2"
797#
798# Teles S0/16.3
799options TEL_S0_16_3
800hint.isic.0.at="isa"
801hint.isic.0.port="0xd80"
802hint.isic.0.irq="5"
803hint.isic.0.flags="3"
804#
805# AVM A1 or AVM Fritz!Card
806options AVM_A1
807hint.isic.0.at="isa"
808hint.isic.0.port="0x340"
809hint.isic.0.irq="5"
810hint.isic.0.flags="4"
811#
812# USRobotics Sportster ISDN TA intern
813options USR_STI
814hint.isic.0.at="isa"
815hint.isic.0.port="0x268"
816hint.isic.0.irq="5"
817hint.isic.0.flags="7"
818#
819# ITK ix1 Micro ( < V.3, non-PnP version )
820options ITKIX1
821hint.isic.0.at="isa"
822hint.isic.0.port="0x398"
823hint.isic.0.irq="10"
824hint.isic.0.flags="18"
825#
826# ELSA PCC-16
827options ELSA_PCC16
828hint.isic.0.at="isa"
829hint.isic.0.port="0x360"
830hint.isic.0.irq="10"
831hint.isic.0.flags="20"
832#
833# ISA bus PnP Cards:
834# ------------------
835#
836# Teles S0/16.3 PnP
837options TEL_S0_16_3_P
838#
839# Creatix ISDN-S0 P&P
840options CRTX_S0_P
841#
842# Dr. Neuhaus Niccy Go@
843options DRN_NGO
844#
845# Sedlbauer Win Speed
846options SEDLBAUER
847#
848# Dynalink IS64PH
849options DYNALINK
850#
851# ELSA QuickStep 1000pro ISA
852options ELSA_QS1ISA
853#
854# Siemens I-Surf 2.0
855options SIEMENS_ISURF2
856#
857# Asuscom ISDNlink 128K ISA
858options ASUSCOM_IPAC
859#
860# Eicon Diehl DIVA 2.0 and 2.02
861options EICON_DIVA
862#
863# Compaq Microcom 610 ISDN card (Compaq series PSB2222I)
864options COMPAQ_M610
865#
866# PCI bus Cards:
867# --------------
868#
869# Cyclades Cyclom-Y PCI serial driver
870device cy 1
871options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared
872hint.cy.0.at="isa"
873hint.cy.0.irq="10"
874hint.cy.0.maddr="0xd4000"
875hint.cy.0.msize="0x2000"
876#
877#---------------------------------------------------------------------------
878# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
879options ELSA_QS1PCI
880#
881#
882#---------------------------------------------------------------------------
883# ifpnp driver for AVM Fritz!Card PnP
884#
885# AVM Fritz!Card PnP
886device ifpnp
887#
888#---------------------------------------------------------------------------
889# ihfc driver for Cologne Chip ISA chipsets (experimental!)
890#
891# Teles 16.3c ISA PnP
892# AcerISDN P10 ISA PnP
893# TELEINT ISDN SPEED No.1
894device ihfc
895#
896#---------------------------------------------------------------------------
897# ifpi driver for AVM Fritz!Card PCI
898#
899# AVM Fritz!Card PCI
900device ifpi
901#
902#---------------------------------------------------------------------------
903# ifpi2 driver for AVM Fritz!Card PCI version 2
904#
905# AVM Fritz!Card PCI version 2
906device "ifpi2"
907#
908#---------------------------------------------------------------------------
909# iwic driver for Winbond W6692 chipset
910#
911# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
912device iwic
913#
914#---------------------------------------------------------------------------
915# itjc driver for Simens ISAC / TJNet Tiger300/320 chipset
916#
917# Traverse Technologies NETjet-S
918# Teles PCI-TJ
919device itjc
920#
921#---------------------------------------------------------------------------
922# iavc driver (AVM active cards, needs i4bcapi driver!)
923#
924device iavc
925#
926# AVM B1 ISA bus (PnP mode not supported!)
927# ----------------------------------------
928hint.iavc.0.at="isa"
929hint.iavc.0.port="0x150"
930hint.iavc.0.irq="5"
931#
932#---------------------------------------------------------------------------
933# ISDN Protocol Stack - mandatory for all hardware drivers
934#
935# Q.921 / layer 2 - i4b passive cards D channel handling
936device "i4bq921"
937#
938# Q.931 / layer 3 - i4b passive cards D channel handling
939device "i4bq931"
940#
941# layer 4 - i4b common passive and active card handling
942device "i4b"
943#
944#---------------------------------------------------------------------------
945# ISDN devices - mandatory for all hardware drivers
946#
947# userland driver to do ISDN tracing (for passive cards only)
948device "i4btrc" 4
949#
950# userland driver to control the whole thing
951device "i4bctl"
952#
953#---------------------------------------------------------------------------
954# ISDN devices - optional
955#
956# userland driver for access to raw B channel
957device "i4brbch" 4
958#
959# userland driver for telephony
960device "i4btel" 2
961#
962# network driver for IP over raw HDLC ISDN
963device "i4bipr" 4
964# enable VJ header compression detection for ipr i/f
965options IPR_VJ
966# enable logging of the first n IP packets to isdnd (n=32 here)
967options IPR_LOG=32
968#
969# network driver for sync PPP over ISDN; requires an equivalent
970# number of sppp device to be configured
971device "i4bisppp" 4
972#
973# B-channel interface to the netgraph subsystem
974device "i4bing" 2
975#
976# CAPI driver needed for active ISDN cards (see iavc driver above)
977device "i4bcapi"
978#
979#---------------------------------------------------------------------------
980
981#
982# Set the number of PV entries per process. Increasing this can
983# stop panics related to heavy use of shared memory. However, that can
984# (combined with large amounts of physical memory) cause panics at
985# boot time due the kernel running out of VM space.
986#
987# If you're tweaking this, you might also want to increase the sysctls
988# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
989#
990# The value below is the one more than the default.
991#
992options PMAP_SHPGPERPROC=201
993
994#
995# Change the size of the kernel virtual address space. Due to
996# constraints in loader(8) on i386, this must be a multiple of 4.
997# 256 = 1 GB of kernel address space. Increasing this also causes
998# a reduction of the address space in user processes. 512 splits
999# the 4GB cpu address space in half (2GB user, 2GB kernel).
1000#
1001options KVA_PAGES=260
1002
1003
1004#####################################################################
1005# ABI Emulation
1006
1007# Enable iBCS2 runtime support for SCO and ISC binaries
1008options IBCS2
1009
1010# Emulate spx device for client side of SVR3 local X interface
1011options SPX_HACK
1012
1013# Enable Linux ABI emulation
1014options COMPAT_LINUX
1015
1016# Enable i386 a.out binary support
1017options COMPAT_AOUT
1018
1019# Enable the linux-like proc filesystem support (requires COMPAT_LINUX
1020# and PSEUDOFS)
1021options LINPROCFS
1022
1023#
1024# SysVR4 ABI emulation
1025#
1026# The svr4 ABI emulator can be statically compiled into the kernel or loaded as
1027# a KLD module.
1028# The STREAMS network emulation code can also be compiled statically or as a
1029# module. If loaded as a module, it must be loaded before the svr4 module
1030# (the /usr/sbin/svr4 script does this for you). If compiling statically,
1031# the `streams' device must be configured into any kernel which also
1032# specifies COMPAT_SVR4. It is possible to have a statically-configured
1033# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4
1034# script understands that it doesn't need to load the `streams' module under
1035# those circumstances.
1036# Caveat: At this time, `options KTRACE' is required for the svr4 emulator
1037# (whether static or dynamic).
1038#
1039options COMPAT_SVR4 # build emulator statically
1040options DEBUG_SVR4 # enable verbose debugging
1041device streams # STREAMS network driver (required for svr4).
1042
1043
1044#####################################################################
1045# VM OPTIONS
1046
1047# Disable the 4 MByte page PSE CPU feature. The PSE feature allows the
1048# kernel to use a 4 MByte pages to map the kernel instead of 4k pages.
1049# This saves on the amount of memory needed for page tables needed to
1050# map the kernel. You should only disable this feature as a temporary
1051# workaround if you are having problems with it enabled.
1052#
1053#options DISABLE_PSE
1054
1055# Disable the global pages PGE CPU feature. The PGE feature allows pages
1056# to be marked with the PG_G bit. TLB entries for these pages are not
1057# flushed from the cache when %cr3 is reloaded. This can make context
1058# switches less expensive. You should only disable this feature as a
1059# temporary workaround if you are having problems with it enabled.
1060#
1061#options DISABLE_PG_G
1062
1063# KSTACK_PAGES is the number of memory pages to assign to the kernel
1064# stack of each thread.
1065
1066options KSTACK_PAGES=3
1067
1068#####################################################################
1069
1070# More undocumented options for linting.
1071# Note that documenting these are not considered an affront.
1072
1073options FB_INSTALL_CDEV # install a CDEV entry in /dev
1074
1075# PECOFF module (Win32 Execution Format)
1076options PECOFF_SUPPORT
1077options PECOFF_DEBUG
1078
1079options ENABLE_ALART
1080options I4B_SMP_WORKAROUND
1081options I586_PMC_GUPROF=0x70000
1082options KBDIO_DEBUG=2
1083options KBD_MAXRETRY=4
1084options KBD_MAXWAIT=6
1085options KBD_RESETDELAY=201
1086
1087options PSM_DEBUG=1
1088
1089options TIMER_FREQ=((14318182+6)/12)
1090
1091options VM_KMEM_SIZE
1092options VM_KMEM_SIZE_MAX
1093options VM_KMEM_SIZE_SCALE