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