NOTES revision 171196
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 $
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
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
817