NOTES revision 126708
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: head/sys/pc98/conf/NOTES 126708 2004-03-07 04:09:18Z nyan $
8#
9
10#
11# This directive is mandatory; it defines the architecture to be
12# configured for; in this case, the 386 family based PC-98 and
13# compatibles.
14#
15machine		pc98
16options 	PC98
17
18#
19# We want LINT to cover profiling as well
20profile         2
21
22
23#####################################################################
24# SMP OPTIONS:
25#
26# The apic device enables the use of the I/O APIC for interrupt delivery.
27# The apic device can be used in both UP and SMP kernels, but is required
28# for SMP kernels.  Thus, the apic device is not strictly an SMP option,
29# but it is a prerequisite for SMP.
30#
31# Notes:
32#
33# Be sure to disable 'cpu I386_CPU' for SMP kernels.
34#
35# By default, mixed mode is used to route IRQ0 from the AT timer via
36# the 8259A master PIC through the ExtINT pin on the first I/O APIC.
37# This can be disabled via the NO_MIXED_MODE option.  In that case,
38# IRQ0 will be routed via an intpin on the first I/O APIC.  Not all
39# motherboards hook IRQ0 up to the first I/O APIC even though their
40# MP table or MADT may claim to do so.  That is why mixed mode is
41# enabled by default.
42#
43
44# Mandatory:
45device		apic			# I/O apic
46
47# Optional:
48options 	NO_MIXED_MODE		# Disable use of mixed mode
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_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning
69# CPU if CPU supports it.  The default is double-clock mode on
70# BlueLightning CPU box.
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_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1).
77#
78# CPU_CYRIX_NO_LOCK enables weak locking for the entire address space
79# of Cyrix 6x86 and 6x86MX CPUs by setting the NO_LOCK bit of CCR1.
80# Otherwise, the NO_LOCK bit of CCR1 is cleared.  (NOTE 3)
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_DISABLE_5X86_LSSER disables load store serialize (i.e. enables
86# reorder).  This option should not be used if you use memory mapped
87# I/O device(s).
88#
89# CPU_DISABLE_CMPXCHG disables the CMPXCHG instruction on > i386 IA32
90# machines.  VmWare seems to emulate this instruction poorly, causing
91# the guest OS to run very slowly.  Enabling this with a SMP kernel
92# will cause the kernel to be unusable.
93#
94# CPU_DISABLE_SSE explicitly prevent I686_CPU from turning on SSE.
95#
96# CPU_ENABLE_SSE enables SSE/MMX2 instructions support.  This is default
97# on I686_CPU and above.
98#
99# CPU_FASTER_5X86_FPU enables faster FPU exception handler.
100#
101# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products
102# for i386 machines.
103#
104# CPU_IORT defines I/O clock delay time (NOTE 1).  Default values of
105# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively
106# (no clock delay).
107#
108# CPU_L2_LATENCY specifies the L2 cache latency value.  This option is used
109# only when CPU_PPRO2CELERON is defined and Mendocino Celeron is detected.
110# The default value is 5.
111#
112# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination
113# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE
114# 1).
115#
116# CPU_PPRO2CELERON enables L2 cache of Mendocino Celeron CPUs.  This option
117# is useful when you use Socket 8 to Socket 370 converter, because most Pentium
118# Pro BIOSs do not enable L2 cache of Mendocino Celeron CPUs.
119#
120# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1).
121#
122# CPU_SUSP_HLT enables suspend on HALT.  If this option is set, CPU
123# enters suspend mode following execution of HALT instruction.
124#
125# CPU_UPGRADE_HW_CACHE eliminates unneeded cache flush instruction(s).
126#
127# CPU_WT_ALLOC enables write allocation on Cyrix 6x86/6x86MX and AMD
128# K5/K6/K6-2 CPUs.
129#
130# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache
131# flush at hold state.
132#
133# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs
134# without cache flush at hold state, and (2) write-back CPU cache on
135# Cyrix 6x86 whose revision < 2.7 (NOTE 2).
136#
137# NO_F00F_HACK disables the hack that prevents Pentiums (and ONLY
138# Pentiums) from locking up when a LOCK CMPXCHG8B instruction is
139# executed.  This option is only needed if I586_CPU is also defined,
140# and should be included for any non-Pentium CPU that defines it.
141#
142# NO_MEMORY_HOLE is an optimisation for systems with AMD K6 processors
143# which indicates that the 15-16MB range is *definitely* not being
144# occupied by an ISA memory hole.
145#
146# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT,
147# CPU_LOOP_EN and CPU_RSTK_EN should not be used because of CPU bugs.
148# These options may crash your system.
149#
150# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled
151# in write-through mode when revision < 2.7.  If revision of Cyrix
152# 6x86 >= 2.7, CPU cache is always enabled in write-back mode.
153#
154# NOTE 3: This option may cause failures for software that requires
155# locked cycles in order to operate correctly.
156#
157options 	CPU_BLUELIGHTNING_3X
158options 	CPU_BLUELIGHTNING_FPU_OP_CACHE
159options 	CPU_BTB_EN
160options 	CPU_DIRECT_MAPPED_CACHE
161options 	CPU_DISABLE_5X86_LSSER
162options 	CPU_DISABLE_CMPXCHG
163#options 	CPU_DISABLE_SSE
164options 	CPU_ENABLE_SSE
165options 	CPU_FASTER_5X86_FPU
166options 	CPU_I486_ON_386
167options 	CPU_IORT
168options 	CPU_L2_LATENCY=5
169options 	CPU_LOOP_EN
170options 	CPU_PPRO2CELERON
171options 	CPU_RSTK_EN
172options 	CPU_SUSP_HLT
173options 	CPU_UPGRADE_HW_CACHE
174options 	CPU_WT_ALLOC
175options 	CYRIX_CACHE_WORKS
176options 	CYRIX_CACHE_REALLY_WORKS
177#options 	NO_F00F_HACK
178
179# Debug options
180options 	NPX_DEBUG	# enable npx debugging
181
182#
183# PERFMON causes the driver for Pentium/Pentium Pro performance counters
184# to be compiled.  See perfmon(4) for more information.
185#
186options 	PERFMON
187
188
189#####################################################################
190# NETWORKING OPTIONS
191
192#
193# DEVICE_POLLING adds support for mixed interrupt-polling handling
194# of network device drivers, which has significant benefits in terms
195# of robustness to overloads and responsivity, as well as permitting
196# accurate scheduling of the CPU time between kernel network processing
197# and other activities.  The drawback is a moderate (up to 1/HZ seconds)
198# potential increase in response times.
199# It is strongly recommended to use HZ=1000 or 2000 with DEVICE_POLLING
200# to achieve smoother behaviour.
201# Additionally, you can enable/disable polling at runtime with the
202# sysctl variable kern.polling.enable (defaults off), and select
203# the CPU fraction reserved to userland with the sysctl variable
204# kern.polling.user_frac (default 50, range 0..100).
205#
206# Not all device drivers support this mode of operation at the time of
207# this writing.  See polling(4) for more details.
208
209options 	DEVICE_POLLING
210
211
212#####################################################################
213# CLOCK OPTIONS
214
215# The following options are used for debugging clock behavior only, and
216# should not be used for production systems.
217
218# CLK_CALIBRATION_LOOP causes clock calibration to be run in a loop at
219# startup until the user presses a key.  (The i8254 clock is always
220# calibrated relative to the RTC (mc146818a) and this option causes the
221# calibration to be repeated.)
222options 	CLK_CALIBRATION_LOOP
223
224# CLK_USE_I8254_CALIBRATION causes the calibrated frequency of the i8254
225# clock to actually be used.
226options 	CLK_USE_I8254_CALIBRATION
227
228
229#####################################################################
230# MISCELLANEOUS DEVICES AND OPTIONS
231
232device		speaker		#Play IBM BASIC-style noises out your speaker
233hint.speaker.0.at="isa"
234hint.speaker.0.port="0x35"
235device		gzip		#Exec gzipped a.out's.  REQUIRES COMPAT_AOUT!
236device		apm_saver	# Requires APM
237
238
239#####################################################################
240# HARDWARE BUS CONFIGURATION
241
242#
243# ISA bus
244#
245device		isa
246
247#
248# Options for `isa':
249#
250# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
251# interrupt controller.  This saves about 0.7-1.25 usec for each interrupt.
252# This option breaks suspend/resume on some portables.
253#
254# MAXMEM specifies the amount of RAM on the machine; if this is not
255# specified, FreeBSD will first read the amount of memory from the CMOS
256# RAM, so the amount of memory will initially be limited to 64MB or 16MB
257# depending on the BIOS.  If the BIOS reports 64MB, a memory probe will
258# then attempt to detect the installed amount of RAM.  If this probe
259# fails to detect >64MB RAM you will have to use the MAXMEM option.
260# The amount is in kilobytes, so for a machine with 128MB of RAM, it would
261# be 131072 (128 * 1024).
262#
263# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
264# reset the CPU for reboot.  This is needed on some systems with broken
265# keyboard controllers.
266
267options 	COMPAT_OLDISA	#Use ISA shims and glue for old drivers
268options 	AUTO_EOI_1
269
270options 	MAXMEM=(128*1024)
271#options 	BROKEN_KEYBOARD_RESET
272options 	EPSON_BOUNCEDMA
273options 	EPSON_MEMWIN
274
275#
276# PCI bus & PCI options:
277#
278device		pci
279
280#
281# AGP GART support
282device		agp
283
284
285#####################################################################
286# HARDWARE DEVICE CONFIGURATION
287
288# PC98 keyboard
289device		pckbd
290hint.pckbd.0.at="isa"
291hint.pckbd.0.port="0x041"
292hint.pckbd.0.irq="1"
293
294# These options are valid for other keyboard drivers as well.
295options 	KBD_DISABLE_KEYMAP_LOAD	# refuse to load a keymap
296options 	KBD_INSTALL_CDEV	# install a CDEV entry in /dev
297
298# GDC screen
299device		gdc
300hint.gdc.0.at="isa"
301options 	LINE30
302
303#
304# The Numeric Processing eXtension driver.  In addition to this, you
305# may configure a math emulator (see above).  If your machine has a
306# hardware FPU and the kernel configuration includes the npx device
307# *and* a math emulator compiled into the kernel, the hardware FPU
308# will be used, unless it is found to be broken or unless "flags" to
309# npx0 includes "0x08", which requests preference for the emulator.
310device		npx
311
312#
313# `flags' for npx0:
314#	0x01	don't use the npx registers to optimize bcopy.
315#	0x02	don't use the npx registers to optimize bzero.
316#	0x04	don't use the npx registers to optimize copyin or copyout.
317#	0x08	use emulator even if hardware FPU is available.
318# The npx registers are normally used to optimize copying and zeroing when
319# all of the following conditions are satisfied:
320#	I586_CPU is an option
321#	the cpu is an i586 (perhaps not a Pentium)
322#	the probe for npx0 succeeds
323#	INT 16 exception handling works.
324# Then copying and zeroing using the npx registers is normally 30-100% faster.
325# The flags can be used to control cases where it doesn't work or is slower.
326# Setting them at boot time using userconfig works right (the optimizations
327# are not used until later in the bootstrap when npx0 is attached).
328# Flag 0x08 automatically disables the i586 optimized routines.
329#
330
331#
332# Optional devices:
333#
334
335# 3Dfx Voodoo Graphics, Voodoo II /dev/3dfx CDEV support.  This will create
336# the /dev/3dfx0 device to work with glide implementations.  This should get
337# linked to /dev/3dfx and /dev/voodoo.  Note that this is not the same as
338# the tdfx DRI module from XFree86 and is completely unrelated.
339#
340# To enable Linuxulator support, one must also include COMPAT_LINUX in the
341# config as well, or you will not have the dependencies.  The other option
342# is to load both as modules.
343
344device		tdfx			# Enable 3Dfx Voodoo support
345options 	TDFX_LINUX		# Enable Linuxulator support
346
347# DRM options:
348# mgadrm:    AGP Matrox G200, G400, G450, G550
349# r128drm:   ATI Rage 128
350# radeondrm: ATI Radeon up to 9000/9100
351# sisdrm:    SiS 300/305,540,630
352# tdfxdrm:   3dfx Voodoo 3/4/5 and Banshee
353# DRM_DEBUG: include debug printfs, very slow
354#
355# mga requires AGP in the kernel, and it is recommended
356# for AGP r128 and radeon cards.
357
358device		mgadrm
359device		"r128drm"
360device		radeondrm
361device		sisdrm
362device		tdfxdrm
363
364options 	DRM_DEBUG
365
366#
367# Bus mouse
368#
369device		mse
370hint.mse.0.at="isa"
371hint.mse.0.port="0x7fd9"
372hint.mse.0.irq="13"
373
374#
375# Network interfaces:
376#
377
378# ar:   Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver
379#       (requires sppp)
380# ed:   Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
381#       HP PC Lan+, various PC Card devices (refer to etc/defaults/pccard.conf)
382#       (requires miibus)
383# el:   3Com 3C501 (slow!)
384# ie:   AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210;
385#       Intel EtherExpress
386# le:   Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100,
387#       DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422)
388# lnc:  Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL, AMD Am7990 and
389#       Am79C960)
390# oltr: Olicom ISA token-ring adapters OC-3115, OC-3117, OC-3118 and OC-3133.
391#       Olicom PCI token-ring adapters OC-3136, OC-3137, OC-3139, OC-3140,
392#       OC-3141, OC-3540 and OC-3250.
393# rdp:  RealTek RTL 8002-based pocket ethernet adapters
394# sbni: Granch SBNI12-xx ISA and PCI adapters
395# sr:   RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp)
396# wl:   Lucent Wavelan (ISA card only).
397
398# Order for ISA/EISA devices is important here
399
400device		ar
401hint.ar.0.at="isa"
402hint.ar.0.port="0x300"
403hint.ar.0.irq="10"
404hint.ar.0.maddr="0xd0000"
405device		ed
406#options 	ED_NO_MIIBUS		# Disable ed miibus support
407hint.ed.0.at="isa"
408hint.ed.0.port="0x280"
409hint.ed.0.irq="5"
410hint.ed.0.maddr="0xd8000"
411device		el	1
412hint.el.0.at="isa"
413hint.el.0.port="0x300"
414hint.el.0.irq="9"
415device		ie			# Hints only required for Starlan
416hint.ie.2.at="isa"
417hint.ie.2.port="0x300"
418hint.ie.2.irq="5"
419hint.ie.2.maddr="0xd0000"
420device		le	1
421hint.le.0.at="isa"
422hint.le.0.port="0x300"
423hint.le.0.irq="5"
424hint.le.0.maddr="0xd0000"
425device		lnc
426hint.lnc.0.at="isa"
427hint.lnc.0.port="0x280"
428hint.lnc.0.irq="10"
429hint.lnc.0.drq="0"
430device		rdp	1
431hint.rdp.0.at="isa"
432hint.rdp.0.port="0x378"
433hint.rdp.0.irq="7"
434hint.rdp.0.flags="2"
435device		sbni
436hint.sbni.0.at="isa"
437hint.sbni.0.port="0x210"
438hint.sbni.0.irq="0xefdead"
439hint.sbni.0.flags="0"
440device		snc
441hint.snc.0.at="isa"
442hint.snc.0.port="0x888"
443hint.snc.0.irq="6"
444hint.snc.0.maddr="0xc0000"
445device		sr
446hint.sr.0.at="isa"
447hint.sr.0.port="0x300"
448hint.sr.0.irq="5"
449hint.sr.0.maddr="0xd0000"
450device		oltr
451hint.oltr.0.at="isa"
452device		wl
453hint.wl.0.at="isa"
454hint.wl.0.port="0x300"
455options 	WLCACHE		# enables the signal-strength cache
456options 	WLDEBUG		# enables verbose debugging output
457
458#
459# SCSI host adapters:
460#
461# ct: WD33C93[ABC] based SCSI host adapters.
462# ncv: NCR 53C500 based SCSI host adapters.
463# nsp: Workbit Ninja SCSI-3 based PC Card SCSI host adapters.
464# stg: TMC 18C30, 18C50 based SCSI host adapters.
465
466device		ct
467hint.ct.0.at="isa"
468device		ncv
469device		nsp
470device		stg
471hint.stg.0.at="isa"
472hint.stg.0.port="0x140"
473hint.stg.0.port="11"
474
475#
476# SafeNet crypto driver: can be moved to the MI NOTES as soon as
477# it's tested on a big-endian machine
478#
479device		safe		# SafeNet 1141
480options		SAFE_DEBUG	# enable debugging support: hw.safe.debug
481options		SAFE_RNDTEST	# enable rndtest support
482
483#####################################################################
484
485#
486# Miscellaneous hardware:
487#
488# wt: Wangtek and Archive QIC-02/QIC-36 tape drives
489# ctx: Cortex-I frame grabber
490# apm: Laptop Advanced Power Management (experimental)
491# pmtimer: Timer device driver for power management events (APM or ACPI)
492# spigot: The Creative Labs Video Spigot video-acquisition board
493# cy: Cyclades serial driver
494# digi: Digiboard driver
495# gp:  National Instruments AT-GPIB and AT-GPIB/TNT board, PCMCIA-GPIB
496# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based)
497# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent)
498
499# Notes on APM
500#  The flags takes the following meaning for apm0:
501#    0x0020  Statclock is broken.
502
503# Notes on the spigot:
504#  The video spigot is at 0xad6.  This port address can not be changed.
505#  The irq values may only be 10, 11, or 15
506#  I/O memory is an 8kb region.  Possible values are:
507#    0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff
508#    The start address must be on an even boundary.
509#  Add the following option if you want to allow non-root users to be able
510#  to access the spigot.  This option is not secure because it allows users
511#  direct access to the I/O page.
512#  	options SPIGOT_UNSECURE
513
514# Notes on the Specialix SI/XIO driver:
515#  The host card is memory, not IO mapped.
516#  The Rev 1 host cards use a 64K chunk, on a 32K boundary.
517#  The Rev 2 host cards use a 32K chunk, on a 32K boundary.
518#  The cards can use an IRQ of 11, 12 or 15.
519
520# Notes on the Sony Programmable I/O controller
521#  This is a temporary driver that should someday be replaced by something
522#  that hooks into the ACPI layer.  The device is hooked to the PIIX4's
523#  General Device 10 decoder, which means you have to fiddle with PCI
524#  registers to map it in, even though it is otherwise treated here as
525#  an ISA device.  At the moment, the driver polls, although the device
526#  is capable of generating interrupts.  It largely undocumented.
527#  The port location in the hint is where you WANT the device to be
528#  mapped.  0x10a0 seems to be traditional.  At the moment the jogdial
529#  is the only thing truly supported, but apparently a fair percentage
530#  of the Vaio extra features are controlled by this device.
531
532# Notes on the Stallion stl and stli drivers:
533#  See src/i386/isa/README.stl for complete instructions.
534#  This is version 0.0.5alpha, unsupported by Stallion.
535#  The stl driver has a secondary IO port hard coded at 0x280.  You need
536#     to change src/i386/isa/stallion.c if you reconfigure this on the boards.
537#  The "flags" and "msize" settings on the stli driver depend on the board:
538#	EasyConnection 8/64 ISA:     flags 23         msize 0x1000
539#	EasyConnection 8/64 EISA:    flags 24         msize 0x10000
540#	EasyConnection 8/64 MCA:     flags 25         msize 0x1000
541#	ONboard ISA:                 flags 4          msize 0x10000
542#	ONboard EISA:                flags 7          msize 0x10000
543#	ONboard MCA:                 flags 3          msize 0x10000
544#	Brumby:                      flags 2          msize 0x4000
545#	Stallion:                    flags 1          msize 0x10000
546
547device		wt	1
548hint.wt.0.at="isa"
549hint.wt.0.port="0x300"
550hint.wt.0.irq="5"
551hint.wt.0.drq="1"
552device		ctx
553hint.ctx.0.at="isa"
554hint.ctx.0.port="0x230"
555hint.ctx.0.maddr="0xd0000"
556device		spigot	1
557hint.spigot.0.at="isa"
558hint.spigot.0.port="0xad6"
559hint.spigot.0.irq="15"
560hint.spigot.0.maddr="0xee000"
561device		apm
562hint.apm.0.flags="0x20"
563device		canbus
564device		canbepm
565device		pmc
566hint.pmc.0.at="isa"
567hint.pmc.0.port="0x8f0"
568device		pmtimer			# Adjust system timer at wakeup time
569device		cy	1
570options 	CY_PCI_FASTINTR		# Use with cy_pci unless irq is shared
571hint.cy.0.at="isa"
572hint.cy.0.irq="10"
573hint.cy.0.maddr="0xd4000"
574hint.cy.0.msize="0x2000"
575device		digi
576hint.digi.0.at="isa"
577hint.digi.0.port="0x104"
578hint.digi.0.maddr="0xd0000"
579# BIOS & FEP/OS components of device digi.
580device		digi_CX
581device		digi_CX_PCI
582device		digi_EPCX
583device		digi_EPCX_PCI
584device		digi_Xe
585device		digi_Xem
586device		digi_Xr
587device		gp
588hint.gp.0.at="isa"
589hint.gp.0.port="0x2c0"
590device		olpt
591hint.olpt.0.at="isa"
592hint.olpt.0.port="0x040"
593device		stl
594hint.stl.0.at="isa"
595hint.stl.0.port="0x2a0"
596hint.stl.0.irq="10"
597device		stli
598hint.stli.0.at="isa"
599hint.stli.0.port="0x2a0"
600hint.stli.0.maddr="0xcc000"
601hint.stli.0.flags="23"
602hint.stli.0.msize="0x1000"
603
604#
605# Laptop/Notebook options:
606#
607# See also:
608#  apm under `Miscellaneous hardware'
609# above.
610
611# For older notebooks that signal a powerfail condition (external
612# power supply dropped, or battery state low) by issuing an NMI:
613
614options 	POWERFAIL_NMI	# make it beep instead of panicing
615
616#
617# PC Card/PCMCIA
618# (OLDCARD)
619#
620# card: pccard slots
621# pcic: isa/pccard bridge
622device		pcic
623hint.pcic.0.at="isa"
624#hint.pcic.1.at="isa"
625device		card	1
626
627#---------------------------------------------------------------------------
628# ISDN4BSD
629#
630# See /usr/share/examples/isdn/ROADMAP for an introduction to isdn4bsd.
631#
632# i4b passive ISDN cards support contains the following hardware drivers:
633#
634#	isic  - Siemens/Infineon ISDN ISAC/HSCX/IPAC chipset driver
635#	iwic  - Winbond W6692 PCI bus ISDN S/T interface controller
636#	ifpi  - AVM Fritz!Card PCI driver
637#	ifpi2  - AVM Fritz!Card PCI version 2 driver
638#	ihfc  - Cologne Chip HFC ISA/ISA-PnP chipset driver
639#	ifpnp - AVM Fritz!Card PnP driver
640#	itjc  - Siemens ISAC / TJNet Tiger300/320 chipset
641#
642# i4b active ISDN cards support contains the following hardware drivers:
643#
644#	iavc  - AVM B1 PCI, AVM B1 ISA, AVM T1
645#
646# Note that the ``options'' (if given) and ``device'' lines must BOTH
647# be uncommented to enable support for a given card !
648#
649# In addition to a hardware driver (and probably an option) the mandatory
650# ISDN protocol stack devices and the mandatory support device must be
651# enabled as well as one or more devices from the optional devices section.
652#
653#---------------------------------------------------------------------------
654#	isic driver (Siemens/Infineon chipsets)
655#
656device	isic
657#
658# PCI bus Cards:
659# --------------
660#
661# ELSA MicroLink ISDN/PCI (same as ELSA QuickStep 1000pro PCI)
662options 	ELSA_QS1PCI
663#
664#---------------------------------------------------------------------------
665#	ifpnp driver for AVM Fritz!Card PnP
666#
667# AVM Fritz!Card PnP
668device		ifpnp
669#
670#---------------------------------------------------------------------------
671#	ihfc driver for Cologne Chip ISA chipsets (experimental!)
672#
673# Teles 16.3c ISA PnP
674# AcerISDN P10 ISA PnP
675# TELEINT ISDN SPEED No.1
676device		ihfc
677#
678#---------------------------------------------------------------------------
679#	ifpi driver for AVM Fritz!Card PCI
680#
681# AVM Fritz!Card PCI
682device		ifpi
683#
684#---------------------------------------------------------------------------
685#	ifpi2 driver for AVM Fritz!Card PCI version 2
686#
687# AVM Fritz!Card PCI version 2
688device		"ifpi2"
689#
690#---------------------------------------------------------------------------
691#	iwic driver for Winbond W6692 chipset
692#
693# ASUSCOM P-IN100-ST-D (and other Winbond W6692 based cards)
694device		iwic
695#
696#---------------------------------------------------------------------------
697#	itjc driver for Siemens ISAC / TJNet Tiger300/320 chipset
698#
699# Traverse Technologies NETjet-S
700# Teles PCI-TJ
701device		itjc
702#
703#---------------------------------------------------------------------------
704#	iavc driver (AVM active cards, needs i4bcapi driver!)
705#
706device		iavc
707#
708# AVM B1 ISA bus (PnP mode not supported!)
709# ----------------------------------------
710hint.iavc.0.at="isa"
711hint.iavc.0.port="0x150"
712hint.iavc.0.irq="5"
713#
714#---------------------------------------------------------------------------
715#	ISDN Protocol Stack - mandatory for all hardware drivers
716#
717# Q.921 / layer 2 - i4b passive cards D channel handling
718device		"i4bq921"
719#
720# Q.931 / layer 3 - i4b passive cards D channel handling
721device		"i4bq931"
722#
723# layer 4 - i4b common passive and active card handling
724device		"i4b"
725#
726#---------------------------------------------------------------------------
727#	ISDN devices - mandatory for all hardware drivers
728#
729# userland driver to do ISDN tracing (for passive cards only)
730device		"i4btrc"	4
731#
732# userland driver to control the whole thing
733device		"i4bctl"
734#
735#---------------------------------------------------------------------------
736#	ISDN devices - optional
737#
738# userland driver for access to raw B channel
739device		"i4brbch"	4
740#
741# userland driver for telephony
742device		"i4btel"	2
743#
744# network driver for IP over raw HDLC ISDN
745device		"i4bipr"	4
746# enable VJ header compression detection for ipr i/f
747options 	IPR_VJ
748# enable logging of the first n IP packets to isdnd (n=32 here)
749options 	IPR_LOG=32
750#
751# network driver for sync PPP over ISDN; requires an equivalent
752# number of sppp device to be configured
753device		"i4bisppp"	4
754#
755# B-channel interface to the netgraph subsystem
756device		"i4bing"	2
757#
758# CAPI driver needed for active ISDN cards (see iavc driver above)
759device		"i4bcapi"
760#
761#---------------------------------------------------------------------------
762
763#
764# Set the number of PV entries per process.  Increasing this can
765# stop panics related to heavy use of shared memory.  However, that can
766# (combined with large amounts of physical memory) cause panics at
767# boot time due the kernel running out of VM space.
768#
769# If you're tweaking this, you might also want to increase the sysctls
770# "vm.v_free_min", "vm.v_free_reserved", and "vm.v_free_target".
771#
772# The value below is the one more than the default.
773#
774options 	PMAP_SHPGPERPROC=201
775
776#
777# Change the size of the kernel virtual address space.  Due to
778# constraints in loader(8) on i386, this must be a multiple of 4.
779# 256 = 1 GB of kernel address space.  Increasing this also causes
780# a reduction of the address space in user processes.  512 splits
781# the 4GB cpu address space in half (2GB user, 2GB kernel).
782#
783options 	KVA_PAGES=260
784
785
786#####################################################################
787# ABI Emulation
788
789# Enable iBCS2 runtime support for SCO and ISC binaries
790options 	IBCS2
791
792# Emulate spx device for client side of SVR3 local X interface
793options 	SPX_HACK
794
795# Enable Linux ABI emulation
796options 	COMPAT_LINUX
797
798# Enable i386 a.out binary support
799options 	COMPAT_AOUT
800
801# Enable the linux-like proc filesystem support (requires COMPAT_LINUX
802# and PSEUDOFS)
803options 	LINPROCFS
804
805#
806# SysVR4 ABI emulation
807#
808# The svr4 ABI emulator can be statically compiled into the kernel or loaded as
809# a KLD module.
810# The STREAMS network emulation code can also be compiled statically or as a
811# module.  If loaded as a module, it must be loaded before the svr4 module
812# (the /usr/sbin/svr4 script does this for you).  If compiling statically,
813# the `streams' device must be configured into any kernel which also
814# specifies COMPAT_SVR4.  It is possible to have a statically-configured
815# STREAMS device and a dynamically loadable svr4 emulator;  the /usr/sbin/svr4
816# script understands that it doesn't need to load the `streams' module under
817# those circumstances.
818# Caveat:  At this time, `options KTRACE' is required for the svr4 emulator
819# (whether static or dynamic).
820#
821options 	COMPAT_SVR4	# build emulator statically
822options 	DEBUG_SVR4	# enable verbose debugging
823device		streams		# STREAMS network driver (required for svr4).
824
825
826#####################################################################
827# VM OPTIONS
828
829# Disable the 4 MByte page PSE CPU feature.  The PSE feature allows the
830# kernel to use a 4 MByte pages to map the kernel instead of 4k pages.
831# This saves on the amount of memory needed for page tables needed to
832# map the kernel.  You should only disable this feature as a temporary
833# workaround if you are having problems with it enabled.
834#
835#options 	DISABLE_PSE
836
837# Disable the global pages PGE CPU feature.  The PGE feature allows pages
838# to be marked with the PG_G bit.  TLB entries for these pages are not
839# flushed from the cache when %cr3 is reloaded.  This can make context
840# switches less expensive.  You should only disable this feature as a
841# temporary workaround if you are having problems with it enabled.
842#
843#options 	DISABLE_PG_G
844
845# KSTACK_PAGES is the number of memory pages to assign to the kernel
846# stack of each thread.
847
848options 	KSTACK_PAGES=3
849
850#####################################################################
851
852# More undocumented options for linting.
853# Note that documenting these are not considered an affront.
854
855options 	FB_INSTALL_CDEV		# install a CDEV entry in /dev
856
857# PECOFF module (Win32 Execution Format)
858options 	PECOFF_SUPPORT
859options 	PECOFF_DEBUG
860
861options 	ENABLE_ALART
862options 	I4B_SMP_WORKAROUND
863options 	I586_PMC_GUPROF=0x70000
864options 	KBDIO_DEBUG=2
865options 	KBD_MAXRETRY=4
866options 	KBD_MAXWAIT=6
867options 	KBD_RESETDELAY=201
868
869options 	TIMER_FREQ=((14318182+6)/12)
870
871options 	VM_KMEM_SIZE
872options 	VM_KMEM_SIZE_MAX
873options 	VM_KMEM_SIZE_SCALE
874
875
876#####################################################################
877# Devices we don't want to deal with
878
879nodevice	atkbdc
880nodevice	atkbd
881nodevice	psm
882nodevice	vga
883nodevice	bt
884nodevice	adw
885nodevice	aha
886nodevice	ahb
887nodevice	ahd
888nodevice	mpt
889nodevice	trm
890nodevice	wds
891nodevice	asr
892nodevice	dpt
893nodevice	ciss
894nodevice	iir
895nodevice	mly
896nodevice	ida		# Compaq Smart RAID
897nodevice	mlx		# Mylex DAC960
898nodevice	amr		# AMI MegaRAID
899nodevice	twe		# 3ware ATA RAID
900nodevice	ataraid
901nodevice	cm
902nodevice	cs
903nodevice	ex
904nodevice	fea
905nodevice	cbb
906nodevice	pccard
907nodevice	cardbus
908nodevice	intpm
909nodevice	alpm
910nodevice	ichsmb
911nodevice	viapm
912nodevice	amdpm
913nodevice	nfpm
914
915
916#####################################################################
917# Options we don't want to deal with
918
919nooption	VGA_DEBUG
920nooption	VGA_WIDTH90
921nooption	VGA_SLOW_IOACCESS
922nooption	VGA_ALT_SEQACCESS
923nooption	PSM_RESETAFTERSUSPEND
924nooption	PSM_HOOKRESUME
925nooption	ATKBD_DFLT_KEYMAP
926nooption	AHD_DEBUG
927nooption	AHD_DEBUG_OPTS
928nooption	AHD_REG_PRETTY_PRINT
929nooption	ADW_ALLOW_MEMIO
930nooption	DPT_LOST_IRQ
931nooption	DPT_RESET_HBA
932nooption	DPT_TIMEOUT_FACTOR
933nooption	AAC_DEBUG
934nooption	ACPI_MAX_THREADS
935
936
937#####################################################################
938# Make options we don't want to deal with
939
940nomakeoption	ATKBD_DFLT_KEYMAP
941