xref: /freebsd/sys/i386/conf/NOTES (revision 8579e9cfbd163e6bc3857377b3d958213239eeac)
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$
8#
9
10#
11# This directive is mandatory; it defines the architecture to be
12# configured for; in this case, the 386 family based IBM-PC and
13# compatibles.
14#
15machine		i386
16
17
18#####################################################################
19# SMP OPTIONS:
20#
21# APIC_IO enables the use of the IO APIC for Symmetric I/O.
22#
23# Notes:
24#
25#  An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard.
26#
27#  Be sure to disable 'cpu I386_CPU' && 'cpu I486_CPU' for SMP kernels.
28#
29#  Check the 'Rogue SMP hardware' section to see if additional options
30#   are required by your hardware.
31#
32
33# Mandatory:
34options 	APIC_IO			# Symmetric (APIC) I/O
35
36#
37# Rogue SMP hardware:
38#
39
40# Bridged PCI cards:
41#
42# The MP tables of most of the current generation MP motherboards
43#  do NOT properly support bridged PCI cards.  To use one of these
44#  cards you should refer to ???
45
46
47#####################################################################
48# CPU OPTIONS
49
50#
51# You must specify at least one CPU (the one you intend to run on);
52# deleting the specification for CPUs you don't need to use may make
53# parts of the system run faster.
54# I386_CPU is mutually exclusive with the other CPU types.
55#
56#cpu		I386_CPU
57cpu		I486_CPU
58cpu		I586_CPU		# aka Pentium(tm)
59cpu		I686_CPU		# aka Pentium Pro(tm)
60
61#
62# Options for CPU features.
63#
64# CPU_ATHLON_SSE_HACK tries to enable SSE instructions when the BIOS has
65# forgotten to enable them.
66#
67# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM
68# BlueLightning CPU.  It works only with Cyrix FPU, and this option
69# should not be used with Intel FPU.
70#
71# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning
72# CPU if CPU supports it. The default is double-clock mode on
73# BlueLightning CPU box.
74#
75# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1).
76#
77# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct
78# mapped mode.  Default is 2-way set associative mode.
79#
80# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space
81# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1.
82# Otherwise, the NO_LOCK bit of CCR1 is cleared.  (NOTE 3)
83#
84# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e. enables
85# reorder).  This option should not be used if you use memory mapped
86# I/O device(s).
87#
88# CPU_ELAN enables support for AMDs ElanSC520 CPU.
89#
90# CPU_ENABLE_SSE enables SSE/MMX2 instructions support.  This is default
91# on I686_CPU and above.
92# CPU_DISABLE_SSE explicitly prevent I686_CPU from turning on SSE.
93#
94# CPU_FASTER_5X86_FPU enables faster FPU exception handler.
95#
96# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products
97# for i386 machines.
98#
99# CPU_IORT defines I/O clock delay time (NOTE 1).  Default values of
100# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively
101# (no clock delay).
102#
103# CPU_L2_LATENCY specifed the L2 cache latency value.  This option is used
104# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected.
105# The default value is 5.
106#
107# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination
108# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE
109# 1).
110#
111# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs.  This option
112# is useful when you use Socket 8 to Socket 370 converter, because most Pentium
113# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs.
114#
115# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1).
116#
117# CPU_SUSP_HLT enables suspend on HALT.  If this option is set, CPU
118# enters suspend mode following execution of HALT instruction.
119#
120# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s).
121#
122# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD
123# K5/K6/K6-2 cpus.
124#
125# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache
126# flush at hold state.
127#
128# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs
129# without cache flush at hold state, and (2) write-back CPU cache on
130# Cyrix 6x86 whose revision < 2.7 (NOTE 2).
131#
132# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY
133# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is
134# executed.  This option is only needed if I586_CPU is also defined,
135# and should be included for any non-Pentium CPU that defines it.
136#
137# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors
138# which indicates that the 15-16MB range is *definitely* not being
139# occupied by an ISA memory hole.
140#
141# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT,
142# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs.
143# These options may crash your system.
144#
145# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled
146# in write-through mode when revision < 2.7.  If revision of Cyrix
147# 6x86 >= 2.7, CPU cache is always enabled in write-back mode.
148#
149# NOTE 3: This option may cause failures for software that requires
150# locked cycles in order to operate correctly.
151#
152options 	CPU_ATHLON_SSE_HACK
153options 	CPU_BLUELIGHTNING_FPU_OP_CACHE
154options 	CPU_BLUELIGHTNING_3X
155options 	CPU_BTB_EN
156options 	CPU_DIRECT_MAPPED_CACHE
157options 	CPU_DISABLE_5X86_LSSER
158options 	CPU_ELAN
159options 	CPU_ENABLE_SSE
160#options 	CPU_DISABLE_SSE
161options 	CPU_FASTER_5X86_FPU
162options 	CPU_I486_ON_386
163options 	CPU_IORT
164options 	CPU_L2_LATENCY=5
165options 	CPU_LOOP_EN
166options 	CPU_PPRO2CELERON
167options 	CPU_RSTK_EN
168options 	CPU_SUSP_HLT
169options 	CPU_UPGRADE_HW_CACHE
170options 	CPU_WT_ALLOC
171options 	CYRIX_CACHE_WORKS
172options 	CYRIX_CACHE_REALLY_WORKS
173#options 	NO_F00F_HACK
174
175#
176# A math emulator is mandatory if you wish to run on hardware which
177# does not have a floating-point processor.  Pick either the original,
178# bogus (but freely-distributable) math emulator, or a much more
179# fully-featured but GPL-licensed emulator taken from Linux.
180#
181options 	MATH_EMULATE		#Support for x87 emulation
182# Don't enable both of these in a real config.
183options 	GPL_MATH_EMULATE	#Support for x87 emulation via
184					#new math emulator
185
186#
187# PERFMON causes the driver for Pentium/Pentium Pro performance counters
188# to be compiled.  See perfmon(4) for more information.
189#
190options 	PERFMON
191
192
193#####################################################################
194# NETWORKING OPTIONS
195
196#
197# DEVICE_POLLING adds support for mixed interrupt-polling handling
198# of network device drivers, which has significant benefits in terms
199# of robustness to overloads and responsivity, as well as permitting
200# accurate scheduling of the CPU time between kernel network processing
201# and other activities. The drawback is a moderate (up to 1/HZ seconds)
202# potential increase in response times.
203# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
204# to achieve smoother behaviour.
205# Additionally, you can enable/disable polling at runtime with the
206# sysctl variable kern.polling.enable (defaults off), and select
207# the CPU fraction reserved to userland with the sysctl variable
208# kern.polling.user_frac (default 50, range 0..100).
209#
210# Only the "dc" "fxp" and "sis" devices support this mode of operation at
211# the time of this writing.
212
213options 	DEVICE_POLLING
214
215
216#####################################################################
217# CLOCK OPTIONS
218
219# The following options are used for debugging clock behavior only, and
220# should not be used for production systems.
221#
222# CLK_CALIBRATION_LOOP will run the clock calibration loop at startup
223# until the user presses a key.
224
225options 	CLK_CALIBRATION_LOOP
226
227# The following two options measure the frequency of the corresponding
228# clock relative to the RTC (onboard mc146818a).
229
230options 	CLK_USE_I8254_CALIBRATION
231options 	CLK_USE_TSC_CALIBRATION
232
233
234#####################################################################
235# MISCELLANEOUS DEVICES AND OPTIONS
236
237device		speaker		#Play IBM BASIC-style noises out your speaker
238device		gzip		#Exec gzipped a.out's. REQUIRES COMPAT_AOUT!
239device		apm_saver	# Requires APM
240
241
242#####################################################################
243# HARDWARE BUS CONFIGURATION
244
245#
246# ISA bus
247#
248device		isa
249
250#
251# Options for `isa':
252#
253# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
254# interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
255# This option breaks suspend/resume on some portables.
256#
257# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
258# interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
259# Automatic EOI is documented not to work for for the slave with the
260# original i8259A, but it works for some clones and some integrated
261# versions.
262#
263# MAXMEM specifies the amount of RAM on the machine; if this is not
264# specified, FreeBSD will first read the amount of memory from the CMOS
265# RAM, so the amount of memory will initially be limited to 64MB or 16MB
266# depending on the BIOS.  If the BIOS reports 64MB, a memory probe will
267# then attempt to detect the installed amount of RAM.  If this probe
268# fails to detect >64MB RAM you will have to use the MAXMEM option.
269# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
270# be 131072 (128 * 1024).
271#
272# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
273# reset the CPU for reboot.  This is needed on some systems with broken
274# keyboard controllers.
275
276options 	COMPAT_OLDISA	#Use ISA shims and glue for old drivers
277options 	AUTO_EOI_1
278#options 	AUTO_EOI_2
279
280options 	MAXMEM="(128*1024)"
281#options 	BROKEN_KEYBOARD_RESET
282
283#
284# EISA bus
285#
286# The EISA bus device is `eisa'.  It provides auto-detection and
287# configuration support for all devices on the EISA bus.
288
289device		eisa
290
291# By default, only 10 EISA slots are probed, since the slot numbers
292# above clash with the configuration address space of the PCI subsystem,
293# and the EISA probe is not very smart about this.  This is sufficient
294# for most machines, but in particular the HP NetServer LC series comes
295# with an onboard AIC7770 dual-channel SCSI controller on EISA slot #11,
296# thus you need to bump this figure to 12 for them.
297options 	EISA_SLOTS=12
298
299#
300# MCA bus:
301#
302# The MCA bus device is `mca'.  It provides auto-detection and
303# configuration support for all devices on the MCA bus.
304# No hints are required for MCA.
305
306device		mca
307
308#
309# PCI bus & PCI options:
310#
311device		pci
312
313#
314# AGP GART support
315device		agp
316
317
318#####################################################################
319# HARDWARE DEVICE CONFIGURATION
320
321#
322# Mandatory devices:
323#
324
325# To include support for VGA VESA video modes
326options 	VESA
327
328# Turn on extra debugging checks and output for VESA support.
329options 	VESA_DEBUG
330
331# The pcvt console driver (vt220 compatible).
332device		vt
333hint.vt.0.at="isa"
334options 	XSERVER			# support for running an X server on vt
335options 	FAT_CURSOR		# start with block cursor
336# This PCVT option is for keyboards such as those used on really old ThinkPads
337options 	PCVT_SCANSET=2
338# Other PCVT options are documented in pcvt(4).
339options 	PCVT_24LINESDEF
340options 	PCVT_CTRL_ALT_DEL
341options 	PCVT_META_ESC
342options 	PCVT_NSCREENS=9
343options 	PCVT_PRETTYSCRNS
344options 	PCVT_SCREENSAVER
345options 	PCVT_USEKBDSEC
346options 	PCVT_VT220KEYB
347options 	PCVT_GREENSAVER
348
349#
350# The Numeric Processing eXtension driver.  In addition to this, you
351# may configure a math emulator (see above).  If your machine has a
352# hardware FPU and the kernel configuration includes the npx device
353# *and* a math emulator compiled into the kernel, the hardware FPU
354# will be used, unless it is found to be broken or unless "flags" to
355# npx0 includes "0x08", which requests preference for the emulator.
356device		npx
357hint.npx.0.at="nexus"
358hint.npx.0.port="0x0F0"
359hint.npx.0.flags="0x0"
360hint.npx.0.irq="13"
361
362#
363# `flags' for npx0:
364#	0x01	don't use the npx registers to optimize bcopy.
365#	0x02	don't use the npx registers to optimize bzero.
366#	0x04	don't use the npx registers to optimize copyin or copyout.
367#	0x08	use emulator even if hardware FPU is available.
368# The npx registers are normally used to optimize copying and zeroing when
369# all of the following conditions are satisfied:
370#	I586_CPU is an option
371#	the cpu is an i586 (perhaps not a Pentium)
372#	the probe for npx0 succeeds
373#	INT 16 exception handling works.
374# Then copying and zeroing using the npx registers is normally 30-100% faster.
375# The flags can be used to control cases where it doesn't work or is slower.
376# Setting them at boot time using userconfig works right (the optimizations
377# are not used until later in the bootstrap when npx0 is attached).
378# Flag 0x08 automatically disables the i586 optimized routines.
379#
380
381#
382# Optional devices:
383#
384
385#
386# ACPI support using the Intel ACPI Component Architecture reference
387# implementation.
388#
389# ACPI_DEBUG enables the use of the debug.acpi.level and debug.acpi.layer
390# kernel environment variables to select initial debugging levels for the
391# Intel ACPICA code.  (Note that the Intel code must also have USE_DEBUGGER
392# defined when it is built).
393#
394# Note that building ACPI into the kernel is deprecated; the module is
395# normally loaded automatically by the loader.
396#
397device		acpica
398options 	ACPI_DEBUG
399
400# M-systems DiskOnchip products see src/sys/contrib/dev/fla/README
401device		fla
402hint.fla.0.at="isa"
403
404#
405# mse: Logitech and ATI InPort bus mouse ports
406
407device		mse
408hint.mse.0.at="isa"
409hint.mse.0.port="0x23c"
410hint.mse.0.irq="5"
411
412#
413# Network interfaces:
414#
415
416# cx:   Cronyx/Sigma multiport sync/async (with Cisco or PPP framing)
417# el:   3Com 3C501 (slow!)
418# ie:   AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210;
419#       Intel EtherExpress
420# le:   Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100,
421#       DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422)
422# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133
423#       (no hints needed).
424#       Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140,
425#       OC-3141, OC-3540, OC-3250
426# rdp:  RealTek RTL 8002-based pocket ethernet adapters
427# sbni:	Granch SBNI12-xx ISA and PCI adapters
428
429# Order for ISA/EISA devices is important here
430
431device		cx	1
432hint.cx.0.at="isa"
433hint.cx.0.port="0x240"
434hint.cx.0.irq="15"
435hint.cx.0.drq="7"
436device		el	1
437hint.el.0.at="isa"
438hint.el.0.port="0x300"
439hint.el.0.irq="9"
440device		ie	2
441hint.ie.0.at="isa"
442hint.ie.0.port="0x300"
443hint.ie.0.irq="5"
444hint.ie.0.maddr="0xd0000"
445hint.ie.1.at="isa"
446hint.ie.1.port="0x360"
447hint.ie.1.irq="7"
448hint.ie.1.maddr="0xd0000"
449device		le	1
450hint.le.0.at="isa"
451hint.le.0.port="0x300"
452hint.le.0.irq="5"
453hint.le.0.maddr="0xd0000"
454device		rdp	1
455hint.rdp.0.at="isa"
456hint.rdp.0.port="0x378"
457hint.rdp.0.irq="7"
458hint.rdp.0.flags="2"
459device		sbni
460hint.sbni.0.at="isa"
461hint.sbni.0.port="0x210"
462hint.sbni.0.irq="0xefdead"
463hint.sbni.0.flags="0"
464
465device		oltr
466hint.oltr.0.at="isa"
467
468#
469# Audio drivers: `pca'
470#
471# pca: PCM audio through your PC speaker
472
473device		pca
474hint.pca.0.at="isa"
475hint.pca.0.port="0x040"
476
477#
478# Miscellaneous hardware:
479#
480# mcd: Mitsumi CD-ROM using proprietary (non-ATAPI) interface
481# scd: Sony CD-ROM using proprietary (non-ATAPI) interface
482# matcd: Matsushita/Panasonic CD-ROM using proprietary (non-ATAPI) interface
483# wt: Wangtek and Archive QIC-02/QIC-36 tape drives
484# ctx: Cortex-I frame grabber
485# apm: Laptop Advanced Power Management (experimental)
486# pmtimer: Timer device driver for power management events (APM or ACPI)
487# spigot: The Creative Labs Video Spigot video-acquisition board
488# gp:  National Instruments AT-GPIB and AT-GPIB/TNT board, PCMCIA-GPIB
489# asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey
490# gsc: Genius GS-4500 hand scanner.
491# rc: RISCom/8 multiport card
492# tw: TW-523 power line interface for use with X-10 home control products
493# spic: Sony Programmable I/O controller (VAIO notebooks)
494# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based)
495# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent)
496
497# Notes on APM
498#  The flags takes the following meaning for apm0:
499#    0x0020  Statclock is broken.
500#  If apm is omitted, some systems require sysctl kern.timecounter.method=1
501#  for correct timekeeping.
502
503# Notes on the spigot:
504#  The video spigot is at 0xad6.  This port address can not be changed.
505#  The irq values may only be 10, 11, or 15
506#  I/O memory is an 8kb region.  Possible values are:
507#    0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff
508#    The start address must be on an even boundary.
509#  Add the following option if you want to allow non-root users to be able
510#  to access the spigot.  This option is not secure because it allows users
511#  direct access to the I/O page.
512#  	options SPIGOT_UNSECURE
513
514# Notes on the Specialix SI/XIO driver:
515#  The host card is memory, not IO mapped.
516#  The Rev 1 host cards use a 64K chunk, on a 32K boundary.
517#  The Rev 2 host cards use a 32K chunk, on a 32K boundary.
518#  The cards can use an IRQ of 11, 12 or 15.
519
520# Notes on the Sony Programmable I/O controller
521#  This is a temporary driver that should someday be replaced by something
522#  that hooks into the ACPI layer. The device is hooked to the PIIX4's
523#  General Device 10 decoder, which means you have to fiddle with PCI
524#  registers to map it in, even though it is otherwise treated here as
525#  an ISA device. At the moment, the driver polls, although the device
526#  is capable of generating interrupts. It largely undocumented.
527#  The port location in the hint is where you WANT the device to be
528#  mapped. 0x10a0 seems to be traditional. At the moment the jogdial
529#  is the only thing truly supported, but aparently a fair percentage
530#  of the Vaio extra features are controlled by this device.
531
532# Notes on the Stallion stl and stli drivers:
533#  See src/i386/isa/README.stl for complete instructions.
534#  This is version 0.0.5alpha, unsupported by Stallion.
535#  The stl driver has a secondary IO port hard coded at 0x280.  You need
536#     to change src/i386/isa/stallion.c if you reconfigure this on the boards.
537#  The "flags" and "msize" settings on the stli driver depend on the board:
538#	EasyConnection 8/64 ISA:     flags 23         msize 0x1000
539#	EasyConnection 8/64 EISA:    flags 24         msize 0x10000
540#	EasyConnection 8/64 MCA:     flags 25         msize 0x1000
541#	ONboard ISA:                 flags 4          msize 0x10000
542#	ONboard EISA:                flags 7          msize 0x10000
543#	ONboard MCA:                 flags 3          msize 0x10000
544#	Brumby:                      flags 2          msize 0x4000
545#	Stallion:                    flags 1          msize 0x10000
546
547device		mcd	1
548hint.mcd.0.at="isa"
549hint.mcd.0.port="0x300"
550hint.mcd.0.irq="10"
551# for the Sony CDU31/33A CDROM
552device		scd	1
553hint.scd.0.at="isa"
554hint.scd.0.port="0x230"
555# for the SoundBlaster 16 multicd - up to 4 devices
556device		matcd	1
557hint.matcd.0.at="isa"
558hint.matcd.0.port="0x230"
559device		wt	1
560hint.wt.0.at="isa"
561hint.wt.0.port="0x300"
562hint.wt.0.irq="5"
563hint.wt.0.drq="1"
564device		ctx	1
565hint.ctx.0.at="isa"
566hint.ctx.0.port="0x230"
567hint.ctx.0.maddr="0xd0000"
568device		spigot	1
569hint.spigot.0.at="isa"
570hint.spigot.0.port="0xad6"
571hint.spigot.0.irq="15"
572hint.spigot.0.maddr="0xee000"
573device		apm
574hint.apm.0.flags="0x20"
575device		pmtimer			# Adjust system timer at wakeup time
576hint.pmtimer.0.at="isa"
577device		gp
578hint.gp.0.at="isa"
579hint.gp.0.port="0x2c0"
580device		gsc	1
581hint.gsc.0.at="isa"
582hint.gsc.0.port="0x270"
583hint.gsc.0.drq="3"
584device		rc	1
585hint.rc.0.at="isa"
586hint.rc.0.port="0x220"
587hint.rc.0.irq="12"
588# the port and irq for tw0 are fictitious
589device		tw	1
590hint.tw.0.at="isa"
591hint.tw.0.port="0x380"
592hint.tw.0.irq="11"
593device		asc	1
594hint.asc.0.at="isa"
595hint.asc.0.port="0x3EB"
596hint.asc.0.drq="3"
597hint.asc.0.irq="10"
598device		spic
599hint.spic.0.at="isa"
600hint.spic.0.port="0x10a0"
601device		stl
602hint.stl.0.at="isa"
603hint.stl.0.port="0x2a0"
604hint.stl.0.irq="10"
605device		stli
606hint.stli.0.at="isa"
607hint.stli.0.port="0x2a0"
608hint.stli.0.maddr="0xcc000"
609hint.stli.0.flags="23"
610hint.stli.0.msize="0x1000"
611# You are unlikely to have the hardware for loran <phk@FreeBSD.org>
612device		loran
613hint.loran.0.at="isa"
614hint.loran.0.irq="5"
615
616#
617# Laptop/Notebook options:
618#
619# See also:
620#  apm under `Miscellaneous hardware'
621# above.
622
623# For older notebooks that signal a powerfail condition (external
624# power supply dropped, or battery state low) by issuing an NMI:
625
626options 	POWERFAIL_NMI	# make it beep instead of panicing
627
628#
629# I2C Bus
630#
631# Philips i2c bus support is provided by the `iicbus' device.
632#
633# Supported interfaces:
634# pcf	Philips PCF8584 ISA-bus controller
635#
636device		pcf
637hint.pcf.0.at="isa"
638hint.pcf.0.port="0x320"
639hint.pcf.0.irq="5"
640
641#---------------------------------------------------------------------------
642# ISDN4BSD
643#
644# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
645#
646# i4b passive ISDN cards support contains the following hardware drivers:
647#
648#	isic  - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
649#	iwic  - Winbond W6692 PCI bus ISDN S/T interface controller
650#	ifpi  - AVM Fritz!Card PCI driver
651#	ifpi2  - AVM Fritz!Card PCI version 2 driver
652#	ihfc  - Cologne Chip HFC ISA/ISA-PnP chipset driver
653#	ifpnp - AVM Fritz!Card PnP driver
654#	itjc  - Siemens ISAC / TJNet Tiger300/320 chipset
655#
656# i4b active ISDN cards support contains the following hardware drivers:
657#
658#	iavc  - AVM B1 PCI, AVM B1 ISA, AVM T1
659#
660# Note that the ``options'' (if given) and ``device'' lines must BOTH
661# be uncommented to enable support for a given card !
662#
663# In addition to a hardware driver (and probably an option) the mandatory
664# ISDN protocol stack devices and the mandatory support device must be
665# enabled as well as one or more devices from the optional devices section.
666#
667#---------------------------------------------------------------------------
668#	isic driver (Siemens/Infineon chipsets)
669#
670device	isic
671#
672# ISA bus non-PnP Cards:
673# ----------------------
674#
675# Teles S0/8 or Niccy 1008
676options 	TEL_S0_8
677hint.isic.0.at="isa"
678hint.isic.0.maddr="0xd0000"
679hint.isic.0.irq="5"
680hint.isic.0.flags="1"
681#
682# Teles S0/16 or Creatix ISDN-S0 or Niccy 1016
683options 	TEL_S0_16
684hint.isic.0.at="isa"
685hint.isic.0.port="0xd80"
686hint.isic.0.maddr="0xd0000"
687hint.isic.0.irq="5"
688hint.isic.0.flags="2"
689#
690# Teles S0/16.3
691options 	TEL_S0_16_3
692hint.isic.0.at="isa"
693hint.isic.0.port="0xd80"
694hint.isic.0.irq="5"
695hint.isic.0.flags="3"
696#
697# AVM A1 or AVM Fritz!Card
698options 	AVM_A1
699hint.isic.0.at="isa"
700hint.isic.0.port="0x340"
701hint.isic.0.irq="5"
702hint.isic.0.flags="4"
703#
704# USRobotics Sportster ISDN TA intern
705options 	USR_STI
706hint.isic.0.at="isa"
707hint.isic.0.port="0x268"
708hint.isic.0.irq="5"
709hint.isic.0.flags="7"
710#
711# ITK ix1 Micro ( < V.3, non-PnP version )
712options 	ITKIX1
713hint.isic.0.at="isa"
714hint.isic.0.port="0x398"
715hint.isic.0.irq="10"
716hint.isic.0.flags="18"
717#
718# ELSA PCC-16
719options 	ELSA_PCC16
720hint.isic.0.at="isa"
721hint.isic.0.port="0x360"
722hint.isic.0.irq="10"
723hint.isic.0.flags="20"
724#
725# ISA bus PnP Cards:
726# ------------------
727#
728# Teles S0/16.3 PnP
729options 	TEL_S0_16_3_P
730#
731# Creatix ISDN-S0 P&P
732options 	CRTX_S0_P
733#
734# Dr. Neuhaus Niccy Go@
735options 	DRN_NGO
736#
737# Sedlbauer Win Speed
738options 	SEDLBAUER
739#
740# Dynalink IS64PH
741options 	DYNALINK
742#
743# ELSA QuickStep 1000pro ISA
744options 	ELSA_QS1ISA
745#
746# Siemens I-Surf 2.0
747options 	SIEMENS_ISURF2
748#
749# Asuscom ISDNlink 128K ISA
750options 	ASUSCOM_IPAC
751#
752# Eicon Diehl DIVA 2.0 and 2.02
753options 	EICON_DIVA
754#
755# Compaq Microcom 610 ISDN card (Compaq series PSB2222I)
756options 	COMPAQ_M610
757#
758# PCI bus Cards:
759# --------------
760#
761# Cyclades Cyclom-Y PCI serial driver
762device		cy	1
763options 	CY_PCI_FASTINTR		# Use with cy_pci unless irq is shared
764hint.cy.0.at="isa"
765hint.cy.0.irq="10"
766hint.cy.0.maddr="0xd4000"
767hint.cy.0.msize="0x2000"
768#
769#---------------------------------------------------------------------------
770# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
771options 	ELSA_QS1PCI
772#
773#
774#---------------------------------------------------------------------------
775#	ifpnp driver for AVM Fritz!Card PnP
776#
777# AVM Fritz!Card PnP
778device ifpnp
779#
780#---------------------------------------------------------------------------
781#	ihfc driver for Cologne Chip ISA chipsets (experimental!)
782#
783# Teles 16.3c ISA PnP
784# AcerISDN P10 ISA PnP
785# TELEINT ISDN SPEED No.1
786device ihfc
787#
788#---------------------------------------------------------------------------
789#	ifpi driver for AVM Fritz!Card PCI
790#
791# AVM Fritz!Card PCI
792device  ifpi
793#
794#---------------------------------------------------------------------------
795#	ifpi2 driver for AVM Fritz!Card PCI version 2
796#
797# AVM Fritz!Card PCI version 2
798device  "ifpi2"
799#
800#---------------------------------------------------------------------------
801#	iwic driver for Winbond W6692 chipset
802#
803# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
804device  iwic
805#
806#---------------------------------------------------------------------------
807#	itjc driver for Simens ISAC / TJNet Tiger300/320 chipset
808#
809# Traverse Technologies NETjet-S
810# Teles PCI-TJ
811device  itjc
812#
813#---------------------------------------------------------------------------
814#	iavc driver (AVM active cards, needs i4bcapi driver!)
815#
816device	iavc
817#
818# AVM B1 ISA bus (PnP mode not supported!)
819# ----------------------------------------
820hint.iavc.0.at="isa"
821hint.iavc.0.port="0x150"
822hint.iavc.0.irq="5"
823#
824#---------------------------------------------------------------------------
825#	ISDN Protocol Stack - mandatory for all hardware drivers
826#
827# Q.921 / layer 2 - i4b passive cards D channel handling
828device		"i4bq921"
829#
830# Q.931 / layer 3 - i4b passive cards D channel handling
831device		"i4bq931"
832#
833# layer 4 - i4b common passive and active card handling
834device		"i4b"
835#
836#---------------------------------------------------------------------------
837#	ISDN devices - mandatory for all hardware drivers
838#
839# userland driver to do ISDN tracing (for passive cards only)
840device		"i4btrc"	4
841#
842# userland driver to control the whole thing
843device		"i4bctl"
844#
845#---------------------------------------------------------------------------
846#	ISDN devices - optional
847#
848# userland driver for access to raw B channel
849device		"i4brbch"	4
850#
851# userland driver for telephony
852device		"i4btel"	2
853#
854# network driver for IP over raw HDLC ISDN
855device		"i4bipr"	4
856# enable VJ header compression detection for ipr i/f
857options 	IPR_VJ
858# enable logging of the first n IP packets to isdnd (n=32 here)
859options 	IPR_LOG=32
860#
861# network driver for sync PPP over ISDN; requires an equivalent
862# number of sppp device to be configured
863device		"i4bisppp"	4
864#
865# B-channel interface to the netgraph subsystem
866device		"i4bing"	2
867#
868# CAPI driver needed for active ISDN cards (see iavc driver above)
869device		"i4bcapi"
870#
871#---------------------------------------------------------------------------
872
873#
874# Set the number of PV entries per process.  Increasing this can
875# stop panics related to heavy use of shared memory. However, that can
876# (combined with large amounts of physical memory) cause panics at
877# boot time due the kernel running out of VM space.
878#
879# If you're tweaking this, you might also want to increase the sysctls
880# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
881#
882# The value below is the one more than the default.
883#
884options 	PMAP_SHPGPERPROC=201
885
886#
887# Change the size of the kernel virtual address space.  Due to
888# constraints in loader(8) on i386, this must be a multiple of 4.
889# 256 = 1 GB of kernel address space.  Increasing this also causes
890# a reduction of the address space in user processes.  512 splits
891# the 4GB cpu address space in half (2GB user, 2GB kernel).
892#
893options 	KVA_PAGES=260
894
895
896#####################################################################
897# ABI Emulation
898
899# Enable iBCS2 runtime support for SCO and ISC binaries
900options 	IBCS2
901
902# Emulate spx device for client side of SVR3 local X interface
903options 	SPX_HACK
904
905# Enable Linux ABI emulation
906options 	COMPAT_LINUX
907
908# Enable i386 a.out binary support
909options 	COMPAT_AOUT
910
911# Enable the linux-like proc filesystem support (requires COMPAT_LINUX
912# and PSEUDOFS)
913options 	LINPROCFS
914
915#
916# SysVR4 ABI emulation
917#
918# The svr4 ABI emulator can be statically compiled into the kernel or loaded as
919# a KLD module.
920# The STREAMS network emulation code can also be compiled statically or as a
921# module.  If loaded as a module, it must be loaded before the svr4 module
922# (the /usr/sbin/svr4 script does this for you).  If compiling statically,
923# the `streams' device must be configured into any kernel which also
924# specifies COMPAT_SVR4.  It is possible to have a statically-configured
925# STREAMS device and a dynamically loadable svr4 emulator;  the /usr/sbin/svr4
926# script understands that it doesn't need to load the `streams' module under
927# those circumstances.
928# Caveat:  At this time, `options KTRACE' is required for the svr4 emulator
929# (whether static or dynamic).
930#
931options 	COMPAT_SVR4	# build emulator statically
932options 	DEBUG_SVR4	# enable verbose debugging
933device		streams		# STREAMS network driver (required for svr4).
934
935
936#####################################################################
937# VM OPTIONS
938
939# Disable the 4 MByte page PSE CPU feature.  The PSE feature allows the
940# kernel to use a 4 MByte pages to map the kernel instead of 4k pages.
941# This saves on the amount of memory needed for page tables needed to
942# map the kernel.  You should only disable this feature as a temporary
943# workaround if you are having problems with it enabled.
944#
945#options 	DISABLE_PSE
946
947# Disable the global pages PGE CPU feature.  The PGE feature allows pages
948# to be marked with the PG_G bit.  TLB entries for these pages are not
949# flushed from the cache when %cr3 is reloaded.  This can make context
950# switches less expensive.  You should only disable this feature as a
951# temporary workaround if you are having problems with it enabled.
952#
953#options 	DISABLE_PG_G
954
955# KSTACK_PAGES is the number of memory pages to assign to the kernel
956# stack of each thread.
957
958options 	KSTACK_PAGES=3
959
960#####################################################################
961
962# More undocumented options for linting.
963# Note that documenting these are not considered an affront.
964
965# PECOFF module (Win32 Execution Format)
966options 	PECOFF_SUPPORT
967options 	PECOFF_DEBUG
968
969options 	ENABLE_ALART
970options 	I4B_SMP_WORKAROUND
971options 	I586_PMC_GUPROF=0x70000
972options 	KBDIO_DEBUG=2
973options 	KBD_MAXRETRY=4
974options 	KBD_MAXWAIT=6
975options 	KBD_RESETDELAY=201
976
977options 	PSM_DEBUG=1
978
979options 	TIMER_FREQ="((14318182+6)/12)"
980
981options 	VM_KMEM_SIZE
982options 	VM_KMEM_SIZE_MAX
983options 	VM_KMEM_SIZE_SCALE
984
985# Yet more undocumented options for linting.
986options 	COMPAT_SUNOS
987