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