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