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