Deleted Added
full compact
NOTES (137784) NOTES (140371)
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/pc98/conf/NOTES 137784 2004-11-16 20:42:32Z jhb $
7# $FreeBSD: head/sys/pc98/conf/NOTES 140371 2005-01-17 08:36:46Z ru $
8#
9
10#
11# This directive is mandatory; it defines the architecture to be
12# configured for; in this case, the 386 family based PC-98 and
13# compatibles.
14#
15machine pc98
16options PC98
17
18#
19# We want LINT to cover profiling as well.
20profile 2
21
22
23#####################################################################
24# SMP OPTIONS:
25#
26# The apic device enables the use of the I/O APIC for interrupt delivery.
27# The apic device can be used in both UP and SMP kernels, but is required
28# for SMP kernels. Thus, the apic device is not strictly an SMP option,
29# but it is a prerequisite for SMP.
30#
31# Notes:
32#
33# By default, mixed mode is used to route IRQ0 from the AT timer via
34# the 8259A master PIC through the ExtINT pin on the first I/O APIC.
35# This can be disabled via the NO_MIXED_MODE option. In that case,
36# IRQ0 will be routed via an intpin on the first I/O APIC. Not all
37# motherboards hook IRQ0 up to the first I/O APIC even though their
38# MP table or MADT may claim to do so. That is why mixed mode is
39# enabled by default.
40#
41
42# Mandatory:
43device apic # I/O apic
44
45# Optional:
46options NO_MIXED_MODE # Disable use of mixed mode
47
48
49#####################################################################
50# CPU OPTIONS
51
52#
53# You must specify at least one CPU (the one you intend to run on);
54# deleting the specification for CPUs you don't need to use may make
55# parts of the system run faster.
56#
57cpu I486_CPU
58cpu I586_CPU # aka Pentium(tm)
59cpu I686_CPU # aka Pentium Pro(tm)
60
61#
62# Options for CPU features.
63#
64# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning
65# CPU if CPU supports it. The default is double-clock mode on
66# BlueLightning CPU box.
67#
68# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM
69# BlueLightning CPU. It works only with Cyrix FPU, and this option
70# should not be used with Intel FPU.
71#
72# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1).
73#
74# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space
75# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1.
76# Otherwise, the NO_LOCK bit of CCR1 is cleared. (NOTE 3)
77#
78# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct
79# mapped mode. Default is 2-way set associative mode.
80#
81# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e., enables
82# reorder). This option should not be used if you use memory mapped
83# I/O device(s).
84#
85# CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32
86# machines. VmWare 3.x seems to emulate this instruction poorly, causing
87# the guest OS to run very slowly. This problem appears to be fixed in
88# VmWare 4.x, at least in version 4.5.2, so that enabling this option with
89# VmWare 4.x will result in locking operations to be 20-30 times slower.
90# Enabling this with an SMP kernel will cause the kernel to be unusable.
91#
92# CPU_DISABLE_SSE explicitly prevents I686_CPU from turning on SSE.
93#
94# CPU_ENABLE_SSE enables SSE/MMX2 instructions support. This is default
95# on I686_CPU and above.
96#
97# CPU_FASTER_5X86_FPU enables faster FPU exception handler.
98#
99# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products
100# for i386 machines.
101#
102# CPU_IORT defines I/O clock delay time (NOTE 1). Default values of
103# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively
104# (no clock delay).
105#
106# CPU_L2_LATENCY specifies the L2 cache latency value. This option is used
107# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected.
108# The default value is 5.
109#
110# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination
111# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE
112# 1).
113#
114# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs. This option
115# is useful when you use Socket 8 to Socket 370 converter, because most Pentium
116# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs.
117#
118# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1).
119#
120# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU
121# enters suspend mode following execution of HALT instruction.
122#
123# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s).
124#
125# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD
126# K5/K6/K6-2 CPUs.
127#
128# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache
129# flush at hold state.
130#
131# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs
132# without cache flush at hold state, and (2) write-back CPU cache on
133# Cyrix 6x86 whose revision < 2.7 (NOTE 2).
134#
135# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY
136# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is
137# executed. This option is only needed if I586_CPU is also defined,
138# and should be included for any non-Pentium CPU that defines it.
139#
140# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors
141# which indicates that the 15-16MB range is *definitely* not being
142# occupied by an ISA memory hole.
143#
144# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT,
145# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs.
146# These options may crash your system.
147#
148# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled
149# in write-through mode when revision < 2.7. If revision of Cyrix
150# 6x86 >= 2.7, CPU cache is always enabled in write-back mode.
151#
152# NOTE 3: This option may cause failures for software that requires
153# locked cycles in order to operate correctly.
154#
155options CPU_BLUELIGHTNING_3X
156options CPU_BLUELIGHTNING_FPU_OP_CACHE
157options CPU_BTB_EN
158options CPU_DIRECT_MAPPED_CACHE
159options CPU_DISABLE_5X86_LSSER
160options CPU_DISABLE_CMPXCHG
161#options CPU_DISABLE_SSE
162options CPU_ENABLE_SSE
163options CPU_FASTER_5X86_FPU
164options CPU_I486_ON_386
165options CPU_IORT
166options CPU_L2_LATENCY=5
167options CPU_LOOP_EN
168options CPU_PPRO2CELERON
169options CPU_RSTK_EN
170options CPU_SUSP_HLT
171options CPU_UPGRADE_HW_CACHE
172options CPU_WT_ALLOC
173options CYRIX_CACHE_WORKS
174options CYRIX_CACHE_REALLY_WORKS
175#options NO_F00F_HACK
176
177# Debug options
178options NPX_DEBUG # enable npx debugging
179
180#
181# PERFMON causes the driver for Pentium/Pentium Pro performance counters
182# to be compiled. See perfmon(4) for more information.
183#
184options PERFMON
185
186
187#####################################################################
188# NETWORKING OPTIONS
189
190#
191# DEVICE_POLLING adds support for mixed interrupt-polling handling
192# of network device drivers, which has significant benefits in terms
193# of robustness to overloads and responsivity, as well as permitting
194# accurate scheduling of the CPU time between kernel network processing
195# and other activities. The drawback is a moderate (up to 1/HZ seconds)
196# potential increase in response times.
197# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
198# to achieve smoother behaviour.
199# Additionally, you can enable/disable polling at runtime with the
200# sysctl variable kern.polling.enable (defaults off), and select
201# the CPU fraction reserved to userland with the sysctl variable
202# kern.polling.user_frac (default 50, range 0..100).
203#
204# Not all device drivers support this mode of operation at the time of
205# this writing. See polling(4) for more details.
206
207options DEVICE_POLLING
208
209
210#####################################################################
211# CLOCK OPTIONS
212
213# The following options are used for debugging clock behavior only, and
214# should not be used for production systems.
215
216# CLK_CALIBRATION_LOOP causes clock calibration to be run in a loop at
217# startup until the user presses a key. (The i8254 clock is always
218# calibrated relative to the RTC (mc146818a) and this option causes the
219# calibration to be repeated.)
220options CLK_CALIBRATION_LOOP
221
222# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254
223# clock to actually be used.
224options CLK_USE_I8254_CALIBRATION
225
226
227#####################################################################
228# MISCELLANEOUS DEVICES AND OPTIONS
229
230device speaker #Play IBM BASIC-style noises out your speaker
231hint.speaker.0.at="isa"
232hint.speaker.0.port="0x35"
233device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT!
234device apm_saver # Requires APM
235
236
237#####################################################################
238# HARDWARE BUS CONFIGURATION
239
240#
241# ISA bus
242#
243device isa
244
245#
246# Options for `isa':
247#
248# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
249# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
250# This option breaks suspend/resume on some portables.
251#
252# MAXMEM specifies the amount of RAM on the machine; if this is not
253# specified, FreeBSD will first read the amount of memory from the CMOS
254# RAM, so the amount of memory will initially be limited to 64MB or 16MB
255# depending on the BIOS. If the BIOS reports 64MB, a memory probe will
256# then attempt to detect the installed amount of RAM. If this probe
257# fails to detect >64MB RAM you will have to use the MAXMEM option.
258# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
259# be 131072 (128 * 1024).
260#
261# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
262# reset the CPU for reboot. This is needed on some systems with broken
263# keyboard controllers.
264
265options AUTO_EOI_1
266
267options MAXMEM=(128*1024)
268#options BROKEN_KEYBOARD_RESET
269options EPSON_BOUNCEDMA
270options EPSON_MEMWIN
271
272#
273# PCI bus & PCI options:
274#
275device pci
276
277#
278# AGP GART support
279device agp
280
281
282#####################################################################
283# HARDWARE DEVICE CONFIGURATION
284
285# PC98 keyboard
286device pckbd
287hint.pckbd.0.at="isa"
288hint.pckbd.0.port="0x041"
289hint.pckbd.0.irq="1"
290
291# These options are valid for other keyboard drivers as well.
292options KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap
293options KBD_INSTALL_CDEV # install a CDEV entry in /dev
294
295# GDC screen
296device gdc
297hint.gdc.0.at="isa"
298options LINE30
299
300#
301# The Numeric Processing eXtension driver. This is non-optional.
302device npx
303
304#
305# `flags' for npx0:
306# 0x01 don't use the npx registers to optimize bcopy.
307# 0x02 don't use the npx registers to optimize bzero.
308# 0x04 don't use the npx registers to optimize copyin or copyout.
309# The npx registers are normally used to optimize copying and zeroing when
310# all of the following conditions are satisfied:
311# I586_CPU is an option
312# the cpu is an i586 (perhaps not a Pentium)
313# the probe for npx0 succeeds
314# INT 16 exception handling works.
315# Then copying and zeroing using the npx registers is normally 30-100% faster.
316# The flags can be used to control cases where it doesn't work or is slower.
8#
9
10#
11# This directive is mandatory; it defines the architecture to be
12# configured for; in this case, the 386 family based PC-98 and
13# compatibles.
14#
15machine pc98
16options PC98
17
18#
19# We want LINT to cover profiling as well.
20profile 2
21
22
23#####################################################################
24# SMP OPTIONS:
25#
26# The apic device enables the use of the I/O APIC for interrupt delivery.
27# The apic device can be used in both UP and SMP kernels, but is required
28# for SMP kernels. Thus, the apic device is not strictly an SMP option,
29# but it is a prerequisite for SMP.
30#
31# Notes:
32#
33# By default, mixed mode is used to route IRQ0 from the AT timer via
34# the 8259A master PIC through the ExtINT pin on the first I/O APIC.
35# This can be disabled via the NO_MIXED_MODE option. In that case,
36# IRQ0 will be routed via an intpin on the first I/O APIC. Not all
37# motherboards hook IRQ0 up to the first I/O APIC even though their
38# MP table or MADT may claim to do so. That is why mixed mode is
39# enabled by default.
40#
41
42# Mandatory:
43device apic # I/O apic
44
45# Optional:
46options NO_MIXED_MODE # Disable use of mixed mode
47
48
49#####################################################################
50# CPU OPTIONS
51
52#
53# You must specify at least one CPU (the one you intend to run on);
54# deleting the specification for CPUs you don't need to use may make
55# parts of the system run faster.
56#
57cpu I486_CPU
58cpu I586_CPU # aka Pentium(tm)
59cpu I686_CPU # aka Pentium Pro(tm)
60
61#
62# Options for CPU features.
63#
64# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning
65# CPU if CPU supports it. The default is double-clock mode on
66# BlueLightning CPU box.
67#
68# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM
69# BlueLightning CPU. It works only with Cyrix FPU, and this option
70# should not be used with Intel FPU.
71#
72# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1).
73#
74# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space
75# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1.
76# Otherwise, the NO_LOCK bit of CCR1 is cleared. (NOTE 3)
77#
78# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct
79# mapped mode. Default is 2-way set associative mode.
80#
81# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e., enables
82# reorder). This option should not be used if you use memory mapped
83# I/O device(s).
84#
85# CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32
86# machines. VmWare 3.x seems to emulate this instruction poorly, causing
87# the guest OS to run very slowly. This problem appears to be fixed in
88# VmWare 4.x, at least in version 4.5.2, so that enabling this option with
89# VmWare 4.x will result in locking operations to be 20-30 times slower.
90# Enabling this with an SMP kernel will cause the kernel to be unusable.
91#
92# CPU_DISABLE_SSE explicitly prevents I686_CPU from turning on SSE.
93#
94# CPU_ENABLE_SSE enables SSE/MMX2 instructions support. This is default
95# on I686_CPU and above.
96#
97# CPU_FASTER_5X86_FPU enables faster FPU exception handler.
98#
99# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products
100# for i386 machines.
101#
102# CPU_IORT defines I/O clock delay time (NOTE 1). Default values of
103# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively
104# (no clock delay).
105#
106# CPU_L2_LATENCY specifies the L2 cache latency value. This option is used
107# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected.
108# The default value is 5.
109#
110# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination
111# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE
112# 1).
113#
114# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs. This option
115# is useful when you use Socket 8 to Socket 370 converter, because most Pentium
116# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs.
117#
118# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1).
119#
120# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU
121# enters suspend mode following execution of HALT instruction.
122#
123# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s).
124#
125# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD
126# K5/K6/K6-2 CPUs.
127#
128# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache
129# flush at hold state.
130#
131# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs
132# without cache flush at hold state, and (2) write-back CPU cache on
133# Cyrix 6x86 whose revision < 2.7 (NOTE 2).
134#
135# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY
136# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is
137# executed. This option is only needed if I586_CPU is also defined,
138# and should be included for any non-Pentium CPU that defines it.
139#
140# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors
141# which indicates that the 15-16MB range is *definitely* not being
142# occupied by an ISA memory hole.
143#
144# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT,
145# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs.
146# These options may crash your system.
147#
148# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled
149# in write-through mode when revision < 2.7. If revision of Cyrix
150# 6x86 >= 2.7, CPU cache is always enabled in write-back mode.
151#
152# NOTE 3: This option may cause failures for software that requires
153# locked cycles in order to operate correctly.
154#
155options CPU_BLUELIGHTNING_3X
156options CPU_BLUELIGHTNING_FPU_OP_CACHE
157options CPU_BTB_EN
158options CPU_DIRECT_MAPPED_CACHE
159options CPU_DISABLE_5X86_LSSER
160options CPU_DISABLE_CMPXCHG
161#options CPU_DISABLE_SSE
162options CPU_ENABLE_SSE
163options CPU_FASTER_5X86_FPU
164options CPU_I486_ON_386
165options CPU_IORT
166options CPU_L2_LATENCY=5
167options CPU_LOOP_EN
168options CPU_PPRO2CELERON
169options CPU_RSTK_EN
170options CPU_SUSP_HLT
171options CPU_UPGRADE_HW_CACHE
172options CPU_WT_ALLOC
173options CYRIX_CACHE_WORKS
174options CYRIX_CACHE_REALLY_WORKS
175#options NO_F00F_HACK
176
177# Debug options
178options NPX_DEBUG # enable npx debugging
179
180#
181# PERFMON causes the driver for Pentium/Pentium Pro performance counters
182# to be compiled. See perfmon(4) for more information.
183#
184options PERFMON
185
186
187#####################################################################
188# NETWORKING OPTIONS
189
190#
191# DEVICE_POLLING adds support for mixed interrupt-polling handling
192# of network device drivers, which has significant benefits in terms
193# of robustness to overloads and responsivity, as well as permitting
194# accurate scheduling of the CPU time between kernel network processing
195# and other activities. The drawback is a moderate (up to 1/HZ seconds)
196# potential increase in response times.
197# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
198# to achieve smoother behaviour.
199# Additionally, you can enable/disable polling at runtime with the
200# sysctl variable kern.polling.enable (defaults off), and select
201# the CPU fraction reserved to userland with the sysctl variable
202# kern.polling.user_frac (default 50, range 0..100).
203#
204# Not all device drivers support this mode of operation at the time of
205# this writing. See polling(4) for more details.
206
207options DEVICE_POLLING
208
209
210#####################################################################
211# CLOCK OPTIONS
212
213# The following options are used for debugging clock behavior only, and
214# should not be used for production systems.
215
216# CLK_CALIBRATION_LOOP causes clock calibration to be run in a loop at
217# startup until the user presses a key. (The i8254 clock is always
218# calibrated relative to the RTC (mc146818a) and this option causes the
219# calibration to be repeated.)
220options CLK_CALIBRATION_LOOP
221
222# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254
223# clock to actually be used.
224options CLK_USE_I8254_CALIBRATION
225
226
227#####################################################################
228# MISCELLANEOUS DEVICES AND OPTIONS
229
230device speaker #Play IBM BASIC-style noises out your speaker
231hint.speaker.0.at="isa"
232hint.speaker.0.port="0x35"
233device gzip #Exec gzipped a.out's. REQUIRES COMPAT_AOUT!
234device apm_saver # Requires APM
235
236
237#####################################################################
238# HARDWARE BUS CONFIGURATION
239
240#
241# ISA bus
242#
243device isa
244
245#
246# Options for `isa':
247#
248# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
249# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
250# This option breaks suspend/resume on some portables.
251#
252# MAXMEM specifies the amount of RAM on the machine; if this is not
253# specified, FreeBSD will first read the amount of memory from the CMOS
254# RAM, so the amount of memory will initially be limited to 64MB or 16MB
255# depending on the BIOS. If the BIOS reports 64MB, a memory probe will
256# then attempt to detect the installed amount of RAM. If this probe
257# fails to detect >64MB RAM you will have to use the MAXMEM option.
258# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
259# be 131072 (128 * 1024).
260#
261# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
262# reset the CPU for reboot. This is needed on some systems with broken
263# keyboard controllers.
264
265options AUTO_EOI_1
266
267options MAXMEM=(128*1024)
268#options BROKEN_KEYBOARD_RESET
269options EPSON_BOUNCEDMA
270options EPSON_MEMWIN
271
272#
273# PCI bus & PCI options:
274#
275device pci
276
277#
278# AGP GART support
279device agp
280
281
282#####################################################################
283# HARDWARE DEVICE CONFIGURATION
284
285# PC98 keyboard
286device pckbd
287hint.pckbd.0.at="isa"
288hint.pckbd.0.port="0x041"
289hint.pckbd.0.irq="1"
290
291# These options are valid for other keyboard drivers as well.
292options KBD_DISABLE_KEYMAP_LOAD # refuse to load a keymap
293options KBD_INSTALL_CDEV # install a CDEV entry in /dev
294
295# GDC screen
296device gdc
297hint.gdc.0.at="isa"
298options LINE30
299
300#
301# The Numeric Processing eXtension driver. This is non-optional.
302device npx
303
304#
305# `flags' for npx0:
306# 0x01 don't use the npx registers to optimize bcopy.
307# 0x02 don't use the npx registers to optimize bzero.
308# 0x04 don't use the npx registers to optimize copyin or copyout.
309# The npx registers are normally used to optimize copying and zeroing when
310# all of the following conditions are satisfied:
311# I586_CPU is an option
312# the cpu is an i586 (perhaps not a Pentium)
313# the probe for npx0 succeeds
314# INT 16 exception handling works.
315# Then copying and zeroing using the npx registers is normally 30-100% faster.
316# The flags can be used to control cases where it doesn't work or is slower.
317# Setting them at boot time using userconfig works right (the optimizations
317# Setting them at boot time using hints works right (the optimizations
318# are not used until later in the bootstrap when npx0 is attached).
319# Flag 0x08 automatically disables the i586 optimized routines.
320#
321
322#
323# Optional devices:
324#
325
326# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create
327# the /dev/3dfx0 device to work with glide implementations. This should get
328# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as
329# the tdfx DRI module from XFree86 and is completely unrelated.
330#
331# To enable Linuxulator support, one must also include COMPAT_LINUX in the
332# config as well, or you will not have the dependencies. The other option
333# is to load both as modules.
334
335device tdfx # Enable 3Dfx Voodoo support
336options TDFX_LINUX # Enable Linuxulator support
337
338# DRM options:
339# mgadrm: AGP Matrox G200, G400, G450, G550
340# r128drm: ATI Rage 128
341# radeondrm: ATI Radeon up to 9000/9100
342# sisdrm: SiS 300/305,540,630
343# tdfxdrm: 3dfx Voodoo 3/4/5 and Banshee
344# DRM_DEBUG: include debug printfs, very slow
345#
346# mga requires AGP in the kernel, and it is recommended
347# for AGP r128 and radeon cards.
348
349device mgadrm
350device r128drm
351device radeondrm
352device sisdrm
353device tdfxdrm
354
355options DRM_DEBUG
356
357#
358# Bus mouse
359#
360device mse
361hint.mse.0.at="isa"
362hint.mse.0.port="0x7fd9"
363hint.mse.0.irq="13"
364
365#
366# Network interfaces:
367#
368
369# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver
370# (requires sppp)
371# cp: Cronyx Tau-PCI sync single/dual/four port
372# V.35/RS-232/RS-530/RS-449/X.21/G.703/E1/E3/T3/STS-1
373# serial adaptor (requires sppp (default), or NETGRAPH if
374# NETGRAPH_CRONYX is configured)
375# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
376# HP PC Lan+, various PC Card devices (refer to etc/defaults/pccard.conf)
377# (requires miibus)
378# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210;
379# Intel EtherExpress
380# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and
381# Am79C960)
382# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133.
383# Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140,
384# OC-3141, OC-3540 and OC-3250.
385# sbni: Granch SBNI12-xx ISA and PCI adapters
386# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp)
387# wl: Lucent Wavelan (ISA card only).
388
389# Order for ISA/EISA devices is important here
390
391device ar
392device cp
393device ed
394#options ED_NO_MIIBUS # Disable ed miibus support
395hint.ed.0.at="isa"
396hint.ed.0.port="0x280"
397hint.ed.0.irq="5"
398hint.ed.0.maddr="0xd8000"
399device ie # Hints only required for Starlan
400hint.ie.2.at="isa"
401hint.ie.2.port="0x300"
402hint.ie.2.irq="5"
403hint.ie.2.maddr="0xd0000"
404device lnc
405hint.lnc.0.at="isa"
406hint.lnc.0.port="0x280"
407hint.lnc.0.irq="10"
408hint.lnc.0.drq="0"
409device sbni
410hint.sbni.0.at="isa"
411hint.sbni.0.port="0x210"
412hint.sbni.0.irq="0xefdead"
413hint.sbni.0.flags="0"
414device snc
415hint.snc.0.at="isa"
416hint.snc.0.port="0x888"
417hint.snc.0.irq="6"
418hint.snc.0.maddr="0xc0000"
419device sr
420device oltr
421device wl
422hint.wl.0.at="isa"
423hint.wl.0.port="0x300"
424options WLCACHE # enables the signal-strength cache
425options WLDEBUG # enables verbose debugging output
426
427#
428# SCSI host adapters:
429#
430# ct: WD33C93[ABC] based SCSI host adapters.
431# ncv: NCR 53C500 based SCSI host adapters.
432# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
433# stg: TMC 18C30, 18C50 based SCSI host adapters.
434
435device ct
436hint.ct.0.at="isa"
437device ncv
438device nsp
439device stg
440
441#
442# SafeNet crypto driver: can be moved to the MI NOTES as soon as
443# it's tested on a big-endian machine
444#
445device safe # SafeNet 1141
446options SAFE_DEBUG # enable debugging support: hw.safe.debug
447options SAFE_RNDTEST # enable rndtest support
448
449#####################################################################
450
451#
452# Miscellaneous hardware:
453#
454# apm: Laptop Advanced Power Management (experimental)
455# pmtimer: Timer device driver for power management events (APM or ACPI)
456# cy: Cyclades serial driver
457# digi: Digiboard driver
458
459# Notes on APM
460# The flags takes the following meaning for apm0:
461# 0x0020 Statclock is broken.
462
463device apm
464hint.apm.0.flags="0x20"
465device canbus
466device canbepm
467device cy
468options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared
469device digi
470# BIOS & FEP/OS components of device digi.
471device digi_CX
472device digi_CX_PCI
473device digi_EPCX
474device digi_EPCX_PCI
475device digi_Xe
476device digi_Xem
477device digi_Xr
478device olpt
479hint.olpt.0.at="isa"
480hint.olpt.0.port="0x040"
481device pmc
482hint.pmc.0.at="isa"
483hint.pmc.0.port="0x8f0"
484device pmtimer # Adjust system timer at wakeup time
485# sx device is i386 and pc98 only at the moment.
486device sx
487options SX_DEBUG
488
489#
490# Laptop/Notebook options:
491#
492# See also:
493# apm under `Miscellaneous hardware'
494# above.
495
496# For older notebooks that signal a powerfail condition (external
497# power supply dropped, or battery state low) by issuing an NMI:
498
499options POWERFAIL_NMI # make it beep instead of panicing
500
501#
502# PC Card/PCMCIA
503# (OLDCARD)
504#
505# card: pccard slots
506# pcic: isa/pccard bridge
507device pcic
508hint.pcic.0.at="isa"
509#hint.pcic.1.at="isa"
510device card
511
512#---------------------------------------------------------------------------
513# ISDN4BSD
514#
515# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
516#
517# i4b passive ISDN cards support contains the following hardware drivers:
518#
519# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
520# iwic - Winbond W6692 PCI bus ISDN S/T interface controller
521# ifpi - AVM Fritz!Card PCI driver
522# ifpi2 - AVM Fritz!Card PCI version 2 driver
523# ihfc - Cologne Chip HFC ISA/ISA-PnP chipset driver
524# ifpnp - AVM Fritz!Card PnP driver
525# itjc - Siemens ISAC / TJNet Tiger300/320 chipset
526#
527# i4b active ISDN cards support contains the following hardware drivers:
528#
529# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1
530#
531# Note that the ``options'' (if given) and ``device'' lines must BOTH
532# be uncommented to enable support for a given card !
533#
534# In addition to a hardware driver (and probably an option) the mandatory
535# ISDN protocol stack devices and the mandatory support device must be
536# enabled as well as one or more devices from the optional devices section.
537#
538#---------------------------------------------------------------------------
539# isic driver (Siemens/Infineon chipsets)
540#
541device isic
542#
543# PCI bus Cards:
544# --------------
545#
546# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
547options ELSA_QS1PCI
548#
549#---------------------------------------------------------------------------
550# ifpnp driver for AVM Fritz!Card PnP
551#
552# AVM Fritz!Card PnP
553device ifpnp
554#
555#---------------------------------------------------------------------------
556# ihfc driver for Cologne Chip ISA chipsets (experimental!)
557#
558# Teles 16.3c ISA PnP
559# AcerISDN P10 ISA PnP
560# TELEINT ISDN SPEED No.1
561device ihfc
562#
563#---------------------------------------------------------------------------
564# ifpi driver for AVM Fritz!Card PCI
565#
566# AVM Fritz!Card PCI
567device ifpi
568#
569#---------------------------------------------------------------------------
570# ifpi2 driver for AVM Fritz!Card PCI version 2
571#
572# AVM Fritz!Card PCI version 2
573device ifpi2
574#
575#---------------------------------------------------------------------------
576# iwic driver for Winbond W6692 chipset
577#
578# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
579device iwic
580#
581#---------------------------------------------------------------------------
582# itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset
583#
584# Traverse Technologies NETjet-S
585# Teles PCI-TJ
586device itjc
587#
588#---------------------------------------------------------------------------
589# iavc driver (AVM active cards, needs i4bcapi driver!)
590#
591device iavc
592#
593#---------------------------------------------------------------------------
594# ISDN Protocol Stack - mandatory for all hardware drivers
595#
596# Q.921 / layer 2 - i4b passive cards D channel handling
597device i4bq921
598#
599# Q.931 / layer 3 - i4b passive cards D channel handling
600device i4bq931
601#
602# layer 4 - i4b common passive and active card handling
603device i4b
604#
605#---------------------------------------------------------------------------
606# ISDN devices - mandatory for all hardware drivers
607#
608# userland driver to do ISDN tracing (for passive cards only)
609device i4btrc
610options NI4BTRC=4
611#
612# userland driver to control the whole thing
613device i4bctl
614#
615#---------------------------------------------------------------------------
616# ISDN devices - optional
617#
618# userland driver for access to raw B channel
619device i4brbch
620options NI4BRBCH=4
621#
622# userland driver for telephony
623device i4btel
624options NI4BTEL=2
625#
626# network driver for IP over raw HDLC ISDN
627device i4bipr
628options NI4BIPR=4
629# enable VJ header compression detection for ipr i/f
630options IPR_VJ
631# enable logging of the first n IP packets to isdnd (n=32 here)
632options IPR_LOG=32
633#
634# network driver for sync PPP over ISDN; requires an equivalent
635# number of sppp device to be configured
636device i4bisppp
637options NI4BISPPP=4
638#
639# B-channel interface to the netgraph subsystem
640device i4bing
641options NI4BING=2
642#
643# CAPI driver needed for active ISDN cards (see iavc driver above)
644device i4bcapi
645#
646#---------------------------------------------------------------------------
647
648#
649# Set the number of PV entries per process. Increasing this can
650# stop panics related to heavy use of shared memory. However, that can
651# (combined with large amounts of physical memory) cause panics at
652# boot time due the kernel running out of VM space.
653#
654# If you're tweaking this, you might also want to increase the sysctls
655# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
656#
657# The value below is the one more than the default.
658#
659options PMAP_SHPGPERPROC=201
660
661#
662# Change the size of the kernel virtual address space. Due to
663# constraints in loader(8) on i386, this must be a multiple of 4.
664# 256 = 1 GB of kernel address space. Increasing this also causes
665# a reduction of the address space in user processes. 512 splits
666# the 4GB cpu address space in half (2GB user, 2GB kernel).
667#
668options KVA_PAGES=260
669
670
671#####################################################################
672# ABI Emulation
673
674# Enable iBCS2 runtime support for SCO and ISC binaries
675options IBCS2
676
677# Emulate spx device for client side of SVR3 local X interface
678options SPX_HACK
679
680# Enable Linux ABI emulation
681options COMPAT_LINUX
682
683# Enable i386 a.out binary support
684options COMPAT_AOUT
685
686# Enable the linux-like proc filesystem support (requires COMPAT_LINUX
687# and PSEUDOFS)
688options LINPROCFS
689
690#
691# SysVR4 ABI emulation
692#
693# The svr4 ABI emulator can be statically compiled into the kernel or loaded as
694# a KLD module.
695# The STREAMS network emulation code can also be compiled statically or as a
696# module. If loaded as a module, it must be loaded before the svr4 module
697# (the /usr/sbin/svr4 script does this for you). If compiling statically,
698# the `streams' device must be configured into any kernel which also
699# specifies COMPAT_SVR4. It is possible to have a statically-configured
700# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4
701# script understands that it doesn't need to load the `streams' module under
702# those circumstances.
703# Caveat: At this time, `options KTRACE' is required for the svr4 emulator
704# (whether static or dynamic).
705#
706options COMPAT_SVR4 # build emulator statically
707options DEBUG_SVR4 # enable verbose debugging
708device streams # STREAMS network driver (required for svr4).
709
710
711#####################################################################
712# VM OPTIONS
713
714# Disable the 4 MByte page PSE CPU feature. The PSE feature allows the
715# kernel to use 4 MByte pages to map the kernel instead of 4k pages.
716# This saves on the amount of memory needed for page tables needed to
717# map the kernel. You should only disable this feature as a temporary
718# workaround if you are having problems with it enabled.
719#
720#options DISABLE_PSE
721
722# Disable the global pages PGE CPU feature. The PGE feature allows pages
723# to be marked with the PG_G bit. TLB entries for these pages are not
724# flushed from the cache when %cr3 is reloaded. This can make context
725# switches less expensive. You should only disable this feature as a
726# temporary workaround if you are having problems with it enabled.
727#
728#options DISABLE_PG_G
729
730# KSTACK_PAGES is the number of memory pages to assign to the kernel
731# stack of each thread.
732
733options KSTACK_PAGES=3
734
735#####################################################################
736
737# More undocumented options for linting.
738# Note that documenting these are not considered an affront.
739
740options FB_INSTALL_CDEV # install a CDEV entry in /dev
741
742# PECOFF module (Win32 Execution Format)
743options PECOFF_SUPPORT
744options PECOFF_DEBUG
745
746options I4B_SMP_WORKAROUND
747options I586_PMC_GUPROF=0x70000
748options KBDIO_DEBUG=2
749options KBD_MAXRETRY=4
750options KBD_MAXWAIT=6
751options KBD_RESETDELAY=201
752
753options TIMER_FREQ=((14318182+6)/12)
754
755options VM_KMEM_SIZE
756options VM_KMEM_SIZE_MAX
757options VM_KMEM_SIZE_SCALE
758
759
760# The I/O device
761device io
762
763
764#####################################################################
765# Devices we don't want to deal with
766
767nodevice atkbdc
768nodevice atkbd
769nodevice psm
770nodevice vga
771nodevice bt
772nodevice adw
773nodevice aha
774nodevice ahb
775nodevice ahd
776nodevice mpt
777nodevice trm
778nodevice wds
779nodevice asr
780nodevice dpt
781nodevice ciss
782nodevice iir
783nodevice mly
784nodevice ida # Compaq Smart RAID
785nodevice mlx # Mylex DAC960
786nodevice amr # AMI MegaRAID
787nodevice twe # 3ware ATA RAID
788nodevice ataraid
789nodevice cm
790nodevice cs
791nodevice ex
792nodevice fea
793nodevice cbb
794nodevice pccard
795nodevice cardbus
796nodevice intpm
797nodevice alpm
798nodevice ichsmb
799nodevice viapm
800nodevice amdpm
801nodevice nfpm
802
803
804#####################################################################
805# Options we don't want to deal with
806
807nooption VGA_DEBUG
808nooption VGA_WIDTH90
809nooption VGA_SLOW_IOACCESS
810nooption VGA_ALT_SEQACCESS
811nooption PSM_RESETAFTERSUSPEND
812nooption PSM_HOOKRESUME
813nooption ATKBD_DFLT_KEYMAP
814nooption AHD_DEBUG
815nooption AHD_DEBUG_OPTS
816nooption AHD_REG_PRETTY_PRINT
817nooption ADW_ALLOW_MEMIO
818nooption DPT_LOST_IRQ
819nooption DPT_RESET_HBA
820nooption DPT_TIMEOUT_FACTOR
821nooption AAC_DEBUG
822nooption ACPI_MAX_THREADS
823
824
825#####################################################################
826# Make options we don't want to deal with
827
828nomakeoption ATKBD_DFLT_KEYMAP
318# are not used until later in the bootstrap when npx0 is attached).
319# Flag 0x08 automatically disables the i586 optimized routines.
320#
321
322#
323# Optional devices:
324#
325
326# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support. This will create
327# the /dev/3dfx0 device to work with glide implementations. This should get
328# linked to /dev/3dfx and /dev/voodoo. Note that this is not the same as
329# the tdfx DRI module from XFree86 and is completely unrelated.
330#
331# To enable Linuxulator support, one must also include COMPAT_LINUX in the
332# config as well, or you will not have the dependencies. The other option
333# is to load both as modules.
334
335device tdfx # Enable 3Dfx Voodoo support
336options TDFX_LINUX # Enable Linuxulator support
337
338# DRM options:
339# mgadrm: AGP Matrox G200, G400, G450, G550
340# r128drm: ATI Rage 128
341# radeondrm: ATI Radeon up to 9000/9100
342# sisdrm: SiS 300/305,540,630
343# tdfxdrm: 3dfx Voodoo 3/4/5 and Banshee
344# DRM_DEBUG: include debug printfs, very slow
345#
346# mga requires AGP in the kernel, and it is recommended
347# for AGP r128 and radeon cards.
348
349device mgadrm
350device r128drm
351device radeondrm
352device sisdrm
353device tdfxdrm
354
355options DRM_DEBUG
356
357#
358# Bus mouse
359#
360device mse
361hint.mse.0.at="isa"
362hint.mse.0.port="0x7fd9"
363hint.mse.0.irq="13"
364
365#
366# Network interfaces:
367#
368
369# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver
370# (requires sppp)
371# cp: Cronyx Tau-PCI sync single/dual/four port
372# V.35/RS-232/RS-530/RS-449/X.21/G.703/E1/E3/T3/STS-1
373# serial adaptor (requires sppp (default), or NETGRAPH if
374# NETGRAPH_CRONYX is configured)
375# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
376# HP PC Lan+, various PC Card devices (refer to etc/defaults/pccard.conf)
377# (requires miibus)
378# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210;
379# Intel EtherExpress
380# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and
381# Am79C960)
382# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133.
383# Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140,
384# OC-3141, OC-3540 and OC-3250.
385# sbni: Granch SBNI12-xx ISA and PCI adapters
386# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp)
387# wl: Lucent Wavelan (ISA card only).
388
389# Order for ISA/EISA devices is important here
390
391device ar
392device cp
393device ed
394#options ED_NO_MIIBUS # Disable ed miibus support
395hint.ed.0.at="isa"
396hint.ed.0.port="0x280"
397hint.ed.0.irq="5"
398hint.ed.0.maddr="0xd8000"
399device ie # Hints only required for Starlan
400hint.ie.2.at="isa"
401hint.ie.2.port="0x300"
402hint.ie.2.irq="5"
403hint.ie.2.maddr="0xd0000"
404device lnc
405hint.lnc.0.at="isa"
406hint.lnc.0.port="0x280"
407hint.lnc.0.irq="10"
408hint.lnc.0.drq="0"
409device sbni
410hint.sbni.0.at="isa"
411hint.sbni.0.port="0x210"
412hint.sbni.0.irq="0xefdead"
413hint.sbni.0.flags="0"
414device snc
415hint.snc.0.at="isa"
416hint.snc.0.port="0x888"
417hint.snc.0.irq="6"
418hint.snc.0.maddr="0xc0000"
419device sr
420device oltr
421device wl
422hint.wl.0.at="isa"
423hint.wl.0.port="0x300"
424options WLCACHE # enables the signal-strength cache
425options WLDEBUG # enables verbose debugging output
426
427#
428# SCSI host adapters:
429#
430# ct: WD33C93[ABC] based SCSI host adapters.
431# ncv: NCR 53C500 based SCSI host adapters.
432# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
433# stg: TMC 18C30, 18C50 based SCSI host adapters.
434
435device ct
436hint.ct.0.at="isa"
437device ncv
438device nsp
439device stg
440
441#
442# SafeNet crypto driver: can be moved to the MI NOTES as soon as
443# it's tested on a big-endian machine
444#
445device safe # SafeNet 1141
446options SAFE_DEBUG # enable debugging support: hw.safe.debug
447options SAFE_RNDTEST # enable rndtest support
448
449#####################################################################
450
451#
452# Miscellaneous hardware:
453#
454# apm: Laptop Advanced Power Management (experimental)
455# pmtimer: Timer device driver for power management events (APM or ACPI)
456# cy: Cyclades serial driver
457# digi: Digiboard driver
458
459# Notes on APM
460# The flags takes the following meaning for apm0:
461# 0x0020 Statclock is broken.
462
463device apm
464hint.apm.0.flags="0x20"
465device canbus
466device canbepm
467device cy
468options CY_PCI_FASTINTR # Use with cy_pci unless irq is shared
469device digi
470# BIOS & FEP/OS components of device digi.
471device digi_CX
472device digi_CX_PCI
473device digi_EPCX
474device digi_EPCX_PCI
475device digi_Xe
476device digi_Xem
477device digi_Xr
478device olpt
479hint.olpt.0.at="isa"
480hint.olpt.0.port="0x040"
481device pmc
482hint.pmc.0.at="isa"
483hint.pmc.0.port="0x8f0"
484device pmtimer # Adjust system timer at wakeup time
485# sx device is i386 and pc98 only at the moment.
486device sx
487options SX_DEBUG
488
489#
490# Laptop/Notebook options:
491#
492# See also:
493# apm under `Miscellaneous hardware'
494# above.
495
496# For older notebooks that signal a powerfail condition (external
497# power supply dropped, or battery state low) by issuing an NMI:
498
499options POWERFAIL_NMI # make it beep instead of panicing
500
501#
502# PC Card/PCMCIA
503# (OLDCARD)
504#
505# card: pccard slots
506# pcic: isa/pccard bridge
507device pcic
508hint.pcic.0.at="isa"
509#hint.pcic.1.at="isa"
510device card
511
512#---------------------------------------------------------------------------
513# ISDN4BSD
514#
515# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
516#
517# i4b passive ISDN cards support contains the following hardware drivers:
518#
519# isic - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
520# iwic - Winbond W6692 PCI bus ISDN S/T interface controller
521# ifpi - AVM Fritz!Card PCI driver
522# ifpi2 - AVM Fritz!Card PCI version 2 driver
523# ihfc - Cologne Chip HFC ISA/ISA-PnP chipset driver
524# ifpnp - AVM Fritz!Card PnP driver
525# itjc - Siemens ISAC / TJNet Tiger300/320 chipset
526#
527# i4b active ISDN cards support contains the following hardware drivers:
528#
529# iavc - AVM B1 PCI, AVM B1 ISA, AVM T1
530#
531# Note that the ``options'' (if given) and ``device'' lines must BOTH
532# be uncommented to enable support for a given card !
533#
534# In addition to a hardware driver (and probably an option) the mandatory
535# ISDN protocol stack devices and the mandatory support device must be
536# enabled as well as one or more devices from the optional devices section.
537#
538#---------------------------------------------------------------------------
539# isic driver (Siemens/Infineon chipsets)
540#
541device isic
542#
543# PCI bus Cards:
544# --------------
545#
546# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
547options ELSA_QS1PCI
548#
549#---------------------------------------------------------------------------
550# ifpnp driver for AVM Fritz!Card PnP
551#
552# AVM Fritz!Card PnP
553device ifpnp
554#
555#---------------------------------------------------------------------------
556# ihfc driver for Cologne Chip ISA chipsets (experimental!)
557#
558# Teles 16.3c ISA PnP
559# AcerISDN P10 ISA PnP
560# TELEINT ISDN SPEED No.1
561device ihfc
562#
563#---------------------------------------------------------------------------
564# ifpi driver for AVM Fritz!Card PCI
565#
566# AVM Fritz!Card PCI
567device ifpi
568#
569#---------------------------------------------------------------------------
570# ifpi2 driver for AVM Fritz!Card PCI version 2
571#
572# AVM Fritz!Card PCI version 2
573device ifpi2
574#
575#---------------------------------------------------------------------------
576# iwic driver for Winbond W6692 chipset
577#
578# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
579device iwic
580#
581#---------------------------------------------------------------------------
582# itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset
583#
584# Traverse Technologies NETjet-S
585# Teles PCI-TJ
586device itjc
587#
588#---------------------------------------------------------------------------
589# iavc driver (AVM active cards, needs i4bcapi driver!)
590#
591device iavc
592#
593#---------------------------------------------------------------------------
594# ISDN Protocol Stack - mandatory for all hardware drivers
595#
596# Q.921 / layer 2 - i4b passive cards D channel handling
597device i4bq921
598#
599# Q.931 / layer 3 - i4b passive cards D channel handling
600device i4bq931
601#
602# layer 4 - i4b common passive and active card handling
603device i4b
604#
605#---------------------------------------------------------------------------
606# ISDN devices - mandatory for all hardware drivers
607#
608# userland driver to do ISDN tracing (for passive cards only)
609device i4btrc
610options NI4BTRC=4
611#
612# userland driver to control the whole thing
613device i4bctl
614#
615#---------------------------------------------------------------------------
616# ISDN devices - optional
617#
618# userland driver for access to raw B channel
619device i4brbch
620options NI4BRBCH=4
621#
622# userland driver for telephony
623device i4btel
624options NI4BTEL=2
625#
626# network driver for IP over raw HDLC ISDN
627device i4bipr
628options NI4BIPR=4
629# enable VJ header compression detection for ipr i/f
630options IPR_VJ
631# enable logging of the first n IP packets to isdnd (n=32 here)
632options IPR_LOG=32
633#
634# network driver for sync PPP over ISDN; requires an equivalent
635# number of sppp device to be configured
636device i4bisppp
637options NI4BISPPP=4
638#
639# B-channel interface to the netgraph subsystem
640device i4bing
641options NI4BING=2
642#
643# CAPI driver needed for active ISDN cards (see iavc driver above)
644device i4bcapi
645#
646#---------------------------------------------------------------------------
647
648#
649# Set the number of PV entries per process. Increasing this can
650# stop panics related to heavy use of shared memory. However, that can
651# (combined with large amounts of physical memory) cause panics at
652# boot time due the kernel running out of VM space.
653#
654# If you're tweaking this, you might also want to increase the sysctls
655# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
656#
657# The value below is the one more than the default.
658#
659options PMAP_SHPGPERPROC=201
660
661#
662# Change the size of the kernel virtual address space. Due to
663# constraints in loader(8) on i386, this must be a multiple of 4.
664# 256 = 1 GB of kernel address space. Increasing this also causes
665# a reduction of the address space in user processes. 512 splits
666# the 4GB cpu address space in half (2GB user, 2GB kernel).
667#
668options KVA_PAGES=260
669
670
671#####################################################################
672# ABI Emulation
673
674# Enable iBCS2 runtime support for SCO and ISC binaries
675options IBCS2
676
677# Emulate spx device for client side of SVR3 local X interface
678options SPX_HACK
679
680# Enable Linux ABI emulation
681options COMPAT_LINUX
682
683# Enable i386 a.out binary support
684options COMPAT_AOUT
685
686# Enable the linux-like proc filesystem support (requires COMPAT_LINUX
687# and PSEUDOFS)
688options LINPROCFS
689
690#
691# SysVR4 ABI emulation
692#
693# The svr4 ABI emulator can be statically compiled into the kernel or loaded as
694# a KLD module.
695# The STREAMS network emulation code can also be compiled statically or as a
696# module. If loaded as a module, it must be loaded before the svr4 module
697# (the /usr/sbin/svr4 script does this for you). If compiling statically,
698# the `streams' device must be configured into any kernel which also
699# specifies COMPAT_SVR4. It is possible to have a statically-configured
700# STREAMS device and a dynamically loadable svr4 emulator; the /usr/sbin/svr4
701# script understands that it doesn't need to load the `streams' module under
702# those circumstances.
703# Caveat: At this time, `options KTRACE' is required for the svr4 emulator
704# (whether static or dynamic).
705#
706options COMPAT_SVR4 # build emulator statically
707options DEBUG_SVR4 # enable verbose debugging
708device streams # STREAMS network driver (required for svr4).
709
710
711#####################################################################
712# VM OPTIONS
713
714# Disable the 4 MByte page PSE CPU feature. The PSE feature allows the
715# kernel to use 4 MByte pages to map the kernel instead of 4k pages.
716# This saves on the amount of memory needed for page tables needed to
717# map the kernel. You should only disable this feature as a temporary
718# workaround if you are having problems with it enabled.
719#
720#options DISABLE_PSE
721
722# Disable the global pages PGE CPU feature. The PGE feature allows pages
723# to be marked with the PG_G bit. TLB entries for these pages are not
724# flushed from the cache when %cr3 is reloaded. This can make context
725# switches less expensive. You should only disable this feature as a
726# temporary workaround if you are having problems with it enabled.
727#
728#options DISABLE_PG_G
729
730# KSTACK_PAGES is the number of memory pages to assign to the kernel
731# stack of each thread.
732
733options KSTACK_PAGES=3
734
735#####################################################################
736
737# More undocumented options for linting.
738# Note that documenting these are not considered an affront.
739
740options FB_INSTALL_CDEV # install a CDEV entry in /dev
741
742# PECOFF module (Win32 Execution Format)
743options PECOFF_SUPPORT
744options PECOFF_DEBUG
745
746options I4B_SMP_WORKAROUND
747options I586_PMC_GUPROF=0x70000
748options KBDIO_DEBUG=2
749options KBD_MAXRETRY=4
750options KBD_MAXWAIT=6
751options KBD_RESETDELAY=201
752
753options TIMER_FREQ=((14318182+6)/12)
754
755options VM_KMEM_SIZE
756options VM_KMEM_SIZE_MAX
757options VM_KMEM_SIZE_SCALE
758
759
760# The I/O device
761device io
762
763
764#####################################################################
765# Devices we don't want to deal with
766
767nodevice atkbdc
768nodevice atkbd
769nodevice psm
770nodevice vga
771nodevice bt
772nodevice adw
773nodevice aha
774nodevice ahb
775nodevice ahd
776nodevice mpt
777nodevice trm
778nodevice wds
779nodevice asr
780nodevice dpt
781nodevice ciss
782nodevice iir
783nodevice mly
784nodevice ida # Compaq Smart RAID
785nodevice mlx # Mylex DAC960
786nodevice amr # AMI MegaRAID
787nodevice twe # 3ware ATA RAID
788nodevice ataraid
789nodevice cm
790nodevice cs
791nodevice ex
792nodevice fea
793nodevice cbb
794nodevice pccard
795nodevice cardbus
796nodevice intpm
797nodevice alpm
798nodevice ichsmb
799nodevice viapm
800nodevice amdpm
801nodevice nfpm
802
803
804#####################################################################
805# Options we don't want to deal with
806
807nooption VGA_DEBUG
808nooption VGA_WIDTH90
809nooption VGA_SLOW_IOACCESS
810nooption VGA_ALT_SEQACCESS
811nooption PSM_RESETAFTERSUSPEND
812nooption PSM_HOOKRESUME
813nooption ATKBD_DFLT_KEYMAP
814nooption AHD_DEBUG
815nooption AHD_DEBUG_OPTS
816nooption AHD_REG_PRETTY_PRINT
817nooption ADW_ALLOW_MEMIO
818nooption DPT_LOST_IRQ
819nooption DPT_RESET_HBA
820nooption DPT_TIMEOUT_FACTOR
821nooption AAC_DEBUG
822nooption ACPI_MAX_THREADS
823
824
825#####################################################################
826# Make options we don't want to deal with
827
828nomakeoption ATKBD_DFLT_KEYMAP