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