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