NOTES revision 177586
1111314Snyan#
2111314Snyan# NOTES -- Lines that can be cut/pasted into kernel and hints configs.
3111314Snyan#
4111314Snyan# This file contains machine dependent kernel configuration notes.  For
5111314Snyan# machine independent notes, look in /sys/conf/NOTES.
6111314Snyan#
7111314Snyan# $FreeBSD: head/sys/pc98/conf/NOTES 177586 2008-03-24 22:23:22Z jkim $
8111314Snyan#
9111314Snyan
10125234Snyan#
11127520Snyan# We want LINT to cover profiling as well.
12111314Snyanprofile         2
13111314Snyan
14111314Snyan
15111314Snyan#####################################################################
16111314Snyan# SMP OPTIONS:
17111314Snyan#
18122755Snyan# The apic device enables the use of the I/O APIC for interrupt delivery.
19122755Snyan# The apic device can be used in both UP and SMP kernels, but is required
20122755Snyan# for SMP kernels.  Thus, the apic device is not strictly an SMP option,
21122755Snyan# but it is a prerequisite for SMP.
22111314Snyan#
23111314Snyan
24111314Snyan# Mandatory:
25122056Snyandevice		apic			# I/O apic
26124795Snyan
27142783Snyan#
28142783Snyan# Watchdog routines.
29142783Snyan#
30142783Snyanoptions 	MP_WATCHDOG
31142783Snyan
32145743Snyan# Debugging options.
33145743Snyan#
34151634Sjhboptions		STOP_NMI		# Stop CPUS using NMI instead of IPI
35145743Snyan
36145743Snyan
37111314Snyan
38111314Snyan#####################################################################
39111314Snyan# CPU OPTIONS
40111314Snyan
41111314Snyan#
42111314Snyan# You must specify at least one CPU (the one you intend to run on);
43111314Snyan# deleting the specification for CPUs you don't need to use may make
44111314Snyan# parts of the system run faster.
45111314Snyan#
46111314Snyancpu		I486_CPU
47111314Snyancpu		I586_CPU		# aka Pentium(tm)
48111314Snyancpu		I686_CPU		# aka Pentium Pro(tm)
49111314Snyan
50111314Snyan#
51111314Snyan# Options for CPU features.
52111314Snyan#
53124795Snyan# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning
54124795Snyan# CPU if CPU supports it.  The default is double-clock mode on
55124795Snyan# BlueLightning CPU box.
56124795Snyan#
57111314Snyan# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM
58111314Snyan# BlueLightning CPU.  It works only with Cyrix FPU, and this option
59111314Snyan# should not be used with Intel FPU.
60111314Snyan#
61111314Snyan# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1).
62111314Snyan#
63111314Snyan# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space
64111314Snyan# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1.
65111314Snyan# Otherwise, the NO_LOCK bit of CCR1 is cleared.  (NOTE 3)
66111314Snyan#
67124795Snyan# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct
68124795Snyan# mapped mode.  Default is 2-way set associative mode.
69124795Snyan#
70127520Snyan# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e., enables
71111314Snyan# reorder).  This option should not be used if you use memory mapped
72111314Snyan# I/O device(s).
73111314Snyan#
74125234Snyan# CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32
75137526Snyan# machines.  VmWare 3.x seems to emulate this instruction poorly, causing
76137526Snyan# the guest OS to run very slowly.  This problem appears to be fixed in
77137526Snyan# VmWare 4.x, at least in version 4.5.2, so that enabling this option with
78137526Snyan# VmWare 4.x will result in locking operations to be 20-30 times slower.
79137526Snyan# Enabling this with an SMP kernel will cause the kernel to be unusable.
80124795Snyan#
81127520Snyan# CPU_DISABLE_SSE explicitly prevents I686_CPU from turning on SSE.
82124795Snyan#
83111314Snyan# CPU_FASTER_5X86_FPU enables faster FPU exception handler.
84111314Snyan#
85111314Snyan# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products
86111314Snyan# for i386 machines.
87111314Snyan#
88111314Snyan# CPU_IORT defines I/O clock delay time (NOTE 1).  Default values of
89111314Snyan# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively
90111314Snyan# (no clock delay).
91111314Snyan#
92125234Snyan# CPU_L2_LATENCY specifies the L2 cache latency value.  This option is used
93111314Snyan# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected.
94111314Snyan# The default value is 5.
95111314Snyan#
96111314Snyan# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination
97111314Snyan# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE
98111314Snyan# 1).
99111314Snyan#
100111314Snyan# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs.  This option
101111314Snyan# is useful when you use Socket 8 to Socket 370 converter, because most Pentium
102111314Snyan# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs.
103111314Snyan#
104111314Snyan# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1).
105111314Snyan#
106111314Snyan# CPU_SUSP_HLT enables suspend on HALT.  If this option is set, CPU
107111314Snyan# enters suspend mode following execution of HALT instruction.
108111314Snyan#
109111314Snyan# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s).
110111314Snyan#
111111314Snyan# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD
112125234Snyan# K5/K6/K6-2 CPUs.
113111314Snyan#
114111314Snyan# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache
115111314Snyan# flush at hold state.
116111314Snyan#
117111314Snyan# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs
118111314Snyan# without cache flush at hold state, and (2) write-back CPU cache on
119111314Snyan# Cyrix 6x86 whose revision < 2.7 (NOTE 2).
120111314Snyan#
121111314Snyan# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY
122111314Snyan# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is
123111314Snyan# executed.  This option is only needed if I586_CPU is also defined,
124111314Snyan# and should be included for any non-Pentium CPU that defines it.
125111314Snyan#
126111314Snyan# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors
127111314Snyan# which indicates that the 15-16MB range is *definitely* not being
128111314Snyan# occupied by an ISA memory hole.
129111314Snyan#
130111314Snyan# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT,
131111314Snyan# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs.
132111314Snyan# These options may crash your system.
133111314Snyan#
134111314Snyan# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled
135111314Snyan# in write-through mode when revision < 2.7.  If revision of Cyrix
136111314Snyan# 6x86 >= 2.7, CPU cache is always enabled in write-back mode.
137111314Snyan#
138111314Snyan# NOTE 3: This option may cause failures for software that requires
139111314Snyan# locked cycles in order to operate correctly.
140111314Snyan#
141124795Snyanoptions 	CPU_BLUELIGHTNING_3X
142111314Snyanoptions 	CPU_BLUELIGHTNING_FPU_OP_CACHE
143111314Snyanoptions 	CPU_BTB_EN
144111314Snyanoptions 	CPU_DIRECT_MAPPED_CACHE
145111314Snyanoptions 	CPU_DISABLE_5X86_LSSER
146124795Snyanoptions 	CPU_DISABLE_CMPXCHG
147124795Snyan#options 	CPU_DISABLE_SSE
148111314Snyanoptions 	CPU_FASTER_5X86_FPU
149111314Snyanoptions 	CPU_I486_ON_386
150111314Snyanoptions 	CPU_IORT
151111314Snyanoptions 	CPU_L2_LATENCY=5
152111314Snyanoptions 	CPU_LOOP_EN
153111314Snyanoptions 	CPU_PPRO2CELERON
154111314Snyanoptions 	CPU_RSTK_EN
155111314Snyanoptions 	CPU_SUSP_HLT
156111314Snyanoptions 	CPU_UPGRADE_HW_CACHE
157111314Snyanoptions 	CPU_WT_ALLOC
158111314Snyanoptions 	CYRIX_CACHE_WORKS
159111314Snyanoptions 	CYRIX_CACHE_REALLY_WORKS
160111314Snyan#options 	NO_F00F_HACK
161111314Snyan
162111314Snyan# Debug options
163124795Snyanoptions 	NPX_DEBUG	# enable npx debugging
164111314Snyan
165111314Snyan#
166111314Snyan# PERFMON causes the driver for Pentium/Pentium Pro performance counters
167111314Snyan# to be compiled.  See perfmon(4) for more information.
168111314Snyan#
169111314Snyanoptions 	PERFMON
170111314Snyan
171111314Snyan
172111314Snyan#####################################################################
173111314Snyan# NETWORKING OPTIONS
174111314Snyan
175111314Snyan#
176111314Snyan# DEVICE_POLLING adds support for mixed interrupt-polling handling
177111314Snyan# of network device drivers, which has significant benefits in terms
178111314Snyan# of robustness to overloads and responsivity, as well as permitting
179111314Snyan# accurate scheduling of the CPU time between kernel network processing
180124795Snyan# and other activities.  The drawback is a moderate (up to 1/HZ seconds)
181111314Snyan# potential increase in response times.
182111314Snyan# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
183111314Snyan# to achieve smoother behaviour.
184151051Sglebius# Additionally, you can enable/disable polling at runtime with help of
185151051Sglebius# the ifconfig(8) utility, and select the CPU fraction reserved to
186151051Sglebius# userland with the sysctl variable kern.polling.user_frac
187151051Sglebius# (default 50, range 0..100).
188111314Snyan#
189124408Snyan# Not all device drivers support this mode of operation at the time of
190124408Snyan# this writing.  See polling(4) for more details.
191111314Snyan
192111314Snyanoptions 	DEVICE_POLLING
193111314Snyan
194177586Sjkim# BPF_JITTER adds support for BPF just-in-time compiler.
195177586Sjkim
196177586Sjkimoptions		BPF_JITTER
197177586Sjkim
198111314Snyan
199111314Snyan#####################################################################
200111314Snyan# CLOCK OPTIONS
201111314Snyan
202111314Snyan# The following options are used for debugging clock behavior only, and
203111314Snyan# should not be used for production systems.
204111314Snyan
205123984Sbde# CLK_CALIBRATION_LOOP causes clock calibration to be run in a loop at
206123984Sbde# startup until the user presses a key.  (The i8254 clock is always
207123984Sbde# calibrated relative to the RTC (mc146818a) and this option causes the
208123984Sbde# calibration to be repeated.)
209111314Snyanoptions 	CLK_CALIBRATION_LOOP
210111314Snyan
211123984Sbde# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254
212123984Sbde# clock to actually be used.
213111314Snyanoptions 	CLK_USE_I8254_CALIBRATION
214111314Snyan
215111314Snyan
216111314Snyan#####################################################################
217111314Snyan# MISCELLANEOUS DEVICES AND OPTIONS
218111314Snyan
219160813Smarcel# 
220160813Smarcel# sio: serial ports (see sio(4)), including support for various
221163494Simp#      PC Card devices, such as Modem and NICs
222160813Smarcel#
223160813Smarceldevice		sio
224160813Smarcelhint.sio.0.at="isa"
225160813Smarcelhint.sio.0.port="0x3F8"
226160813Smarcelhint.sio.0.flags="0x10"
227160813Smarcelhint.sio.0.irq="4"
228160813Smarcel
229160813Smarcel# `flags' specific to sio(4).
230160813Smarcel#	0x10	enable console support for this unit.  Other console flags
231160813Smarcel#		(if applicable) are ignored unless this is set.  Enabling
232160813Smarcel#		console support does not make the unit the preferred console.
233160813Smarcel#		Boot with -h or set boot_serial=YES in the loader.  For sio(4)
234160813Smarcel#		specifically, the 0x20 flag can also be set (see above).
235160813Smarcel#		Currently, at most one unit can have console support; the
236160813Smarcel#		first one (in config file order) with this flag set is
237160813Smarcel#		preferred.  Setting this flag for sio0 gives the old behaviour.
238160813Smarcel#	0x20	force this unit to be the console (unless there is another
239160813Smarcel#		higher priority console).  This replaces the COMCONSOLE option.
240160813Smarcel#	0x40	reserve this unit for low level console operations.  Do not
241160813Smarcel#		access the device in any normal way.
242160813Smarcel#	0x80	use this port for serial line gdb support in ddb.  Also known
243160813Smarcel#		as debug port.
244160813Smarcel# PnP `flags'
245160813Smarcel#	0x1	disable probing of this device.  Used to prevent your modem
246160813Smarcel#		from being attached as a PnP modem.
247160813Smarcel# Other flags for sio that aren't documented in the man page.
248160813Smarcel#	0x20000	enable hardware RTS/CTS and larger FIFOs.  Only works for
249160813Smarcel#		ST16650A-compatible UARTs.
250160813Smarcel
251160813Smarcel# Options for sio:
252160813Smarceloptions 	COM_ESP			# Code for Hayes ESP.
253160813Smarceloptions 	COM_MULTIPORT		# Code for some cards with shared IRQs.
254160813Smarceloptions 	CONSPEED=115200		# Speed for serial console
255160813Smarcel					# (default 9600).
256160813Smarcel
257111314Snyandevice		speaker		#Play IBM BASIC-style noises out your speaker
258111314Snyanhint.speaker.0.at="isa"
259111314Snyanhint.speaker.0.port="0x35"
260124795Snyandevice		gzip		#Exec gzipped a.out's.  REQUIRES COMPAT_AOUT!
261111314Snyandevice		apm_saver	# Requires APM
262111314Snyan
263111314Snyan
264111314Snyan#####################################################################
265111314Snyan# HARDWARE BUS CONFIGURATION
266111314Snyan
267111314Snyan#
268111314Snyan# ISA bus
269111314Snyan#
270111314Snyandevice		isa
271111314Snyan
272111314Snyan#
273111314Snyan# Options for `isa':
274111314Snyan#
275111314Snyan# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
276111314Snyan# interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
277111314Snyan# This option breaks suspend/resume on some portables.
278111314Snyan#
279111314Snyan# MAXMEM specifies the amount of RAM on the machine; if this is not
280111314Snyan# specified, FreeBSD will first read the amount of memory from the CMOS
281111314Snyan# RAM, so the amount of memory will initially be limited to 64MB or 16MB
282111314Snyan# depending on the BIOS.  If the BIOS reports 64MB, a memory probe will
283111314Snyan# then attempt to detect the installed amount of RAM.  If this probe
284111314Snyan# fails to detect >64MB RAM you will have to use the MAXMEM option.
285111314Snyan# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
286111314Snyan# be 131072 (128 * 1024).
287111314Snyan#
288111314Snyan# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
289111314Snyan# reset the CPU for reboot.  This is needed on some systems with broken
290111314Snyan# keyboard controllers.
291111314Snyan
292111314Snyanoptions 	AUTO_EOI_1
293111314Snyan
294111314Snyanoptions 	MAXMEM=(128*1024)
295111314Snyan#options 	BROKEN_KEYBOARD_RESET
296111314Snyanoptions 	EPSON_BOUNCEDMA
297111314Snyanoptions 	EPSON_MEMWIN
298111314Snyan
299111314Snyan#
300111314Snyan# PCI bus & PCI options:
301111314Snyan#
302111314Snyandevice		pci
303111314Snyan
304111314Snyan#
305111314Snyan# AGP GART support
306111314Snyandevice		agp
307111314Snyan
308111314Snyan
309111314Snyan#####################################################################
310111314Snyan# HARDWARE DEVICE CONFIGURATION
311111314Snyan
312111314Snyan# PC98 keyboard
313111314Snyandevice		pckbd
314111314Snyanhint.pckbd.0.at="isa"
315111314Snyanhint.pckbd.0.port="0x041"
316111314Snyanhint.pckbd.0.irq="1"
317111314Snyan
318111314Snyan# GDC screen
319111314Snyandevice		gdc
320111314Snyanhint.gdc.0.at="isa"
321111314Snyanoptions 	LINE30
322111314Snyan
323111314Snyan#
324131815Snyan# The Numeric Processing eXtension driver.  This is non-optional.
325111314Snyandevice		npx
326111314Snyan
327111314Snyan#
328111314Snyan# `flags' for npx0:
329111314Snyan#	0x01	don't use the npx registers to optimize bcopy.
330111314Snyan#	0x02	don't use the npx registers to optimize bzero.
331111314Snyan#	0x04	don't use the npx registers to optimize copyin or copyout.
332111314Snyan# The npx registers are normally used to optimize copying and zeroing when
333111314Snyan# all of the following conditions are satisfied:
334111314Snyan#	I586_CPU is an option
335111314Snyan#	the cpu is an i586 (perhaps not a Pentium)
336111314Snyan#	the probe for npx0 succeeds
337111314Snyan#	INT 16 exception handling works.
338111314Snyan# Then copying and zeroing using the npx registers is normally 30-100% faster.
339111314Snyan# The flags can be used to control cases where it doesn't work or is slower.
340140371Sru# Setting them at boot time using hints works right (the optimizations
341111314Snyan# are not used until later in the bootstrap when npx0 is attached).
342111314Snyan# Flag 0x08 automatically disables the i586 optimized routines.
343111314Snyan#
344111314Snyan
345111314Snyan#
346111314Snyan# Optional devices:
347111314Snyan#
348111314Snyan
349124795Snyan# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support.  This will create
350124795Snyan# the /dev/3dfx0 device to work with glide implementations.  This should get
351124795Snyan# linked to /dev/3dfx and /dev/voodoo.  Note that this is not the same as
352111314Snyan# the tdfx DRI module from XFree86 and is completely unrelated.
353111314Snyan#
354111314Snyan# To enable Linuxulator support, one must also include COMPAT_LINUX in the
355156272Snyan# config as well.  The other option is to load both as modules.
356111314Snyan
357126708Snyandevice		tdfx			# Enable 3Dfx Voodoo support
358156272Snyandevice		tdfx_linux		# Enable Linuxulator support
359111314Snyan
360145183Snyan# Direct Rendering modules for 3D acceleration.
361145183Snyandevice		drm		# DRM core module required by DRM drivers
362145183Snyandevice		mach64drm	# ATI Rage Pro, Rage Mobility P/M, Rage XL
363145183Snyandevice		mgadrm		# AGP Matrox G200, G400, G450, G550
364145183Snyandevice		r128drm		# ATI Rage 128
365148235Snyandevice		radeondrm	# ATI Radeon
366152952Snyandevice		savagedrm	# S3 Savage3D, Savage4
367145183Snyandevice		sisdrm		# SiS 300/305, 540, 630
368145183Snyandevice		tdfxdrm		# 3dfx Voodoo 3/4/5 and Banshee
369145183Snyanoptions 	DRM_DEBUG	# Include debug printfs (slow)
370111314Snyan
371111314Snyan#
372111314Snyan# Bus mouse
373111314Snyan#
374111314Snyandevice		mse
375111314Snyanhint.mse.0.at="isa"
376111314Snyanhint.mse.0.port="0x7fd9"
377111314Snyanhint.mse.0.irq="13"
378111314Snyan
379111314Snyan#
380111314Snyan# Network interfaces:
381111314Snyan#
382111314Snyan
383111314Snyan# ar:   Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver
384111314Snyan#       (requires sppp)
385158357Snyan# ath:  Atheros a/b/g WiFi adapters (requires ath_hal and wlan)
386155215Snyan# ce:   Cronyx Tau-PCI/32 sync single/dual port G.703/E1 serial adaptor
387155215Snyan#       with 32 HDLC subchannels (requires sppp (default), or NETGRAPH if
388155215Snyan#       NETGRAPH_CRONYX is configured)
389129384Snyan# cp:   Cronyx Tau-PCI sync single/dual/four port
390129384Snyan#       V.35/RS-232/RS-530/RS-449/X.21/G.703/E1/E3/T3/STS-1
391129384Snyan#       serial adaptor (requires sppp (default), or NETGRAPH if
392129384Snyan#       NETGRAPH_CRONYX is configured)
393153581Simp# cs:   IBM Etherjet and other Crystal Semi CS89x0-based adapters and pccard
394111314Snyan# ed:   Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
395150555Simp#       HP PC Lan+, various PC Card devices
396111314Snyan#       (requires miibus)
397111314Snyan# ie:   AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210;
398111314Snyan#       Intel EtherExpress
399126708Snyan# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133.
400111314Snyan#       Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140,
401126708Snyan#       OC-3141, OC-3540 and OC-3250.
402159549Sjhb# ral:	Ralink Technology IEEE 802.11 wireless adapter
403126708Snyan# sbni: Granch SBNI12-xx ISA and PCI adapters
404111314Snyan# sr:   RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp)
405159549Sjhb# ural:	Ralink Technology RT2500USB IEEE 802.11 wireless adapter
406111314Snyan
407111314Snyan# Order for ISA/EISA devices is important here
408111314Snyan
409111314Snyandevice		ar
410155215Snyandevice		ce
411129384Snyandevice		cp
412153581Simpdevice		cs
413111314Snyandevice		ed
414111314Snyanhint.ed.0.at="isa"
415111314Snyanhint.ed.0.port="0x280"
416111314Snyanhint.ed.0.irq="5"
417111314Snyanhint.ed.0.maddr="0xd8000"
418112840Smdodddevice		ie			# Hints only required for Starlan
419112840Smdoddhint.ie.2.at="isa"
420112840Smdoddhint.ie.2.port="0x300"
421112840Smdoddhint.ie.2.irq="5"
422112840Smdoddhint.ie.2.maddr="0xd0000"
423158712Smarius# Hint for the PC98-only C-NET(98)S C-bus front-end of le(4).
424158712Smariushint.le.0.at="isa"
425158712Smariushint.le.0.port="0x03d0"
426158712Smariushint.le.0.irq="6"
427159549Sjhbdevice		oltr
428159549Sjhbdevice		ral
429111314Snyandevice		sbni
430111314Snyanhint.sbni.0.at="isa"
431111314Snyanhint.sbni.0.port="0x210"
432111314Snyanhint.sbni.0.irq="0xefdead"
433111314Snyanhint.sbni.0.flags="0"
434111314Snyandevice		snc
435111314Snyanhint.snc.0.at="isa"
436111314Snyanhint.snc.0.port="0x888"
437111314Snyanhint.snc.0.irq="6"
438111314Snyanhint.snc.0.maddr="0xc0000"
439111314Snyandevice		sr
440159549Sjhbdevice		ural
441111314Snyan
442158357Snyandevice		ath
443158357Snyandevice		ath_hal		# Atheros HAL (includes binary component)
444158357Snyan#device		ath_rate_amrr	# AMRR rate control for ath driver
445158357Snyan#device		ath_rate_onoe	# Onoe rate control for ath driver
446158357Snyandevice		ath_rate_sample	# SampleRate rate control for the ath driver
447158357Snyan#device		wlan		# 802.11 layer
448158357Snyan
449125234Snyan#
450111314Snyan# SCSI host adapters:
451125234Snyan#
452111314Snyan# ct: WD33C93[ABC] based SCSI host adapters.
453111314Snyan# ncv: NCR 53C500 based SCSI host adapters.
454111314Snyan# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
455111314Snyan# stg: TMC 18C30, 18C50 based SCSI host adapters.
456111314Snyan
457111314Snyandevice		ct
458111314Snyanhint.ct.0.at="isa"
459126708Snyandevice		ncv
460126708Snyandevice		nsp
461126708Snyandevice		stg
462111314Snyan
463111314Snyan#
464117918Snyan# SafeNet crypto driver: can be moved to the MI NOTES as soon as
465117918Snyan# it's tested on a big-endian machine
466117918Snyan#
467117918Snyandevice		safe		# SafeNet 1141
468142783Snyanoptions 	SAFE_DEBUG	# enable debugging support: hw.safe.debug
469142783Snyanoptions 	SAFE_RNDTEST	# enable rndtest support
470117918Snyan
471117918Snyan#####################################################################
472117918Snyan
473117918Snyan#
474111314Snyan# Miscellaneous hardware:
475111314Snyan#
476111314Snyan# apm: Laptop Advanced Power Management (experimental)
477111314Snyan# pmtimer: Timer device driver for power management events (APM or ACPI)
478124795Snyan# cy: Cyclades serial driver
479111314Snyan# digi: Digiboard driver
480111314Snyan
481111314Snyan# Notes on APM
482111314Snyan#  The flags takes the following meaning for apm0:
483111314Snyan#    0x0020  Statclock is broken.
484111314Snyan
485111314Snyandevice		apm
486111314Snyanhint.apm.0.flags="0x20"
487111314Snyandevice		canbus
488111314Snyandevice		canbepm
489128876Sbdedevice		cy
490127945Snyanoptions 	CY_PCI_FASTINTR		# Use with cy_pci unless irq is shared
491111314Snyandevice		digi
492111314Snyan# BIOS & FEP/OS components of device digi.
493111314Snyandevice		digi_CX
494111314Snyandevice		digi_CX_PCI
495111314Snyandevice		digi_EPCX
496111314Snyandevice		digi_EPCX_PCI
497111314Snyandevice		digi_Xe
498111314Snyandevice		digi_Xem
499111314Snyandevice		digi_Xr
500124795Snyandevice		olpt
501124795Snyanhint.olpt.0.at="isa"
502124795Snyanhint.olpt.0.port="0x040"
503128221Simpdevice		pmc
504128221Simphint.pmc.0.at="isa"
505128221Simphint.pmc.0.port="0x8f0"
506128221Simpdevice		pmtimer			# Adjust system timer at wakeup time
507111314Snyan
508111314Snyan#
509111314Snyan# Laptop/Notebook options:
510111314Snyan#
511111314Snyan# See also:
512111314Snyan#  apm under `Miscellaneous hardware'
513111314Snyan# above.
514111314Snyan
515111314Snyan# For older notebooks that signal a powerfail condition (external
516111314Snyan# power supply dropped, or battery state low) by issuing an NMI:
517111314Snyan
518111314Snyanoptions 	POWERFAIL_NMI	# make it beep instead of panicing
519111314Snyan
520111314Snyan#---------------------------------------------------------------------------
521111314Snyan# ISDN4BSD
522111314Snyan#
523111314Snyan# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
524111314Snyan#
525111314Snyan# i4b passive ISDN cards support contains the following hardware drivers:
526111314Snyan#
527111314Snyan#	isic  - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
528111314Snyan#	iwic  - Winbond W6692 PCI bus ISDN S/T interface controller
529111314Snyan#	ifpi  - AVM Fritz!Card PCI driver
530111314Snyan#	ifpi2  - AVM Fritz!Card PCI version 2 driver
531111314Snyan#	ihfc  - Cologne Chip HFC ISA/ISA-PnP chipset driver
532125234Snyan#	ifpnp - AVM Fritz!Card PnP driver
533111314Snyan#	itjc  - Siemens ISAC / TJNet Tiger300/320 chipset
534111314Snyan#
535111314Snyan# i4b active ISDN cards support contains the following hardware drivers:
536111314Snyan#
537111314Snyan#	iavc  - AVM B1 PCI, AVM B1 ISA, AVM T1
538111314Snyan#
539111314Snyan# Note that the ``options'' (if given) and ``device'' lines must BOTH
540111314Snyan# be uncommented to enable support for a given card !
541111314Snyan#
542111314Snyan# In addition to a hardware driver (and probably an option) the mandatory
543125234Snyan# ISDN protocol stack devices and the mandatory support device must be
544111314Snyan# enabled as well as one or more devices from the optional devices section.
545111314Snyan#
546111314Snyan#---------------------------------------------------------------------------
547111314Snyan#	isic driver (Siemens/Infineon chipsets)
548111314Snyan#
549111314Snyandevice	isic
550111314Snyan#
551111314Snyan# PCI bus Cards:
552111314Snyan# --------------
553111314Snyan#
554111314Snyan# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
555111314Snyanoptions 	ELSA_QS1PCI
556111314Snyan#
557111314Snyan#---------------------------------------------------------------------------
558111314Snyan#	ifpnp driver for AVM Fritz!Card PnP
559111314Snyan#
560111314Snyan# AVM Fritz!Card PnP
561126708Snyandevice		ifpnp
562111314Snyan#
563111314Snyan#---------------------------------------------------------------------------
564111314Snyan#	ihfc driver for Cologne Chip ISA chipsets (experimental!)
565111314Snyan#
566111314Snyan# Teles 16.3c ISA PnP
567111314Snyan# AcerISDN P10 ISA PnP
568111314Snyan# TELEINT ISDN SPEED No.1
569126708Snyandevice		ihfc
570111314Snyan#
571111314Snyan#---------------------------------------------------------------------------
572111314Snyan#	ifpi driver for AVM Fritz!Card PCI
573111314Snyan#
574111314Snyan# AVM Fritz!Card PCI
575126708Snyandevice		ifpi
576111314Snyan#
577111314Snyan#---------------------------------------------------------------------------
578111314Snyan#	ifpi2 driver for AVM Fritz!Card PCI version 2
579111314Snyan#
580111314Snyan# AVM Fritz!Card PCI version 2
581134634Srudevice		ifpi2
582111314Snyan#
583111314Snyan#---------------------------------------------------------------------------
584111314Snyan#	iwic driver for Winbond W6692 chipset
585111314Snyan#
586111314Snyan# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
587126708Snyandevice		iwic
588111314Snyan#
589111314Snyan#---------------------------------------------------------------------------
590125234Snyan#	itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset
591111314Snyan#
592111314Snyan# Traverse Technologies NETjet-S
593111314Snyan# Teles PCI-TJ
594126708Snyandevice		itjc
595111314Snyan#
596111314Snyan#---------------------------------------------------------------------------
597111314Snyan#	iavc driver (AVM active cards, needs i4bcapi driver!)
598111314Snyan#
599126708Snyandevice		iavc
600111314Snyan#
601111314Snyan#---------------------------------------------------------------------------
602111314Snyan#	ISDN Protocol Stack - mandatory for all hardware drivers
603111314Snyan#
604111314Snyan# Q.921 / layer 2 - i4b passive cards D channel handling
605134634Srudevice		i4bq921
606111314Snyan#
607111314Snyan# Q.931 / layer 3 - i4b passive cards D channel handling
608134634Srudevice		i4bq931
609111314Snyan#
610111314Snyan# layer 4 - i4b common passive and active card handling
611134634Srudevice		i4b
612111314Snyan#
613111314Snyan#---------------------------------------------------------------------------
614111314Snyan#	ISDN devices - mandatory for all hardware drivers
615111314Snyan#
616111314Snyan# userland driver to do ISDN tracing (for passive cards only)
617134634Srudevice		i4btrc
618142783Snyanoptions 	NI4BTRC=4
619111314Snyan#
620111314Snyan# userland driver to control the whole thing
621134634Srudevice		i4bctl
622111314Snyan#
623111314Snyan#---------------------------------------------------------------------------
624111314Snyan#	ISDN devices - optional
625111314Snyan#
626111314Snyan# userland driver for access to raw B channel
627134634Srudevice		i4brbch
628142783Snyanoptions 	NI4BRBCH=4
629111314Snyan#
630111314Snyan# userland driver for telephony
631134634Srudevice		i4btel
632134634Sruoptions 	NI4BTEL=2
633111314Snyan#
634171196Sbz#XXXBZ# IPR and ISPPP are not usable until I4B is locked.
635111314Snyan# network driver for IP over raw HDLC ISDN
636171196Sbz#XXXBZ#device		i4bipr
637171196Sbz#XXXBZ#options 	NI4BIPR=4
638111314Snyan# enable VJ header compression detection for ipr i/f
639171196Sbz#XXXBZ#options 	IPR_VJ
640111314Snyan# enable logging of the first n IP packets to isdnd (n=32 here)
641171196Sbz#XXXBZ#options 	IPR_LOG=32
642111314Snyan#
643111314Snyan# network driver for sync PPP over ISDN; requires an equivalent
644111314Snyan# number of sppp device to be configured
645171196Sbz#XXXBZ#device		i4bisppp
646171196Sbz#XXXBZ#options 	NI4BISPPP=4
647111314Snyan#
648111314Snyan# B-channel interface to the netgraph subsystem
649171196Sbz#XXXBZ#device		i4bing
650171196Sbz#XXXBZ#options 	NI4BING=2
651111314Snyan#
652111314Snyan# CAPI driver needed for active ISDN cards (see iavc driver above)
653134634Srudevice		i4bcapi
654111314Snyan#
655111314Snyan#---------------------------------------------------------------------------
656111314Snyan
657111314Snyan#
658111314Snyan# Set the number of PV entries per process.  Increasing this can
659124795Snyan# stop panics related to heavy use of shared memory.  However, that can
660111314Snyan# (combined with large amounts of physical memory) cause panics at
661111314Snyan# boot time due the kernel running out of VM space.
662111314Snyan#
663111314Snyan# If you're tweaking this, you might also want to increase the sysctls
664111314Snyan# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
665111314Snyan#
666111314Snyan# The value below is the one more than the default.
667111314Snyan#
668111314Snyanoptions 	PMAP_SHPGPERPROC=201
669111314Snyan
670111314Snyan#
671111314Snyan# Change the size of the kernel virtual address space.  Due to
672111314Snyan# constraints in loader(8) on i386, this must be a multiple of 4.
673111314Snyan# 256 = 1 GB of kernel address space.  Increasing this also causes
674111314Snyan# a reduction of the address space in user processes.  512 splits
675111314Snyan# the 4GB cpu address space in half (2GB user, 2GB kernel).
676111314Snyan#
677111314Snyanoptions 	KVA_PAGES=260
678111314Snyan
679111314Snyan
680111314Snyan#####################################################################
681111314Snyan# ABI Emulation
682111314Snyan
683111314Snyan# Enable iBCS2 runtime support for SCO and ISC binaries
684111314Snyanoptions 	IBCS2
685111314Snyan
686111314Snyan# Emulate spx device for client side of SVR3 local X interface
687111314Snyanoptions 	SPX_HACK
688111314Snyan
689111314Snyan# Enable Linux ABI emulation
690111314Snyanoptions 	COMPAT_LINUX
691111314Snyan
692111314Snyan# Enable i386 a.out binary support
693111314Snyanoptions 	COMPAT_AOUT
694111314Snyan
695111314Snyan# Enable the linux-like proc filesystem support (requires COMPAT_LINUX
696111314Snyan# and PSEUDOFS)
697111314Snyanoptions 	LINPROCFS
698111314Snyan
699158381Sambrisko# Enable the linux-like sys filesystem support (requires COMPAT_LINUX
700158381Sambrisko# and PSEUDOFS)
701158381Sambriskooptions 	LINSYSFS
702158381Sambrisko
703111314Snyan#
704111314Snyan# SysVR4 ABI emulation
705111314Snyan#
706111314Snyan# The svr4 ABI emulator can be statically compiled into the kernel or loaded as
707125234Snyan# a KLD module.
708125234Snyan# The STREAMS network emulation code can also be compiled statically or as a
709111314Snyan# module.  If loaded as a module, it must be loaded before the svr4 module
710111314Snyan# (the /usr/sbin/svr4 script does this for you).  If compiling statically,
711111314Snyan# the `streams' device must be configured into any kernel which also
712125234Snyan# specifies COMPAT_SVR4.  It is possible to have a statically-configured
713111314Snyan# STREAMS device and a dynamically loadable svr4 emulator;  the /usr/sbin/svr4
714111314Snyan# script understands that it doesn't need to load the `streams' module under
715111314Snyan# those circumstances.
716111314Snyan# Caveat:  At this time, `options KTRACE' is required for the svr4 emulator
717125234Snyan# (whether static or dynamic).
718125234Snyan#
719111314Snyanoptions 	COMPAT_SVR4	# build emulator statically
720111314Snyanoptions 	DEBUG_SVR4	# enable verbose debugging
721111314Snyandevice		streams		# STREAMS network driver (required for svr4).
722111314Snyan
723111314Snyan
724111314Snyan#####################################################################
725111314Snyan# VM OPTIONS
726111314Snyan
727111314Snyan# Disable the 4 MByte page PSE CPU feature.  The PSE feature allows the
728130596Snyan# kernel to use 4 MByte pages to map the kernel instead of 4k pages.
729111314Snyan# This saves on the amount of memory needed for page tables needed to
730111314Snyan# map the kernel.  You should only disable this feature as a temporary
731111314Snyan# workaround if you are having problems with it enabled.
732111314Snyan#
733111314Snyan#options 	DISABLE_PSE
734111314Snyan
735111314Snyan# Disable the global pages PGE CPU feature.  The PGE feature allows pages
736111314Snyan# to be marked with the PG_G bit.  TLB entries for these pages are not
737111314Snyan# flushed from the cache when %cr3 is reloaded.  This can make context
738111314Snyan# switches less expensive.  You should only disable this feature as a
739111314Snyan# temporary workaround if you are having problems with it enabled.
740111314Snyan#
741111314Snyan#options 	DISABLE_PG_G
742111314Snyan
743111314Snyan# KSTACK_PAGES is the number of memory pages to assign to the kernel
744111314Snyan# stack of each thread.
745111314Snyan
746111314Snyanoptions 	KSTACK_PAGES=3
747111314Snyan
748111314Snyan#####################################################################
749111314Snyan
750111314Snyan# More undocumented options for linting.
751111314Snyan# Note that documenting these are not considered an affront.
752111314Snyan
753111314Snyanoptions 	FB_INSTALL_CDEV		# install a CDEV entry in /dev
754111314Snyan
755111314Snyan# PECOFF module (Win32 Execution Format)
756111314Snyanoptions 	PECOFF_SUPPORT
757111314Snyanoptions 	PECOFF_DEBUG
758111314Snyan
759111314Snyanoptions 	I4B_SMP_WORKAROUND
760111314Snyanoptions 	I586_PMC_GUPROF=0x70000
761111314Snyanoptions 	KBDIO_DEBUG=2
762111314Snyanoptions 	KBD_MAXRETRY=4
763111314Snyanoptions 	KBD_MAXWAIT=6
764111314Snyanoptions 	KBD_RESETDELAY=201
765111314Snyan
766111314Snyanoptions 	TIMER_FREQ=((14318182+6)/12)
767111314Snyan
768111314Snyanoptions 	VM_KMEM_SIZE
769111314Snyanoptions 	VM_KMEM_SIZE_MAX
770111314Snyanoptions 	VM_KMEM_SIZE_SCALE
771111314Snyan
772111500Sobrien
773111500Sobrien#####################################################################
774111500Sobrien# Devices we don't want to deal with
775111500Sobrien
776116382Snyannodevice	bt
777116382Snyannodevice	adw
778111500Sobriennodevice	aha
779116382Snyannodevice	ahb
780116382Snyannodevice	ahd
781116382Snyannodevice	mpt
782116382Snyannodevice	trm
783111500Sobriennodevice	wds
784111500Sobriennodevice	dpt
785111500Sobriennodevice	ciss
786111500Sobriennodevice	iir
787111500Sobriennodevice	mly
788111500Sobriennodevice	ida		# Compaq Smart RAID
789111500Sobriennodevice	mlx		# Mylex DAC960
790111500Sobriennodevice	amr		# AMI MegaRAID
791111500Sobriennodevice	twe		# 3ware ATA RAID
792125086Snyannodevice	ataraid
793116382Snyannodevice	cm
794116382Snyannodevice	ex
795116382Snyannodevice	fea
796116382Snyannodevice	intpm
797116382Snyannodevice	alpm
798116382Snyannodevice	ichsmb
799116382Snyannodevice	viapm
800116382Snyannodevice	amdpm
801153643Snyannodevice	amdsmb
802116382Snyannodevice	nfpm
803153643Snyannodevice	nfsmb
804111582Sru
805111582Sru
806111582Sru#####################################################################
807111582Sru# Options we don't want to deal with
808111582Sru
809116382Snyannooption	AHD_DEBUG
810116382Snyannooption	AHD_DEBUG_OPTS
811116382Snyannooption	AHD_REG_PRETTY_PRINT
812116382Snyannooption	ADW_ALLOW_MEMIO
813111582Srunooption	DPT_LOST_IRQ
814111582Srunooption	DPT_RESET_HBA
815111582Srunooption	DPT_TIMEOUT_FACTOR
816116382Snyannooption	AAC_DEBUG
817111582Sru
818111582Sru
819111582Sru#####################################################################
820111582Sru# Make options we don't want to deal with
821