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