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