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