Deleted Added
full compact
NOTES (27532) NOTES (27674)
1#
2# LINT -- config file for checking all the sources, tries to pull in
3# as much of the source tree as it can.
4#
1#
2# LINT -- config file for checking all the sources, tries to pull in
3# as much of the source tree as it can.
4#
5# $Id: LINT,v 1.351 1997/07/17 06:01:10 dyson Exp $
5# $Id: LINT,v 1.352 1997/07/20 05:27:59 bde Exp $
6#
7# NB: You probably don't want to try running a kernel built from this
8# file. Instead, you should start from GENERIC, and add options from
9# this file as required.
10#
11
12#
13# This directive is mandatory; it defines the architecture to be
14# configured for; in this case, the 386 family based IBM-PC and
15# compatibles.
16#
17machine "i386"
18
19#
20# This is the ``identification'' of the kernel. Usually this should
21# be the same as the name of your kernel.
22#
23ident LINT
24
25#
26# The `maxusers' parameter controls the static sizing of a number of
27# internal system tables by a complicated formula defined in param.c.
28#
29maxusers 10
30
31#
32# Certain applications can grow to be larger than the 128M limit
33# that FreeBSD initially imposes. Below are some options to
34# allow that limit to grow to 256MB, and can be increased further
35# with changing the parameters. MAXDSIZ is the maximum that the
36# limit can be set to, and the DFLDSIZ is the default value for
37# the limit. You might want to set the default lower than the
38# max, and explicitly set the maximum with a shell command for processes
39# that regularly exceed the limit like INND.
40#
41options "MAXDSIZ=(256*1024*1024)"
42options "DFLDSIZ=(256*1024*1024)"
43
44# When this is set, be extra conservative in various parts of the kernel
45# and choose functionality over speed (on the widest variety of systems).
46options FAILSAFE
47
48# This allows you to actually store this configuration file into
49# the kernel binary itself, where it may be later read by saying:
50# strings /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL
51#
52options INCLUDE_CONFIG_FILE # Include this file in kernel
53
54#
55# This directive defines a number of things:
56# - The compiled kernel is to be called `kernel'
57# - The root filesystem might be on partition wd0a
58# - Crash dumps will be written to wd0b, if possible. Specifying the
59# dump device here is not recommended. Use dumpon(8).
60#
61config kernel root on wd0 dumps on wd0
62
63
64#####################################################################
65# SMP OPTIONS:
66#
67# SMP enables building of a Symmetric MultiProcessor Kernel.
68# APIC_IO enables the use of the IO APIC for Symmetric I/O.
69# NCPU sets the number of CPUs, defaults to 2.
70# NBUS sets the number of busses, defaults to 4.
71# NAPIC sets the number of IO APICs on the motherboard, defaults to 1.
72# NINTR sets the total number of INTs provided by the motherboard.
73#
74# SMP_TIMER_NC is for motherboards that claim 8254 connectivity to the IO APIC,
75# when in fact it is NOT connected.
76#
77# Notes:
78#
79# An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard.
80#
81# Be sure to disable 'cpu "I386_CPU"' && 'cpu "I486_CPU"' for SMP kernels.
82#
83# Check the 'Rogue SMP hardware' section to see if additional options
84# are required by your hardware.
85#
86
87# Mandatory:
88options SMP # Symmetric MultiProcessor Kernel
89options APIC_IO # Symmetric (APIC) I/O
90
91# Optional, these are the defaults plus 1:
92options NCPU=3 # number of CPUs
93options NBUS=5 # number of busses
94options NAPIC=2 # number of IO APICs
95options NINTR=25 # number of INTs
96
97#
98# Rogue SMP hardware:
99#
100
101# Tyan Tomcat II:
102#options SMP_TIMER_NC # 8254 NOT connected to APIC
103
104# SuperMicro P6DNE:
105#options SMP_TIMER_NC # 8254 NOT connected to APIC
106
107# Bridged PCI cards:
108#
109# The MP tables of most of the current generation MP motherboards
110# do NOT properly support bridged PCI cards. To use one of these
111# cards you should refer to ???
112
113
114#####################################################################
115# CPU OPTIONS
116
117#
118# You must specify at least one CPU (the one you intend to run on);
119# deleting the specification for CPUs you don't need to use may make
120# parts of the system run faster. This is especially true removing
121# I386_CPU.
122#
123cpu "I386_CPU"
124cpu "I486_CPU"
125cpu "I586_CPU" # aka Pentium(tm)
126cpu "I686_CPU" # aka Pentium Pro(tm)
127
128#
129# Options for CPU features.
130#
131# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM
132# BlueLightning CPU. It works only with Cyrix FPU, and this option
133# should not be used with Intel FPU.
134#
135# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning
136# CPU if CPU supports it. The default is double-clock mode on
137# BlueLightning CPU box.
138#
139# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1).
140#
141# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct
142# mapped mode. Default is 2-way set associative mode.
143#
144# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e. enables
145# reorder). This option should not be used if you use memory mapped
146# I/O device(s).
147#
148# CPU_FASTER_5X86_FPU enables faster FPU exception handler.
149#
150# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products
151# for i386 machines.
152#
153# CPU_IORT defines I/O clock delay time (NOTE 1). Default vaules of
154# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively
155# (no clock delay).
156#
157# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination
158# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE
159# 1).
160#
161# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1).
162#
163# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU
164# enters suspend mode following execution of HALT instruction.
165#
166# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache
167# flush at hold state.
168#
169# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs
170# without cache flush at hold state, and (2) write-back CPU cache on
171# Cyrix 6x86 whose revision < 2.7 (NOTE 2).
172#
173# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT,
174# CPU_LOOP_ENand CPU_RSTK_EN should no be used becasue of CPU bugs.
175# These options may crash your system.
176#
177# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled
178# in write-through mode when revision < 2.7. If revision of Cyrix
179# 6x86 >= 2.7, CPU cache is always enabled in write-back mode.
180#
181options "CPU_BLUELIGHTNING_FPU_OP_CACHE"
182options "CPU_BLUELIGHTNING_3X"
183options "CPU_BTB_EN"
184options "CPU_DIRECT_MAPPED_CACHE"
185options "CPU_DISABLE_5X86_LSSER"
186options "CPU_FASTER_5X86_FPU"
187options "CPU_I486_ON_386"
188options "CPU_IORT"
189options "CPU_LOOP_EN"
190options "CPU_RSTK_EN"
191options "CPU_SUSP_HLT"
192options "CYRIX_CACHE_WORKS"
193options "CYRIX_CACHE_REALLY_WORKS"
194
195#
196# A math emulator is mandatory if you wish to run on hardware which
197# does not have a floating-point processor. Pick either the original,
198# bogus (but freely-distributable) math emulator, or a much more
199# fully-featured but GPL-licensed emulator taken from Linux.
200#
201options MATH_EMULATE #Support for x87 emulation
202# Don't enable both of these in a real config.
203options GPL_MATH_EMULATE #Support for x87 emulation via
204 #new math emulator
205
206
207#####################################################################
208# COMPATIBILITY OPTIONS
209
210#
211# Implement system calls compatible with 4.3BSD and older versions of
212# FreeBSD. You probably do NOT want to remove this as much current code
213# still relies on the 4.3 emulation.
214#
215options "COMPAT_43"
216
217#
218# Allow user-mode programs to manipulate their local descriptor tables.
219# This option is required for the WINE Windows(tm) emulator, and is
220# not used by anything else (that we know of).
221#
222options USER_LDT #allow user-level control of i386 ldt
223
224#
225# These three options provide support for System V Interface
226# Definition-style interprocess communication, in the form of shared
227# memory, semaphores, and message queues, respectively.
228#
229options SYSVSHM
230options SYSVSEM
231options SYSVMSG
232
233#
234# This option includes a MD5 routine in the kernel, this is used for
235# various authentication and privacy uses.
236#
237options "MD5"
238
239
240#####################################################################
241# DEBUGGING OPTIONS
242
243#
244# Enable the kernel debugger.
245#
246options DDB
247
248#
249# Don't drop into DDB for a panic. Intended for unattended operation
250# where you may want to drop to DDB from the console, but still want
251# the machine to recover from a panic
252#
253options DDB_UNATTENDED
254
255#
256# If using GDB remote mode to debug the kernel, there's a non-standard
257# extension to the remote protocol that can be used to use the serial
258# port as both the debugging port and the system console. It's non-
259# standard and you're on your own if you enable it. See also the
260# "remotechat" variables in the FreeBSD specific version of gdb.
261#
262options GDB_REMOTE_CHAT
263
264#
265# KTRACE enables the system-call tracing facility ktrace(2).
266#
267options KTRACE #kernel tracing
268
269#
270# The DIAGNOSTIC option is used in a number of source files to enable
271# extra sanity checking of internal structures. This support is not
272# enabled by default because of the extra time it would take to check
273# for these conditions, which can only occur as a result of
274# programming errors.
275#
276options DIAGNOSTIC
277
278#
279# PERFMON causes the driver for Pentium/Pentium Pro performance counters
280# to be compiled. See perfmon(4) for more information.
281#
282options PERFMON
283
284# XXX - this doesn't belong here.
285# Allow ordinary users to take the console - this is useful for X.
286options UCONSOLE
287
288# XXX - this doesn't belong here either
289options USERCONFIG #boot -c editor
290options USERCONFIG_BOOT #imply -c and parse info area
291options VISUAL_USERCONFIG #visual boot -c editor
292
293#####################################################################
294# NETWORKING OPTIONS
295
296#
297# Protocol families:
298# Only the INET (Internet) family is officially supported in FreeBSD.
299# Source code for the NS (Xerox Network Service) is provided for amusement
300# value.
301#
302options INET #Internet communications protocols
303
304options IPX #IPX/SPX communications protocols
305options IPXIP #IPX in IP encapsulation (not available)
306options IPTUNNEL #IP in IPX encapsulation (not available)
307
308options NETATALK #Appletalk communications protocols
309
310# These are currently broken but are shipped due to interest.
311#options NS #Xerox NS protocols
312
313# These are currently broken and are no longer shipped due to lack
314# of interest.
315#options CCITT #X.25 network layer
316#options ISO
317#options TPIP #ISO TP class 4 over IP
318#options TPCONS #ISO TP class 0 over X.25
319#options LLC #X.25 link layer for Ethernets
320#options HDLC #X.25 link layer for serial lines
321#options EON #ISO CLNP over IP
322#options NSIP #XNS over IP
323
324#
325# Network interfaces:
326# The `loop' pseudo-device is MANDATORY when networking is enabled.
327# The `ether' pseudo-device provides generic code to handle
328# Ethernets; it is MANDATORY when a Ethernet device driver is
329# configured.
330# The 'fddi' pseudo-device provides generic code to support FDDI.
331# The `sppp' pseudo-device serves a similar role for certain types
332# of synchronous PPP links (like `cx', `ar').
333# The `sl' pseudo-device implements the Serial Line IP (SLIP) service.
334# The `ppp' pseudo-device implements the Point-to-Point Protocol.
335# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be
336# aware of the legal and administrative consequences of enabling this
337# option. The number of devices determines the maximum number of
338# simultaneous BPF clients programs runnable.
339# The `disc' pseudo-device implements a minimal network interface,
340# which throws away all packets sent and never receives any. It is
341# included for testing purposes.
342# The `tun' pseudo-device implements the User Process PPP (iijppp)
343#
344pseudo-device ether #Generic Ethernet
345pseudo-device fddi #Generic FDDI
346pseudo-device sppp #Generic Synchronous PPP
347pseudo-device loop #Network loopback device
348pseudo-device sl 2 #Serial Line IP
349pseudo-device ppp 2 #Point-to-point protocol
350pseudo-device bpfilter 4 #Berkeley packet filter
351pseudo-device disc #Discard device
352pseudo-device tun 1 #Tunnel driver(user process ppp)
353
354#
355# Internet family options:
356#
357# TCP_COMPAT_42 causes the TCP code to emulate certain bugs present in
358# 4.2BSD. This option should not be used unless you have a 4.2BSD
359# machine and TCP connections fail.
360#
361# MROUTING enables the kernel multicast packet forwarder, which works
362# with mrouted(8).
363#
364# IPFIREWALL enables support for IP firewall construction, in
365# conjunction with the `ipfw' program. IPFIREWALL_VERBOSE sends
366# logged packets to the system logger. IPFIREWALL_VERBOSE_LIMIT
367# limits the number of times a matching entry can be logged.
368#
369# IPDIVERT enables the divert IP sockets, used by ``ipfw divert''
370#
371# TCPDEBUG is undocumented.
372#
373options "TCP_COMPAT_42" #emulate 4.2BSD TCP bugs
374options MROUTING # Multicast routing
375options IPFIREWALL #firewall
376options IPFIREWALL_VERBOSE #print information about
377 # dropped packets
378options "IPFIREWALL_VERBOSE_LIMIT=100" #limit verbosity
379options IPDIVERT #divert sockets
380options TCPDEBUG
381
382
383#####################################################################
384# FILESYSTEM OPTIONS
385
386#
387# Only the root, /usr, and /tmp filesystems need be statically
388# compiled; everything else will be automatically loaded at mount
389# time. (Exception: the UFS family---FFS, MFS, and LFS---cannot
390# currently be demand-loaded.) Some people still prefer to statically
391# compile other filesystems as well.
392#
393# NB: The LFS, PORTAL, and UNION filesystems are known to be buggy,
394# and WILL panic your system if you attempt to do anything with them.
395# They are included here as an incentive for some enterprising soul to
396# sit down and fix them.
397#
398# Note: 4.4BSD NQNFS lease checking has relatively high cost for
399# _local_ I/O as well as remote I/O. Don't use it unless you will
400# using NQNFS.
401#
402
403# One of these is mandatory:
404options FFS #Fast filesystem
405options NFS #Network File System
406
407# The rest are optional:
408options NQNFS #Enable NQNFS lease checking
409# options NFS_NOSERVER #Disable the NFS-server code.
410options "CD9660" #ISO 9660 filesystem
411options FDESC #File descriptor filesystem
412options KERNFS #Kernel filesystem
413options LFS #Log filesystem
414options MFS #Memory File System
415options MSDOSFS #MS DOS File System
416options NULLFS #NULL filesystem
417options PORTAL #Portal filesystem
418options PROCFS #Process filesystem
419options UMAPFS #UID map filesystem
420options UNION #Union filesystem
421# This DEVFS is experimental but seems to work
422options DEVFS #devices filesystem
423
424# Make space in the kernel for a MFS root filesystem. Define to the number
425# of kilobytes to reserve for the filesystem.
426options MFS_ROOT=10
427# Allow the MFS_ROOT code to load the MFS image from floppy if it is missing.
428options MFS_AUTOLOAD
429
430# Allow this many swap-devices.
431options NSWAPDEV=20
432
433# Disk quotas are supported when this option is enabled. If you
434# change the value of this option, you must do a `make clean' in your
435# kernel compile directory in order to get a working kernel.
436#
437options QUOTA #enable disk quotas
438
439# Add more checking code to various filesystems
440#options NULLFS_DIAGNOSTIC
441#options KERNFS_DIAGNOSTIC
442#options UMAPFS_DIAGNOSTIC
443#options UNION_DIAGNOSTIC
444
445# In particular multi-session CD-Rs might require a huge amount of
446# time in order to "settle". If we are about mounting them as the
447# root f/s, we gotta wait a little.
448#
449# The number is supposed to be in seconds.
450options "CD9660_ROOTDELAY=20"
451
452# Add some error checking code to the null_bypass routine
453# in the NULL filesystem
454#options SAFETY
455
456
457#####################################################################
458# SCSI DEVICES
459
460# SCSI DEVICE CONFIGURATION
461
462# The SCSI subsystem consists of the `base' SCSI code, a number of
463# high-level SCSI device `type' drivers, and the low-level host-adapter
464# device drivers. The host adapters are listed in the ISA and PCI
465# device configuration sections below.
466#
467# Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so
468# that a given bus, target, and LUN always come on line as the same
469# device unit. In earlier versions the unit numbers were assigned
470# in the order that the devices were probed on the SCSI bus. This
471# means that if you removed a disk drive, you may have had to rewrite
472# your /etc/fstab file, and also that you had to be careful when adding
473# a new disk as it may have been probed earlier and moved your device
474# configuration around.
475
476# This old behavior is maintained as the default behavior. The unit
477# assignment begins with the first non-wired down unit for a device
478# type. For example, if you wire a disk as "sd3" then the first
479# non-wired disk will be assigned sd4.
480
481# The syntax for wiring down devices is:
482
483# controller scbus0 at ahc0 # Single bus device
484# controller scbus1 at ahc1 bus 0 # Single bus device
485# controller scbus3 at ahc2 bus 0 # Twin bus device
486# controller scbus2 at ahc2 bus 1 # Twin bus device
487# disk sd0 at scbus0 target 0 unit 0
488# disk sd1 at scbus3 target 1
489# disk sd2 at scbus2 target 3
490# tape st1 at scbus1 target 6
491# device cd0 at scbus?
492
493# "units" (SCSI logical unit number) that are not specified are
494# treated as if specified as LUN 0.
495
496# All SCSI devices allocate as many units as are required.
497
498# The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI
499# configuration and doesn't have to be explicitly configured.
500
501controller scbus0 #base SCSI code
502device ch0 #SCSI media changers
503device sd0 #SCSI disks
504device st0 #SCSI tapes
505device cd0 #SCSI CD-ROMs
506device od0 #SCSI optical disk
507
508# The previous devices (ch, sd, st, cd) are recognized by config.
509# config doesn't (and shouldn't) know about these newer ones,
510# so we have to specify that they are on a SCSI bus with the "at scbus?"
511# clause.
512
513device worm0 at scbus? # SCSI worm
514device pt0 at scbus? # SCSI processor type
515device sctarg0 at scbus? # SCSI target
516
517# SCSI OPTIONS:
518
519# SCSIDEBUG: When defined enables debugging macros
520# NO_SCSI_SENSE: When defined disables sense descriptions (about 4k)
521# SCSI_REPORT_GEOMETRY: Always report disk geometry at boot up instead
522# of only when booting verbosely.
523options SCSIDEBUG
524#options NO_SCSI_SENSE
525options SCSI_REPORT_GEOMETRY
526
527# Options for the `od' optical disk driver:
528#
529# If drive returns sense key as 0x02 with vendor specific additional
530# sense code (ASC) and additional sense code qualifier (ASCQ), or
531# illegal ASC and ASCQ. This cause an error (NOT READY) and retrying.
532# To suppress this, use the following option.
533#
534options OD_BOGUS_NOT_READY
535#
536# For an automatic spindown, try this. Again, preferably as an
537# option in your config file.
538# WARNING! Use at your own risk. Joerg's ancient SONY SMO drive
539# groks it fine, while Shunsuke's Fujitsu chokes on it and times
540# out.
541#
542options OD_AUTO_TURNOFF
543
544
545
546#####################################################################
547# MISCELLANEOUS DEVICES AND OPTIONS
548
549#
550# Of these, only the `log' device is truly mandatory. The `pty'
551# device usually turns out to be ``effectively mandatory'', as it is
552# required for `telnetd', `rlogind', `screen', `emacs', and `xterm',
553# among others.
554# If you wish to run certain
555# system utilities which are compressed by default (like /stand/sysinstall)
556# then `gzip' becomes mandatory too.
557#
558pseudo-device pty 16 #Pseudo ttys - can go as high as 256
559pseudo-device speaker #Play IBM BASIC-style noises out your speaker
560pseudo-device log #Kernel syslog interface (/dev/klog)
561pseudo-device gzip #Exec gzipped a.out's
562pseudo-device vn #Vnode driver (turns a file into a device)
563pseudo-device snp 3 #Snoop device - to look at pty/vty/etc..
564pseudo-device ccd 4 #Concatenated disk driver
565
566# These are only for watching for bitrot in old tty code.
567# broken
568#pseudo-device tb
569
570# These are only for watching for bitrot in old SCSI code.
571pseudo-device su #scsi user
572pseudo-device ssc #super scsi
573
574
575#####################################################################
576# HARDWARE DEVICE CONFIGURATION
577
578# ISA and EISA devices:
579# EISA support is available for some device, so they can be auto-probed.
580# Micro Channel is not supported at all.
581
582#
583# Mandatory ISA devices: isa, sc or vt, npx
584#
585controller isa0
586
587#
588# Options for `isa':
589#
590# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
591# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
592# This option breaks suspend/resume on some portables.
593#
594# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
595# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
596# Automatic EOI is documented not to work for for the slave with the
597# original i8259A, but it works for some clones and some integrated
598# versions.
599#
600# BOUNCE_BUFFERS provides support for ISA DMA on machines with more
601# than 16 megabytes of memory. It doesn't hurt on other machines.
602# Some broken EISA and VLB hardware may need this, too.
603#
604# MAXMEM specifies the amount of RAM on the machine; if this is not
605# specified, FreeBSD will read the amount of memory from the CMOS RAM,
606# so the amount of memory will be limited to 64MB or 16MB depending on
607# the BIOS. The amount is in kilobytes, so for a machine with 128MB of
608# RAM, it would be 131072 (128 * 1024).
609#
610# TUNE_1542 enables the automatic ISA bus speed selection for the
611# Adaptec 1542 boards. Does not work for all boards, use it with caution.
612#
613# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
614# reset the CPU for reboot. This is needed on some systems with broken
615# keyboard controllers.
616#
617# PAS_JOYSTICK_ENABLE enables the gameport on the ProAudio Spectrum
618
619options "AUTO_EOI_1"
620#options "AUTO_EOI_2"
621options BOUNCE_BUFFERS
622options "MAXMEM=(128*1024)"
623#options "TUNE_1542"
624#options BROKEN_KEYBOARD_RESET
625#options PAS_JOYSTICK_ENABLE
626
627# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
628device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint
629options PCVT_FREEBSD=210 # pcvt running on FreeBSD >= 2.0.5
630options XSERVER # support for running an X server.
631options FAT_CURSOR # start with block cursor
632# This PCVT option is for keyboards such as those used on IBM ThinkPad laptops
633options PCVT_SCANSET=2 # IBM keyboards are non-std
634
635# The syscons console driver (sco color console compatible) - default.
636device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
637options MAXCONS=16 # number of virtual consoles
638options SLOW_VGA # do byte-wide i/o's to TS and GDC regs
6#
7# NB: You probably don't want to try running a kernel built from this
8# file. Instead, you should start from GENERIC, and add options from
9# this file as required.
10#
11
12#
13# This directive is mandatory; it defines the architecture to be
14# configured for; in this case, the 386 family based IBM-PC and
15# compatibles.
16#
17machine "i386"
18
19#
20# This is the ``identification'' of the kernel. Usually this should
21# be the same as the name of your kernel.
22#
23ident LINT
24
25#
26# The `maxusers' parameter controls the static sizing of a number of
27# internal system tables by a complicated formula defined in param.c.
28#
29maxusers 10
30
31#
32# Certain applications can grow to be larger than the 128M limit
33# that FreeBSD initially imposes. Below are some options to
34# allow that limit to grow to 256MB, and can be increased further
35# with changing the parameters. MAXDSIZ is the maximum that the
36# limit can be set to, and the DFLDSIZ is the default value for
37# the limit. You might want to set the default lower than the
38# max, and explicitly set the maximum with a shell command for processes
39# that regularly exceed the limit like INND.
40#
41options "MAXDSIZ=(256*1024*1024)"
42options "DFLDSIZ=(256*1024*1024)"
43
44# When this is set, be extra conservative in various parts of the kernel
45# and choose functionality over speed (on the widest variety of systems).
46options FAILSAFE
47
48# This allows you to actually store this configuration file into
49# the kernel binary itself, where it may be later read by saying:
50# strings /kernel | grep ^___ | sed -e 's/^___//' > MYKERNEL
51#
52options INCLUDE_CONFIG_FILE # Include this file in kernel
53
54#
55# This directive defines a number of things:
56# - The compiled kernel is to be called `kernel'
57# - The root filesystem might be on partition wd0a
58# - Crash dumps will be written to wd0b, if possible. Specifying the
59# dump device here is not recommended. Use dumpon(8).
60#
61config kernel root on wd0 dumps on wd0
62
63
64#####################################################################
65# SMP OPTIONS:
66#
67# SMP enables building of a Symmetric MultiProcessor Kernel.
68# APIC_IO enables the use of the IO APIC for Symmetric I/O.
69# NCPU sets the number of CPUs, defaults to 2.
70# NBUS sets the number of busses, defaults to 4.
71# NAPIC sets the number of IO APICs on the motherboard, defaults to 1.
72# NINTR sets the total number of INTs provided by the motherboard.
73#
74# SMP_TIMER_NC is for motherboards that claim 8254 connectivity to the IO APIC,
75# when in fact it is NOT connected.
76#
77# Notes:
78#
79# An SMP kernel will ONLY run on an Intel MP spec. qualified motherboard.
80#
81# Be sure to disable 'cpu "I386_CPU"' && 'cpu "I486_CPU"' for SMP kernels.
82#
83# Check the 'Rogue SMP hardware' section to see if additional options
84# are required by your hardware.
85#
86
87# Mandatory:
88options SMP # Symmetric MultiProcessor Kernel
89options APIC_IO # Symmetric (APIC) I/O
90
91# Optional, these are the defaults plus 1:
92options NCPU=3 # number of CPUs
93options NBUS=5 # number of busses
94options NAPIC=2 # number of IO APICs
95options NINTR=25 # number of INTs
96
97#
98# Rogue SMP hardware:
99#
100
101# Tyan Tomcat II:
102#options SMP_TIMER_NC # 8254 NOT connected to APIC
103
104# SuperMicro P6DNE:
105#options SMP_TIMER_NC # 8254 NOT connected to APIC
106
107# Bridged PCI cards:
108#
109# The MP tables of most of the current generation MP motherboards
110# do NOT properly support bridged PCI cards. To use one of these
111# cards you should refer to ???
112
113
114#####################################################################
115# CPU OPTIONS
116
117#
118# You must specify at least one CPU (the one you intend to run on);
119# deleting the specification for CPUs you don't need to use may make
120# parts of the system run faster. This is especially true removing
121# I386_CPU.
122#
123cpu "I386_CPU"
124cpu "I486_CPU"
125cpu "I586_CPU" # aka Pentium(tm)
126cpu "I686_CPU" # aka Pentium Pro(tm)
127
128#
129# Options for CPU features.
130#
131# CPU_BLUELIGHTNING_FPU_OP_CACHE enables FPU operand cache on IBM
132# BlueLightning CPU. It works only with Cyrix FPU, and this option
133# should not be used with Intel FPU.
134#
135# CPU_BLUELIGHTNING_3X enables triple-clock mode on IBM Blue Lightning
136# CPU if CPU supports it. The default is double-clock mode on
137# BlueLightning CPU box.
138#
139# CPU_BTB_EN enables branch target buffer on Cyrix 5x86 (NOTE 1).
140#
141# CPU_DIRECT_MAPPED_CACHE sets L1 cache of Cyrix 486DLC CPU in direct
142# mapped mode. Default is 2-way set associative mode.
143#
144# CPU_DISABLE_5X86_LSSER disables load store serialize (i.e. enables
145# reorder). This option should not be used if you use memory mapped
146# I/O device(s).
147#
148# CPU_FASTER_5X86_FPU enables faster FPU exception handler.
149#
150# CPU_I486_ON_386 enables CPU cache on i486 based CPU upgrade products
151# for i386 machines.
152#
153# CPU_IORT defines I/O clock delay time (NOTE 1). Default vaules of
154# I/O clock delay time on Cyrix 5x86 and 6x86 are 0 and 7,respectively
155# (no clock delay).
156#
157# CPU_LOOP_EN prevents flushing the prefetch buffer if the destination
158# of a jump is already present in the prefetch buffer on Cyrix 5x86(NOTE
159# 1).
160#
161# CPU_RSTK_EN enables return stack on Cyrix 5x86 (NOTE 1).
162#
163# CPU_SUSP_HLT enables suspend on HALT. If this option is set, CPU
164# enters suspend mode following execution of HALT instruction.
165#
166# CYRIX_CACHE_WORKS enables CPU cache on Cyrix 486 CPUs with cache
167# flush at hold state.
168#
169# CYRIX_CACHE_REALLY_WORKS enables (1) CPU cache on Cyrix 486 CPUs
170# without cache flush at hold state, and (2) write-back CPU cache on
171# Cyrix 6x86 whose revision < 2.7 (NOTE 2).
172#
173# NOTE 1: The options, CPU_BTB_EN, CPU_LOOP_EN, CPU_IORT,
174# CPU_LOOP_ENand CPU_RSTK_EN should no be used becasue of CPU bugs.
175# These options may crash your system.
176#
177# NOTE 2: If CYRIX_CACHE_REALLY_WORKS is not set, CPU cache is enabled
178# in write-through mode when revision < 2.7. If revision of Cyrix
179# 6x86 >= 2.7, CPU cache is always enabled in write-back mode.
180#
181options "CPU_BLUELIGHTNING_FPU_OP_CACHE"
182options "CPU_BLUELIGHTNING_3X"
183options "CPU_BTB_EN"
184options "CPU_DIRECT_MAPPED_CACHE"
185options "CPU_DISABLE_5X86_LSSER"
186options "CPU_FASTER_5X86_FPU"
187options "CPU_I486_ON_386"
188options "CPU_IORT"
189options "CPU_LOOP_EN"
190options "CPU_RSTK_EN"
191options "CPU_SUSP_HLT"
192options "CYRIX_CACHE_WORKS"
193options "CYRIX_CACHE_REALLY_WORKS"
194
195#
196# A math emulator is mandatory if you wish to run on hardware which
197# does not have a floating-point processor. Pick either the original,
198# bogus (but freely-distributable) math emulator, or a much more
199# fully-featured but GPL-licensed emulator taken from Linux.
200#
201options MATH_EMULATE #Support for x87 emulation
202# Don't enable both of these in a real config.
203options GPL_MATH_EMULATE #Support for x87 emulation via
204 #new math emulator
205
206
207#####################################################################
208# COMPATIBILITY OPTIONS
209
210#
211# Implement system calls compatible with 4.3BSD and older versions of
212# FreeBSD. You probably do NOT want to remove this as much current code
213# still relies on the 4.3 emulation.
214#
215options "COMPAT_43"
216
217#
218# Allow user-mode programs to manipulate their local descriptor tables.
219# This option is required for the WINE Windows(tm) emulator, and is
220# not used by anything else (that we know of).
221#
222options USER_LDT #allow user-level control of i386 ldt
223
224#
225# These three options provide support for System V Interface
226# Definition-style interprocess communication, in the form of shared
227# memory, semaphores, and message queues, respectively.
228#
229options SYSVSHM
230options SYSVSEM
231options SYSVMSG
232
233#
234# This option includes a MD5 routine in the kernel, this is used for
235# various authentication and privacy uses.
236#
237options "MD5"
238
239
240#####################################################################
241# DEBUGGING OPTIONS
242
243#
244# Enable the kernel debugger.
245#
246options DDB
247
248#
249# Don't drop into DDB for a panic. Intended for unattended operation
250# where you may want to drop to DDB from the console, but still want
251# the machine to recover from a panic
252#
253options DDB_UNATTENDED
254
255#
256# If using GDB remote mode to debug the kernel, there's a non-standard
257# extension to the remote protocol that can be used to use the serial
258# port as both the debugging port and the system console. It's non-
259# standard and you're on your own if you enable it. See also the
260# "remotechat" variables in the FreeBSD specific version of gdb.
261#
262options GDB_REMOTE_CHAT
263
264#
265# KTRACE enables the system-call tracing facility ktrace(2).
266#
267options KTRACE #kernel tracing
268
269#
270# The DIAGNOSTIC option is used in a number of source files to enable
271# extra sanity checking of internal structures. This support is not
272# enabled by default because of the extra time it would take to check
273# for these conditions, which can only occur as a result of
274# programming errors.
275#
276options DIAGNOSTIC
277
278#
279# PERFMON causes the driver for Pentium/Pentium Pro performance counters
280# to be compiled. See perfmon(4) for more information.
281#
282options PERFMON
283
284# XXX - this doesn't belong here.
285# Allow ordinary users to take the console - this is useful for X.
286options UCONSOLE
287
288# XXX - this doesn't belong here either
289options USERCONFIG #boot -c editor
290options USERCONFIG_BOOT #imply -c and parse info area
291options VISUAL_USERCONFIG #visual boot -c editor
292
293#####################################################################
294# NETWORKING OPTIONS
295
296#
297# Protocol families:
298# Only the INET (Internet) family is officially supported in FreeBSD.
299# Source code for the NS (Xerox Network Service) is provided for amusement
300# value.
301#
302options INET #Internet communications protocols
303
304options IPX #IPX/SPX communications protocols
305options IPXIP #IPX in IP encapsulation (not available)
306options IPTUNNEL #IP in IPX encapsulation (not available)
307
308options NETATALK #Appletalk communications protocols
309
310# These are currently broken but are shipped due to interest.
311#options NS #Xerox NS protocols
312
313# These are currently broken and are no longer shipped due to lack
314# of interest.
315#options CCITT #X.25 network layer
316#options ISO
317#options TPIP #ISO TP class 4 over IP
318#options TPCONS #ISO TP class 0 over X.25
319#options LLC #X.25 link layer for Ethernets
320#options HDLC #X.25 link layer for serial lines
321#options EON #ISO CLNP over IP
322#options NSIP #XNS over IP
323
324#
325# Network interfaces:
326# The `loop' pseudo-device is MANDATORY when networking is enabled.
327# The `ether' pseudo-device provides generic code to handle
328# Ethernets; it is MANDATORY when a Ethernet device driver is
329# configured.
330# The 'fddi' pseudo-device provides generic code to support FDDI.
331# The `sppp' pseudo-device serves a similar role for certain types
332# of synchronous PPP links (like `cx', `ar').
333# The `sl' pseudo-device implements the Serial Line IP (SLIP) service.
334# The `ppp' pseudo-device implements the Point-to-Point Protocol.
335# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be
336# aware of the legal and administrative consequences of enabling this
337# option. The number of devices determines the maximum number of
338# simultaneous BPF clients programs runnable.
339# The `disc' pseudo-device implements a minimal network interface,
340# which throws away all packets sent and never receives any. It is
341# included for testing purposes.
342# The `tun' pseudo-device implements the User Process PPP (iijppp)
343#
344pseudo-device ether #Generic Ethernet
345pseudo-device fddi #Generic FDDI
346pseudo-device sppp #Generic Synchronous PPP
347pseudo-device loop #Network loopback device
348pseudo-device sl 2 #Serial Line IP
349pseudo-device ppp 2 #Point-to-point protocol
350pseudo-device bpfilter 4 #Berkeley packet filter
351pseudo-device disc #Discard device
352pseudo-device tun 1 #Tunnel driver(user process ppp)
353
354#
355# Internet family options:
356#
357# TCP_COMPAT_42 causes the TCP code to emulate certain bugs present in
358# 4.2BSD. This option should not be used unless you have a 4.2BSD
359# machine and TCP connections fail.
360#
361# MROUTING enables the kernel multicast packet forwarder, which works
362# with mrouted(8).
363#
364# IPFIREWALL enables support for IP firewall construction, in
365# conjunction with the `ipfw' program. IPFIREWALL_VERBOSE sends
366# logged packets to the system logger. IPFIREWALL_VERBOSE_LIMIT
367# limits the number of times a matching entry can be logged.
368#
369# IPDIVERT enables the divert IP sockets, used by ``ipfw divert''
370#
371# TCPDEBUG is undocumented.
372#
373options "TCP_COMPAT_42" #emulate 4.2BSD TCP bugs
374options MROUTING # Multicast routing
375options IPFIREWALL #firewall
376options IPFIREWALL_VERBOSE #print information about
377 # dropped packets
378options "IPFIREWALL_VERBOSE_LIMIT=100" #limit verbosity
379options IPDIVERT #divert sockets
380options TCPDEBUG
381
382
383#####################################################################
384# FILESYSTEM OPTIONS
385
386#
387# Only the root, /usr, and /tmp filesystems need be statically
388# compiled; everything else will be automatically loaded at mount
389# time. (Exception: the UFS family---FFS, MFS, and LFS---cannot
390# currently be demand-loaded.) Some people still prefer to statically
391# compile other filesystems as well.
392#
393# NB: The LFS, PORTAL, and UNION filesystems are known to be buggy,
394# and WILL panic your system if you attempt to do anything with them.
395# They are included here as an incentive for some enterprising soul to
396# sit down and fix them.
397#
398# Note: 4.4BSD NQNFS lease checking has relatively high cost for
399# _local_ I/O as well as remote I/O. Don't use it unless you will
400# using NQNFS.
401#
402
403# One of these is mandatory:
404options FFS #Fast filesystem
405options NFS #Network File System
406
407# The rest are optional:
408options NQNFS #Enable NQNFS lease checking
409# options NFS_NOSERVER #Disable the NFS-server code.
410options "CD9660" #ISO 9660 filesystem
411options FDESC #File descriptor filesystem
412options KERNFS #Kernel filesystem
413options LFS #Log filesystem
414options MFS #Memory File System
415options MSDOSFS #MS DOS File System
416options NULLFS #NULL filesystem
417options PORTAL #Portal filesystem
418options PROCFS #Process filesystem
419options UMAPFS #UID map filesystem
420options UNION #Union filesystem
421# This DEVFS is experimental but seems to work
422options DEVFS #devices filesystem
423
424# Make space in the kernel for a MFS root filesystem. Define to the number
425# of kilobytes to reserve for the filesystem.
426options MFS_ROOT=10
427# Allow the MFS_ROOT code to load the MFS image from floppy if it is missing.
428options MFS_AUTOLOAD
429
430# Allow this many swap-devices.
431options NSWAPDEV=20
432
433# Disk quotas are supported when this option is enabled. If you
434# change the value of this option, you must do a `make clean' in your
435# kernel compile directory in order to get a working kernel.
436#
437options QUOTA #enable disk quotas
438
439# Add more checking code to various filesystems
440#options NULLFS_DIAGNOSTIC
441#options KERNFS_DIAGNOSTIC
442#options UMAPFS_DIAGNOSTIC
443#options UNION_DIAGNOSTIC
444
445# In particular multi-session CD-Rs might require a huge amount of
446# time in order to "settle". If we are about mounting them as the
447# root f/s, we gotta wait a little.
448#
449# The number is supposed to be in seconds.
450options "CD9660_ROOTDELAY=20"
451
452# Add some error checking code to the null_bypass routine
453# in the NULL filesystem
454#options SAFETY
455
456
457#####################################################################
458# SCSI DEVICES
459
460# SCSI DEVICE CONFIGURATION
461
462# The SCSI subsystem consists of the `base' SCSI code, a number of
463# high-level SCSI device `type' drivers, and the low-level host-adapter
464# device drivers. The host adapters are listed in the ISA and PCI
465# device configuration sections below.
466#
467# Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so
468# that a given bus, target, and LUN always come on line as the same
469# device unit. In earlier versions the unit numbers were assigned
470# in the order that the devices were probed on the SCSI bus. This
471# means that if you removed a disk drive, you may have had to rewrite
472# your /etc/fstab file, and also that you had to be careful when adding
473# a new disk as it may have been probed earlier and moved your device
474# configuration around.
475
476# This old behavior is maintained as the default behavior. The unit
477# assignment begins with the first non-wired down unit for a device
478# type. For example, if you wire a disk as "sd3" then the first
479# non-wired disk will be assigned sd4.
480
481# The syntax for wiring down devices is:
482
483# controller scbus0 at ahc0 # Single bus device
484# controller scbus1 at ahc1 bus 0 # Single bus device
485# controller scbus3 at ahc2 bus 0 # Twin bus device
486# controller scbus2 at ahc2 bus 1 # Twin bus device
487# disk sd0 at scbus0 target 0 unit 0
488# disk sd1 at scbus3 target 1
489# disk sd2 at scbus2 target 3
490# tape st1 at scbus1 target 6
491# device cd0 at scbus?
492
493# "units" (SCSI logical unit number) that are not specified are
494# treated as if specified as LUN 0.
495
496# All SCSI devices allocate as many units as are required.
497
498# The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI
499# configuration and doesn't have to be explicitly configured.
500
501controller scbus0 #base SCSI code
502device ch0 #SCSI media changers
503device sd0 #SCSI disks
504device st0 #SCSI tapes
505device cd0 #SCSI CD-ROMs
506device od0 #SCSI optical disk
507
508# The previous devices (ch, sd, st, cd) are recognized by config.
509# config doesn't (and shouldn't) know about these newer ones,
510# so we have to specify that they are on a SCSI bus with the "at scbus?"
511# clause.
512
513device worm0 at scbus? # SCSI worm
514device pt0 at scbus? # SCSI processor type
515device sctarg0 at scbus? # SCSI target
516
517# SCSI OPTIONS:
518
519# SCSIDEBUG: When defined enables debugging macros
520# NO_SCSI_SENSE: When defined disables sense descriptions (about 4k)
521# SCSI_REPORT_GEOMETRY: Always report disk geometry at boot up instead
522# of only when booting verbosely.
523options SCSIDEBUG
524#options NO_SCSI_SENSE
525options SCSI_REPORT_GEOMETRY
526
527# Options for the `od' optical disk driver:
528#
529# If drive returns sense key as 0x02 with vendor specific additional
530# sense code (ASC) and additional sense code qualifier (ASCQ), or
531# illegal ASC and ASCQ. This cause an error (NOT READY) and retrying.
532# To suppress this, use the following option.
533#
534options OD_BOGUS_NOT_READY
535#
536# For an automatic spindown, try this. Again, preferably as an
537# option in your config file.
538# WARNING! Use at your own risk. Joerg's ancient SONY SMO drive
539# groks it fine, while Shunsuke's Fujitsu chokes on it and times
540# out.
541#
542options OD_AUTO_TURNOFF
543
544
545
546#####################################################################
547# MISCELLANEOUS DEVICES AND OPTIONS
548
549#
550# Of these, only the `log' device is truly mandatory. The `pty'
551# device usually turns out to be ``effectively mandatory'', as it is
552# required for `telnetd', `rlogind', `screen', `emacs', and `xterm',
553# among others.
554# If you wish to run certain
555# system utilities which are compressed by default (like /stand/sysinstall)
556# then `gzip' becomes mandatory too.
557#
558pseudo-device pty 16 #Pseudo ttys - can go as high as 256
559pseudo-device speaker #Play IBM BASIC-style noises out your speaker
560pseudo-device log #Kernel syslog interface (/dev/klog)
561pseudo-device gzip #Exec gzipped a.out's
562pseudo-device vn #Vnode driver (turns a file into a device)
563pseudo-device snp 3 #Snoop device - to look at pty/vty/etc..
564pseudo-device ccd 4 #Concatenated disk driver
565
566# These are only for watching for bitrot in old tty code.
567# broken
568#pseudo-device tb
569
570# These are only for watching for bitrot in old SCSI code.
571pseudo-device su #scsi user
572pseudo-device ssc #super scsi
573
574
575#####################################################################
576# HARDWARE DEVICE CONFIGURATION
577
578# ISA and EISA devices:
579# EISA support is available for some device, so they can be auto-probed.
580# Micro Channel is not supported at all.
581
582#
583# Mandatory ISA devices: isa, sc or vt, npx
584#
585controller isa0
586
587#
588# Options for `isa':
589#
590# AUTO_EOI_1 enables the `automatic EOI' feature for the master 8259A
591# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
592# This option breaks suspend/resume on some portables.
593#
594# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
595# interrupt controller. This saves about 0.7-1.25 usec for each interrupt.
596# Automatic EOI is documented not to work for for the slave with the
597# original i8259A, but it works for some clones and some integrated
598# versions.
599#
600# BOUNCE_BUFFERS provides support for ISA DMA on machines with more
601# than 16 megabytes of memory. It doesn't hurt on other machines.
602# Some broken EISA and VLB hardware may need this, too.
603#
604# MAXMEM specifies the amount of RAM on the machine; if this is not
605# specified, FreeBSD will read the amount of memory from the CMOS RAM,
606# so the amount of memory will be limited to 64MB or 16MB depending on
607# the BIOS. The amount is in kilobytes, so for a machine with 128MB of
608# RAM, it would be 131072 (128 * 1024).
609#
610# TUNE_1542 enables the automatic ISA bus speed selection for the
611# Adaptec 1542 boards. Does not work for all boards, use it with caution.
612#
613# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
614# reset the CPU for reboot. This is needed on some systems with broken
615# keyboard controllers.
616#
617# PAS_JOYSTICK_ENABLE enables the gameport on the ProAudio Spectrum
618
619options "AUTO_EOI_1"
620#options "AUTO_EOI_2"
621options BOUNCE_BUFFERS
622options "MAXMEM=(128*1024)"
623#options "TUNE_1542"
624#options BROKEN_KEYBOARD_RESET
625#options PAS_JOYSTICK_ENABLE
626
627# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
628device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint
629options PCVT_FREEBSD=210 # pcvt running on FreeBSD >= 2.0.5
630options XSERVER # support for running an X server.
631options FAT_CURSOR # start with block cursor
632# This PCVT option is for keyboards such as those used on IBM ThinkPad laptops
633options PCVT_SCANSET=2 # IBM keyboards are non-std
634
635# The syscons console driver (sco color console compatible) - default.
636device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
637options MAXCONS=16 # number of virtual consoles
638options SLOW_VGA # do byte-wide i/o's to TS and GDC regs
639options "STD8X16FONT" # Compile font in
640makeoptions "STD8X16FONT"="cp850"
639
640#
641# `flags' for sc0:
642# 0x01 Use a 'visual' bell
643# 0x02 Use a 'blink' cursor
644# 0x04 Use a 'underline' cursor
645# 0x06 Use a 'blinking underline' (destructive) cursor
646# 0x08 Force detection of keyboard, else we always assume a keyboard
647# 0x10 Old-style (XT) keyboard support, useful for older ThinkPads
648# 0x20 Don't reset keyboard, useful for some newer ThinkPads
649
650#
651# The Numeric Processing eXtension driver. This should be configured if
652# your machine has a math co-processor, unless the coprocessor is very
653# buggy. If it is not configured then you *must* configure math emulation
654# (see above). If both npx0 and emulation are configured, then only npx0
655# is used (provided it works).
656device npx0 at isa? port "IO_NPX" iosiz 0x0 flags 0x0 irq 13 vector npxintr
657
658#
659# `flags' for npx0:
660# 0x01 don't use the npx registers to optimize bcopy
661# 0x02 don't use the npx registers to optimize bzero
662# 0x04 don't use the npx registers to optimize copyin or copyout.
663# The npx registers are normally used to optimize copying and zeroing when
664# all of the following conditions are satisfied:
665# "I586_CPU" is an option
666# the cpu is an i586 (perhaps not a Pentium)
667# the probe for npx0 succeeds
668# INT 16 exception handling works.
669# Then copying and zeroing using the npx registers is normally 30-100% faster.
670# The flags can be used to control cases where it doesn't work or is slower.
671# Setting them at boot time using userconfig works right (the optimizations
672# are not used until later in the bootstrap when npx0 is attached).
673#
674
675#
676# `iosiz' for npx0:
677# This can be used instead of the MAXMEM option to set the memory size. If
678# it is nonzero, then it overrides both the MAXMEM option and the memory
679# size reported by the BIOS. Setting it at boot time using userconfig takes
680# effect on the next reboot after the change has been recorded in the kernel
681# binary (the size is used early in the boot before userconfig has a chance
682# to change it).
683#
684
685#
686# Optional ISA and EISA devices:
687#
688
689#
690# SCSI host adapters: `aha', `aic', `bt', `nca'
691#
692# aha: Adaptec 154x
693# ahc: Adaptec 274x/284x/294x
694# aic: Adaptec 152x and sound cards using the Adaptec AIC-6360 (slow!)
695# bt: Most Buslogic controllers
696# nca: ProAudioSpectrum cards using the NCR 5380 or Trantor T130
697# uha: UltraStore 14F and 34F
698# sea: Seagate ST01/02 8 bit controller (slow!)
699# wds: Western Digital WD7000 controller (no scatter/gather!).
700#
701# Note that the order is important in order for Buslogic cards to be
702# probed correctly.
703#
704
705controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
706controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
707controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
708
709controller aic0 at isa? port 0x340 bio irq 11 vector aicintr
710controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr
711controller nca1 at isa? port 0x1f84
712controller nca2 at isa? port 0x1f8c
713controller nca3 at isa? port 0x1e88
714controller nca4 at isa? port 0x350 bio irq 5 vector ncaintr
715
716controller sea0 at isa? bio irq 5 iomem 0xdc000 iosiz 0x2000 vector seaintr
717controller wds0 at isa? port 0x350 bio irq 15 drq 6 vector wdsintr
718
719#
720# ST-506, ESDI, and IDE hard disks: `wdc' and `wd'
721#
722# NB: ``Enhanced IDE'' is NOT supported at this time.
723#
724# The flags fields are used to enable the multi-sector I/O and
725# the 32BIT I/O modes. The flags may be used in either the controller
726# definition or in the individual disk definitions. The controller
727# definition is supported for the boot configuration stuff.
728#
729# Each drive has a 16 bit flags value defined:
730# The low 8 bits are the maximum value for the multi-sector I/O,
731# where 0xff defaults to the maximum that the drive can handle.
732# The high bit of the 16 bit flags (0x8000) allows probing for
733# 32 bit transfers.
734#
735# The flags field for the drives can be specified in the controller
736# specification with the low 16 bits for drive 0, and the high 16 bits
737# for drive 1.
738# e.g.:
739#controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0x00ff8004 vector wdintr
740#
741# specifies that drive 0 will be allowed to probe for 32 bit transfers and
742# a maximum multi-sector transfer of 4 sectors, and drive 1 will not be
743# allowed to probe for 32 bit transfers, but will allow multi-sector
744# transfers up to the maximum that the drive supports.
745#
746
747#
748controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
749disk wd0 at wdc0 drive 0
750disk wd1 at wdc0 drive 1
751controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
752disk wd2 at wdc1 drive 0
753disk wd3 at wdc1 drive 1
754
755#
756# Options for `wdc':
757#
758# CMD640 enables serializing access to primary and secondary channel
759# of the CMD640B IDE Chip. The serializing will only take place
760# if this option is set *and* the chip is probed by the pci-system.
761#
762options "CMD640" #Enable work around for CMD640 h/w bug
763#
764# ATAPI enables the support for ATAPI-compatible IDE devices
765#
766options ATAPI #Enable ATAPI support for IDE bus
767options ATAPI_STATIC #Don't do it as an LKM
768
769# IDE CD-ROM driver - requires wdc controller and ATAPI option
770device wcd0
771
772#
773# Standard floppy disk controllers and floppy tapes: `fdc', `fd', and `ft'
774#
775controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
776#
777# Activate this line instead of the fdc0 line above if you happen to
778# have an Insight floppy tape. Probing them proved to be dangerous
779# for people with floppy disks only, so it's "hidden" behind a flag:
780#controller fdc0 at isa? port "IO_FD1" bio flags 1 irq 6 drq 2 vector fdintr
781
782disk fd0 at fdc0 drive 0
783disk fd1 at fdc0 drive 1
784tape ft0 at fdc0 drive 2
785
786
787#
788# Options for `fd':
789#
790# FDSEEKWAIT selects a non-default head-settle time (i.e., the time to
791# wait after a seek is performed). The default value (1/32 s) is
792# usually sufficient. The units are inverse seconds, so a value of 16
793# here means to wait 1/16th of a second; you should choose a power of
794# two.
795# XXX: this seems to be missing!
796options FDSEEKWAIT=16
797
798#
799# Other standard PC hardware: `lpt', `mse', `psm', `sio', etc.
800#
801# lpt: printer port
802# lpt specials:
803# port can be specified as ?, this will cause the driver to scan
804# the BIOS port list;
805# the irq and vector clauses may be omitted, this
806# will force the port into polling mode.
807# mse: Logitech and ATI InPort bus mouse ports
808# psm: PS/2 mouse port [note: conflicts with sc0/vt0, thus "conflicts" keywd]
809# sio: serial ports (see sio(4))
810
811device lpt0 at isa? port? tty irq 7 vector lptintr
812device lpt1 at isa? port "IO_LPT3" tty irq 5 vector lptintr
813device mse0 at isa? port 0x23c tty irq 5 vector mseintr
814device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
815# Options for psm:
816options PSM_CHECKSYNC #checks the header byte for sync.
817options PSM_HOOKAPM #hook the APM resume event, useful
818 #for some laptops
819options PSM_RESETAFTERSUSPEND #reset the device at the resume event
820
821device sio0 at isa? port "IO_COM1" tty flags 0x10 irq 4 vector siointr
822
823#
824# `flags' for serial drivers that support consoles (only for sio now):
825# 0x10 enable console support for this unit. The other console flags
826# are ignored unless this is set. Enabling console support does
827# not make the unit the preferred console - boot with -h or set
828# the 0x20 flag for that. Currently, at most one unit can have
829# console support; the first one (in config file order) with
830# this flag set is preferred. Setting this flag for sio0 gives
831# the old behaviour.
832# 0x20 force this unit to be the console (unless there is another
833# higher priority console). This replaces the COMCONSOLE option.
834# 0x40 reserve this unit for low level console operations. Do not
835#
836
837# Options for serial drivers that support consoles (only for sio now):
838options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to
839 #DDB, if available.
840options CONSPEED=9600 #default speed for serial console (default 9600)
841
842# Options for sio:
843options COM_ESP #code for Hayes ESP
844options COM_MULTIPORT #code for some cards with shared IRQs
845options DSI_SOFT_MODEM #code for DSI Softmodems
846
847# Other flags for sio that aren't documented in the man page.
848# 0x20000 enable hardware RTS/CTS and larger FIFOs. Only works for
849# ST16650A-compatible UARTs.
850
851#
852# Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc'
853#
854# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver (requires sppp)
855# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing)
856# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
857# el: 3Com 3C501 (slow!)
858# ep: 3Com 3C509 (buggy)
859# fe: Fujitsu MB86960A/MB86965A Ethernet
860# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210
861# le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100,
862# DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422)
863# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL)
864# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp)
865# wl: Lucent Wavelan (ISA card only).
866# ze: IBM/National Semiconductor PCMCIA ethernet controller.
867# zp: 3Com PCMCIA Etherlink III (It does not require shared memory for
868# send/receive operation, but it needs 'iomem' to read/write the
869# attribute memory)
870#
871
872device ar0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector arintr
873device cx0 at isa? port 0x240 net irq 15 drq 7 vector cxintr
874device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr
875device eg0 at isa? port 0x310 net irq 5 vector egintr
876device el0 at isa? port 0x300 net irq 9 vector elintr
877device ep0 at isa? port 0x300 net irq 10 vector epintr
878device ex0 at isa? port? net irq? vector exintr
879device fe0 at isa? port 0x300 net irq ? vector feintr
880device ie0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector ieintr
881device ie1 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr
882device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
883device lnc0 at isa? port 0x300 net irq 10 drq 0 vector lncintr
884device sr0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector srintr
885device wl0 at isa? port 0x300 net irq ? vector wlintr
886# Needed so that we can (bogusly) include both the dedicated PCCARD
887# drivers and the generic support
888options LINT_PCCARD_HACK
889device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
890device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
891
892#
893# ATM related options
894#
895# The `en' device provides support for Efficient Networks (ENI)
896# ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0).
897#
898# atm pseudo-device provides generic atm functions and is required for
899# atm devices.
900# NATM enables the netnatm protocol family that can be used to
901# bypass TCP/IP.
902#
903# the current driver supports only PVC operations (no atm-arp, no multicast).
904# for more details, please read the original documents at
905# http://www.ccrc.wustl.edu/pub/chuck/bsdatm/wucs.html
906#
907pseudo-device atm
908device en0
909device en1
910options NATM #native ATM
911
912#
913# Audio drivers: `snd', `sb', `pas', `gus', `pca'
914#
915# snd: Voxware sound support code
916# sb: SoundBlaster PCM - SoundBlaster, SB Pro, SB16, ProAudioSpectrum
917# sbxvi: SoundBlaster 16
918# sbmidi: SoundBlaster 16 MIDI interface
919# pas: ProAudioSpectrum PCM and MIDI
920# gus: Gravis Ultrasound - Ultrasound, Ultrasound 16, Ultrasound MAX
921# gusxvi: Gravis Ultrasound 16-bit PCM (do not use)
922# mss: Microsoft Sound System
923# opl: Yamaha OPL-2 and OPL-3 FM - SB, SB Pro, SB 16, ProAudioSpectrum
924# uart: stand-alone 6850 UART for MIDI
925# mpu: Roland MPU-401 stand-alone card
926#
927# Beware! The addresses specified below are also hard-coded in
928# i386/isa/sound/sound_config.h. If you change the values here, you
929# must also change the values in the include file.
930#
931# pca: PCM audio through your PC speaker
932#
933# If you don't have a lpt0 device at IRQ 7, you can remove the
934# ``conflicts'' specification in the appropriate device entries below.
935#
936# If you have a GUS-MAX card and want to use the CS4231 codec on the
937# card the drqs for the gus max must be 8 bit (1, 2, or 3).
938#
939# If you would like to use the full duplex option on the gus, then define
940# flags to be the ``read dma channel''.
941#
942# options BROKEN_BUS_CLOCK #PAS-16 isn't working and OPTI chipset
943# options SYMPHONY_PAS #PAS-16 isn't working and SYMPHONY chipset
944# options EXCLUDE_SBPRO #PAS-16
945# options SBC_IRQ=5 #PAS-16. Must match irq on sb0 line.
946# PAS16: The order of the pas0/sb0/opl0 is important since the
947# sb emulation is enabled in the pas-16 attach.
948#
949# The i386/isa/sound/sound.doc has more information.
950
951# Controls all sound devices
952controller snd0
953device pas0 at isa? port 0x388 irq 10 drq 6 vector pasintr
954device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr
955device sbxvi0 at isa? drq 5
956device sbmidi0 at isa? port 0x330
957device awe0 at isa? port 0x620
958device gus0 at isa? port 0x220 irq 12 drq 1 vector gusintr
959#device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3 vector gusintr
960device mss0 at isa? port 0x530 irq 10 drq 1 vector adintr
961device opl0 at isa? port 0x388
962device mpu0 at isa? port 0x330 irq 6 drq 0
963device uart0 at isa? port 0x330 irq 5 vector "m6850intr"
964
965# More undocumented sound devices with bogus configurations for linting.
966# broken
967#device sscape0 at isa? port 0x330 irq 6 drq 0
968#device trix0 at isa? port 0x330 irq 6 drq 0 vector sscapeintr
969
970# Not controlled by `snd'
971device pca0 at isa? port IO_TIMER1 tty
972
973#
974# Miscellaneous hardware:
975#
976# mcd: Mitsumi CD-ROM
977# scd: Sony CD-ROM
978# matcd: Matsushita/Panasonic CD-ROM
979# wt: Wangtek and Archive QIC-02/QIC-36 tape drives
980# ctx: Cortex-I frame grabber
981# apm: Laptop Advanced Power Management (experimental)
982# spigot: The Creative Labs Video Spigot video-acquisition board
983# meteor: Matrox Meteor video capture board
984# bktr: Bt848 capture boards (http://www.freebsd.org/~fsmp/HomeAuto/Bt848.html)
985# cy: Cyclades serial driver
986# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!)
987# gp: National Instruments AT-GPIB and AT-GPIB/TNT board
988# asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey
989# gsc: Genius GS-4500 hand scanner.
990# joy: joystick
991# labpc: National Instrument's Lab-PC and Lab-PC+
992# rc: RISCom/8 multiport card
993# tw: TW-523 power line interface for use with X-10 home control products
994# si: Specialix SI/XIO 4-32 port terminal multiplexor
995# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based)
996# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent)
997
998#
999# Notes on APM
1000# The flags takes the following meaning for apm0:
1001# 0x0020 Statclock is broken.
1002# 0x0011 Limit APM protocol to 1.1 or 1.0
1003# 0x0010 Limit APM protocol to 1.0
1004#
1005#
1006# Notes on the spigot:
1007# The video spigot is at 0xad6. This port address can not be changed.
1008# The irq values may only be 10, 11, or 15
1009# I/O memory is an 8kb region. Possible values are:
1010# 0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff
1011# The start address must be on an even boundary.
1012# Add the following option if you want to allow non-root users to be able
1013# to access the spigot. This option is not secure because it allows users
1014# direct access to the I/O page.
1015# options SPIGOT_UNSECURE
1016#
1017
1018# Notes on the Digiboard driver:
1019#
1020# The following flag values have special meanings:
1021# 0x01 - alternate layout of pins
1022# 0x02 - use the windowed PC/Xe in 64K mode
1023
1024# Notes on the Specialix SI/XIO driver:
1025# **This is NOT a Specialix supported Driver!**
1026# The host card is memory, not IO mapped.
1027# The Rev 1 host cards use a 64K chunk, on a 32K boundary.
1028# The Rev 2 host cards use a 32K chunk, on a 32K boundary.
1029# The cards can use an IRQ of 11, 12 or 15.
1030
1031# Notes on the Stallion stl and stli drivers:
1032# See src/i386/isa/README.stl for complete instructions.
1033# This is version 0.0.5alpha, unsupported by Stallion.
1034# The stl driver has a secondary IO port hard coded at 0x280. You need
1035# to change src/i386/isa/stallion.c if you reconfigure this on the boards.
1036# The "flags" and "iosiz" settings on the stli driver depend on the board:
1037# EasyConnection 8/64 ISA: flags 23 iosiz 0x1000
1038# EasyConnection 8/64 EISA: flags 24 iosiz 0x10000
1039# EasyConnection 8/64 MCA: flags 25 iosiz 0x1000
1040# ONboard ISA: flags 4 iosiz 0x10000
1041# ONboard EISA: flags 7 iosiz 0x10000
1042# ONboard MCA: flags 3 iosiz 0x10000
1043# Brumby: flags 2 iosiz 0x4000
1044# Stallion: flags 1 iosiz 0x10000
1045
1046device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr
1047# for the Sony CDU31/33A CDROM
1048device scd0 at isa? port 0x230 bio
1049# for the SoundBlaster 16 multicd - up to 4 devices
1050controller matcd0 at isa? port 0x230 bio
1051device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr
1052device ctx0 at isa? port 0x230 iomem 0xd0000
1053device spigot0 at isa? port 0xad6 irq 15 iomem 0xee000 vector spigintr
1054device qcam0 at isa? port "IO_LPT3" tty
1055device apm0 at isa?
1056device gp0 at isa? port 0x2c0 tty
1057device gsc0 at isa? port "IO_GSC1" tty drq 3
1058device joy0 at isa? port "IO_GAME"
1059device cy0 at isa? tty irq 10 iomem 0xd4000 iosiz 0x2000 vector cyintr
1060device dgb0 at isa? port 0x220 iomem 0xfc0000 iosiz ? tty
1061device labpc0 at isa? port 0x260 tty irq 5 vector labpcintr
1062device rc0 at isa? port 0x220 tty irq 12 vector rcintr
1063# the port and irq for tw0 are fictitious
1064device tw0 at isa? port 0x380 tty irq 11 vector twintr
1065device si0 at isa? iomem 0xd0000 tty irq 12 vector siintr
1066device asc0 at isa? port IO_ASC1 tty drq 3 irq 10 vector ascintr
1067device bqu0 at isa? port 0x150
1068device stl0 at isa? port 0x2a0 tty irq 10 vector stlintr
1069device stli0 at isa? port 0x2a0 tty iomem 0xcc000 flags 23 iosiz 0x1000
1070
1071#
1072# EISA devices:
1073#
1074# The EISA bus device is eisa0. It provides auto-detection and
1075# configuration support for all devices on the EISA bus.
1076#
1077# The `ahb' device provides support for the Adaptec 174X adapter.
1078#
1079# The `ahc' device provides support for the Adaptec 274X and 284X
1080# adapters. The 284X, although a VLB card responds to EISA probes.
1081#
1082# fea: DEC DEFEA EISA FDDI adapter
1083#
1084controller eisa0
1085controller ahb0
1086controller ahc0
1087device fea0
1088
1089# enable tagged command queuing, which is a major performance win on
1090# devices that support it (and controllers with enough SCB's)
1091options AHC_TAGENABLE
1092
1093# enable SCB paging - See the ahc.4 man page
1094options AHC_SCBPAGING_ENABLE
1095
1096# The aic7xxx driver will attempt to use memory mapped I/O for all PCI
1097# controllers that have it configured only if this option is set. Unfortunately,
1098# this doesn't work on some motherboards, which prevents it from being the
1099# default.
1100options AHC_ALLOW_MEMIO
1101
1102# By default, only 10 EISA slots are probed, since the slot numbers
1103# above clash with the configuration address space of the PCI subsystem,
1104# and the EISA probe is not very smart about this. This is sufficient
1105# for most machines, but in particular the HP NetServer LC series comes
1106# with an onboard AIC7770 dual-channel SCSI controller on EISA slot #11,
1107# thus you need to bump this figure to 12 for them.
1108options "EISA_SLOTS=12"
1109
1110#
1111# PCI devices:
1112#
1113# The main PCI bus device is `pci'. It provides auto-detection and
1114# configuration support for all devices on the PCI bus, using either
1115# configuration mode defined in the PCI specification.
1116#
1117# The `ahc' device provides support for the Adaptec 29/3940(U)(W)
1118# and motherboard based AIC7870/AIC7880 adapters.
1119#
1120# The `ncr' device provides support for the NCR 53C810 and 53C825
1121# self-contained SCSI host adapters.
1122#
1123# The `amd' device provides support for the Tekram DC-390 and 390T
1124# SCSI host adapters, but is expected to work with any AMD 53c974
1125# PCI SCSI chip and the AMD Ethernet+SCSI Combo chip, after some
1126# local patches were applied to the sources (that had originally
1127# been written by Tekram and limited to work with their SCSI cards).
1128#
1129# The `de' device provides support for the Digital Equipment DC21040
1130# self-contained Ethernet adapter.
1131#
1132# The `fxp' device provides support for the Intel EtherExpress Pro/100B
1133# PCI Fast Ethernet adapters.
1134#
1135# The `vx' device provides support for the 3Com 3C590 and 3C595
1136# early support
1137#
1138# The `fpa' device provides support for the Digital DEFPA PCI FDDI
1139# adapter. pseudo-device fddi is also needed.
1140#
1141# The `meteor' device is a PCI video capture board. It can also have the
1142# following options:
1143# options METEOR_ALLOC_PAGES=xxx preallocate kernel pages for data entry
1144# figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE
1145# options METEOR_DEALLOC_PAGES remove all allocated pages on close(2)
1146# options METEOR_DEALLOC_ABOVE=xxx remove all allocated pages above the
1147# specified amount. If this value is below the allocated amount no action
1148# taken
1149# option METEOR_SYSTEM_DEFAULT={METEOR_PAL|METEOR_NTSC|METEOR_SECAM}, used
1150# for initialization of fps routine when a signal is not present.
1151#
1152# The 'bktr' device is a PCI video capture board. It also has a TV tuner
1153# on board.
1154#
1155controller pci0
1156controller ahc1
1157controller ncr0
1158controller amd0
1159device de0
1160device fxp0
1161device vx0
1162device fpa0
1163device meteor0
1164device bktr0
1165
1166
1167#
1168# PCCARD/PCMCIA
1169#
1170# crd: slot controller
1171# pcic: slots
1172controller crd0
1173controller pcic0 at crd?
1174controller pcic1 at crd?
1175
1176#
1177# Laptop/Notebook options:
1178#
1179# See also:
1180# apm under `Miscellaneous hardware'
1181# above.
1182
1183# For older notebooks that signal a powerfail condition (external
1184# power supply dropped, or battery state low) by issuing an NMI:
1185
1186options POWERFAIL_NMI # make it beep instead of panicing
1187
1188# Kernel BOOTP support
1189
1190options BOOTP # Use BOOTP to obtain IP address/hostname
1191options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info
1192options "BOOTP_NFSV3" # Use NFS v3 to NFS mount root
1193options BOOTP_COMPAT # Workaround for broken bootp daemons.
1194
1195#
1196# An obsolete option to test kern_opt.c.
1197#
1198options GATEWAY
1199
1200# More undocumented options for linting.
1201
1202options CLK_CALIBRATION_LOOP
1203options "CLK_USE_I8254_CALIBRATION"
1204options "CLK_USE_I586_CALIBRATION"
1205options CLUSTERDEBUG
1206options COMPAT_LINUX
1207options CPU_UPGRADE_HW_CACHE
1208options DEBUG
1209options DEVFS_ROOT
1210options "EXT2FS"
1211options "I586_CTR_GUPROF"
1212options "I586_PMC_GUPROF=0x70000"
1213options "IBCS2"
1214options LOCKF_DEBUG
1215options KBD_MAXRETRY=4
1216options KBD_MAXWAIT=6
1217options KBD_RESETDELAY=201
1218options KBDIO_DEBUG=2
1219options MSGMNB=2049
1220options MSGMNI=41
1221options MSGSEG=2049
1222options MSGSSZ=16
1223options MSGTQL=41
1224options NBUF=512
1225options NMBCLUSTERS=1024
1226options NPX_DEBUG
1227options PSM_ACCEL=1
1228options PSM_DEBUG=1
1229options PSM_EMULATION
1230options "SCSI_2_DEF"
1231options SCSI_DELAY=8 # Be pessimistic about Joe SCSI device
1232options SCSI_NCR_DEBUG
1233options SCSI_NCR_DFLT_TAGS=4
1234options SCSI_NCR_MAX_SYNC=10000
1235options SCSI_NCR_MAX_WIDE=1
1236options SCSI_NCR_MYADDR=7
1237options SEMMAP=31
1238options SEMMNI=11
1239options SEMMNS=61
1240options SEMMNU=31
1241options SEMMSL=61
1242options SEMOPM=101
1243options SEMUME=11
1244options SHOW_BUSYBUFS # List buffers that prevent root unmount
1245options SHMALL=1025
1246options "SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)"
1247options SHMMAXPGS=1025
1248options SHMMIN=2
1249options SHMMNI=33
1250options SHMSEG=9
1251options SI_DEBUG
1252options SIMPLELOCK_DEBUG
1253options SPX_HACK
1254options WLDEBUG
641
642#
643# `flags' for sc0:
644# 0x01 Use a 'visual' bell
645# 0x02 Use a 'blink' cursor
646# 0x04 Use a 'underline' cursor
647# 0x06 Use a 'blinking underline' (destructive) cursor
648# 0x08 Force detection of keyboard, else we always assume a keyboard
649# 0x10 Old-style (XT) keyboard support, useful for older ThinkPads
650# 0x20 Don't reset keyboard, useful for some newer ThinkPads
651
652#
653# The Numeric Processing eXtension driver. This should be configured if
654# your machine has a math co-processor, unless the coprocessor is very
655# buggy. If it is not configured then you *must* configure math emulation
656# (see above). If both npx0 and emulation are configured, then only npx0
657# is used (provided it works).
658device npx0 at isa? port "IO_NPX" iosiz 0x0 flags 0x0 irq 13 vector npxintr
659
660#
661# `flags' for npx0:
662# 0x01 don't use the npx registers to optimize bcopy
663# 0x02 don't use the npx registers to optimize bzero
664# 0x04 don't use the npx registers to optimize copyin or copyout.
665# The npx registers are normally used to optimize copying and zeroing when
666# all of the following conditions are satisfied:
667# "I586_CPU" is an option
668# the cpu is an i586 (perhaps not a Pentium)
669# the probe for npx0 succeeds
670# INT 16 exception handling works.
671# Then copying and zeroing using the npx registers is normally 30-100% faster.
672# The flags can be used to control cases where it doesn't work or is slower.
673# Setting them at boot time using userconfig works right (the optimizations
674# are not used until later in the bootstrap when npx0 is attached).
675#
676
677#
678# `iosiz' for npx0:
679# This can be used instead of the MAXMEM option to set the memory size. If
680# it is nonzero, then it overrides both the MAXMEM option and the memory
681# size reported by the BIOS. Setting it at boot time using userconfig takes
682# effect on the next reboot after the change has been recorded in the kernel
683# binary (the size is used early in the boot before userconfig has a chance
684# to change it).
685#
686
687#
688# Optional ISA and EISA devices:
689#
690
691#
692# SCSI host adapters: `aha', `aic', `bt', `nca'
693#
694# aha: Adaptec 154x
695# ahc: Adaptec 274x/284x/294x
696# aic: Adaptec 152x and sound cards using the Adaptec AIC-6360 (slow!)
697# bt: Most Buslogic controllers
698# nca: ProAudioSpectrum cards using the NCR 5380 or Trantor T130
699# uha: UltraStore 14F and 34F
700# sea: Seagate ST01/02 8 bit controller (slow!)
701# wds: Western Digital WD7000 controller (no scatter/gather!).
702#
703# Note that the order is important in order for Buslogic cards to be
704# probed correctly.
705#
706
707controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
708controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
709controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
710
711controller aic0 at isa? port 0x340 bio irq 11 vector aicintr
712controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr
713controller nca1 at isa? port 0x1f84
714controller nca2 at isa? port 0x1f8c
715controller nca3 at isa? port 0x1e88
716controller nca4 at isa? port 0x350 bio irq 5 vector ncaintr
717
718controller sea0 at isa? bio irq 5 iomem 0xdc000 iosiz 0x2000 vector seaintr
719controller wds0 at isa? port 0x350 bio irq 15 drq 6 vector wdsintr
720
721#
722# ST-506, ESDI, and IDE hard disks: `wdc' and `wd'
723#
724# NB: ``Enhanced IDE'' is NOT supported at this time.
725#
726# The flags fields are used to enable the multi-sector I/O and
727# the 32BIT I/O modes. The flags may be used in either the controller
728# definition or in the individual disk definitions. The controller
729# definition is supported for the boot configuration stuff.
730#
731# Each drive has a 16 bit flags value defined:
732# The low 8 bits are the maximum value for the multi-sector I/O,
733# where 0xff defaults to the maximum that the drive can handle.
734# The high bit of the 16 bit flags (0x8000) allows probing for
735# 32 bit transfers.
736#
737# The flags field for the drives can be specified in the controller
738# specification with the low 16 bits for drive 0, and the high 16 bits
739# for drive 1.
740# e.g.:
741#controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0x00ff8004 vector wdintr
742#
743# specifies that drive 0 will be allowed to probe for 32 bit transfers and
744# a maximum multi-sector transfer of 4 sectors, and drive 1 will not be
745# allowed to probe for 32 bit transfers, but will allow multi-sector
746# transfers up to the maximum that the drive supports.
747#
748
749#
750controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
751disk wd0 at wdc0 drive 0
752disk wd1 at wdc0 drive 1
753controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
754disk wd2 at wdc1 drive 0
755disk wd3 at wdc1 drive 1
756
757#
758# Options for `wdc':
759#
760# CMD640 enables serializing access to primary and secondary channel
761# of the CMD640B IDE Chip. The serializing will only take place
762# if this option is set *and* the chip is probed by the pci-system.
763#
764options "CMD640" #Enable work around for CMD640 h/w bug
765#
766# ATAPI enables the support for ATAPI-compatible IDE devices
767#
768options ATAPI #Enable ATAPI support for IDE bus
769options ATAPI_STATIC #Don't do it as an LKM
770
771# IDE CD-ROM driver - requires wdc controller and ATAPI option
772device wcd0
773
774#
775# Standard floppy disk controllers and floppy tapes: `fdc', `fd', and `ft'
776#
777controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
778#
779# Activate this line instead of the fdc0 line above if you happen to
780# have an Insight floppy tape. Probing them proved to be dangerous
781# for people with floppy disks only, so it's "hidden" behind a flag:
782#controller fdc0 at isa? port "IO_FD1" bio flags 1 irq 6 drq 2 vector fdintr
783
784disk fd0 at fdc0 drive 0
785disk fd1 at fdc0 drive 1
786tape ft0 at fdc0 drive 2
787
788
789#
790# Options for `fd':
791#
792# FDSEEKWAIT selects a non-default head-settle time (i.e., the time to
793# wait after a seek is performed). The default value (1/32 s) is
794# usually sufficient. The units are inverse seconds, so a value of 16
795# here means to wait 1/16th of a second; you should choose a power of
796# two.
797# XXX: this seems to be missing!
798options FDSEEKWAIT=16
799
800#
801# Other standard PC hardware: `lpt', `mse', `psm', `sio', etc.
802#
803# lpt: printer port
804# lpt specials:
805# port can be specified as ?, this will cause the driver to scan
806# the BIOS port list;
807# the irq and vector clauses may be omitted, this
808# will force the port into polling mode.
809# mse: Logitech and ATI InPort bus mouse ports
810# psm: PS/2 mouse port [note: conflicts with sc0/vt0, thus "conflicts" keywd]
811# sio: serial ports (see sio(4))
812
813device lpt0 at isa? port? tty irq 7 vector lptintr
814device lpt1 at isa? port "IO_LPT3" tty irq 5 vector lptintr
815device mse0 at isa? port 0x23c tty irq 5 vector mseintr
816device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
817# Options for psm:
818options PSM_CHECKSYNC #checks the header byte for sync.
819options PSM_HOOKAPM #hook the APM resume event, useful
820 #for some laptops
821options PSM_RESETAFTERSUSPEND #reset the device at the resume event
822
823device sio0 at isa? port "IO_COM1" tty flags 0x10 irq 4 vector siointr
824
825#
826# `flags' for serial drivers that support consoles (only for sio now):
827# 0x10 enable console support for this unit. The other console flags
828# are ignored unless this is set. Enabling console support does
829# not make the unit the preferred console - boot with -h or set
830# the 0x20 flag for that. Currently, at most one unit can have
831# console support; the first one (in config file order) with
832# this flag set is preferred. Setting this flag for sio0 gives
833# the old behaviour.
834# 0x20 force this unit to be the console (unless there is another
835# higher priority console). This replaces the COMCONSOLE option.
836# 0x40 reserve this unit for low level console operations. Do not
837#
838
839# Options for serial drivers that support consoles (only for sio now):
840options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to
841 #DDB, if available.
842options CONSPEED=9600 #default speed for serial console (default 9600)
843
844# Options for sio:
845options COM_ESP #code for Hayes ESP
846options COM_MULTIPORT #code for some cards with shared IRQs
847options DSI_SOFT_MODEM #code for DSI Softmodems
848
849# Other flags for sio that aren't documented in the man page.
850# 0x20000 enable hardware RTS/CTS and larger FIFOs. Only works for
851# ST16650A-compatible UARTs.
852
853#
854# Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc'
855#
856# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver (requires sppp)
857# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing)
858# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
859# el: 3Com 3C501 (slow!)
860# ep: 3Com 3C509 (buggy)
861# fe: Fujitsu MB86960A/MB86965A Ethernet
862# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210
863# le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100,
864# DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422)
865# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL)
866# sr: RISCom/N2 hdlc sync 1/2 port V.35/X.21 serial driver (requires sppp)
867# wl: Lucent Wavelan (ISA card only).
868# ze: IBM/National Semiconductor PCMCIA ethernet controller.
869# zp: 3Com PCMCIA Etherlink III (It does not require shared memory for
870# send/receive operation, but it needs 'iomem' to read/write the
871# attribute memory)
872#
873
874device ar0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector arintr
875device cx0 at isa? port 0x240 net irq 15 drq 7 vector cxintr
876device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr
877device eg0 at isa? port 0x310 net irq 5 vector egintr
878device el0 at isa? port 0x300 net irq 9 vector elintr
879device ep0 at isa? port 0x300 net irq 10 vector epintr
880device ex0 at isa? port? net irq? vector exintr
881device fe0 at isa? port 0x300 net irq ? vector feintr
882device ie0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector ieintr
883device ie1 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr
884device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
885device lnc0 at isa? port 0x300 net irq 10 drq 0 vector lncintr
886device sr0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector srintr
887device wl0 at isa? port 0x300 net irq ? vector wlintr
888# Needed so that we can (bogusly) include both the dedicated PCCARD
889# drivers and the generic support
890options LINT_PCCARD_HACK
891device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
892device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
893
894#
895# ATM related options
896#
897# The `en' device provides support for Efficient Networks (ENI)
898# ENI-155 PCI midway cards, and the Adaptec 155Mbps PCI ATM cards (ANA-59x0).
899#
900# atm pseudo-device provides generic atm functions and is required for
901# atm devices.
902# NATM enables the netnatm protocol family that can be used to
903# bypass TCP/IP.
904#
905# the current driver supports only PVC operations (no atm-arp, no multicast).
906# for more details, please read the original documents at
907# http://www.ccrc.wustl.edu/pub/chuck/bsdatm/wucs.html
908#
909pseudo-device atm
910device en0
911device en1
912options NATM #native ATM
913
914#
915# Audio drivers: `snd', `sb', `pas', `gus', `pca'
916#
917# snd: Voxware sound support code
918# sb: SoundBlaster PCM - SoundBlaster, SB Pro, SB16, ProAudioSpectrum
919# sbxvi: SoundBlaster 16
920# sbmidi: SoundBlaster 16 MIDI interface
921# pas: ProAudioSpectrum PCM and MIDI
922# gus: Gravis Ultrasound - Ultrasound, Ultrasound 16, Ultrasound MAX
923# gusxvi: Gravis Ultrasound 16-bit PCM (do not use)
924# mss: Microsoft Sound System
925# opl: Yamaha OPL-2 and OPL-3 FM - SB, SB Pro, SB 16, ProAudioSpectrum
926# uart: stand-alone 6850 UART for MIDI
927# mpu: Roland MPU-401 stand-alone card
928#
929# Beware! The addresses specified below are also hard-coded in
930# i386/isa/sound/sound_config.h. If you change the values here, you
931# must also change the values in the include file.
932#
933# pca: PCM audio through your PC speaker
934#
935# If you don't have a lpt0 device at IRQ 7, you can remove the
936# ``conflicts'' specification in the appropriate device entries below.
937#
938# If you have a GUS-MAX card and want to use the CS4231 codec on the
939# card the drqs for the gus max must be 8 bit (1, 2, or 3).
940#
941# If you would like to use the full duplex option on the gus, then define
942# flags to be the ``read dma channel''.
943#
944# options BROKEN_BUS_CLOCK #PAS-16 isn't working and OPTI chipset
945# options SYMPHONY_PAS #PAS-16 isn't working and SYMPHONY chipset
946# options EXCLUDE_SBPRO #PAS-16
947# options SBC_IRQ=5 #PAS-16. Must match irq on sb0 line.
948# PAS16: The order of the pas0/sb0/opl0 is important since the
949# sb emulation is enabled in the pas-16 attach.
950#
951# The i386/isa/sound/sound.doc has more information.
952
953# Controls all sound devices
954controller snd0
955device pas0 at isa? port 0x388 irq 10 drq 6 vector pasintr
956device sb0 at isa? port 0x220 irq 5 drq 1 vector sbintr
957device sbxvi0 at isa? drq 5
958device sbmidi0 at isa? port 0x330
959device awe0 at isa? port 0x620
960device gus0 at isa? port 0x220 irq 12 drq 1 vector gusintr
961#device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3 vector gusintr
962device mss0 at isa? port 0x530 irq 10 drq 1 vector adintr
963device opl0 at isa? port 0x388
964device mpu0 at isa? port 0x330 irq 6 drq 0
965device uart0 at isa? port 0x330 irq 5 vector "m6850intr"
966
967# More undocumented sound devices with bogus configurations for linting.
968# broken
969#device sscape0 at isa? port 0x330 irq 6 drq 0
970#device trix0 at isa? port 0x330 irq 6 drq 0 vector sscapeintr
971
972# Not controlled by `snd'
973device pca0 at isa? port IO_TIMER1 tty
974
975#
976# Miscellaneous hardware:
977#
978# mcd: Mitsumi CD-ROM
979# scd: Sony CD-ROM
980# matcd: Matsushita/Panasonic CD-ROM
981# wt: Wangtek and Archive QIC-02/QIC-36 tape drives
982# ctx: Cortex-I frame grabber
983# apm: Laptop Advanced Power Management (experimental)
984# spigot: The Creative Labs Video Spigot video-acquisition board
985# meteor: Matrox Meteor video capture board
986# bktr: Bt848 capture boards (http://www.freebsd.org/~fsmp/HomeAuto/Bt848.html)
987# cy: Cyclades serial driver
988# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!)
989# gp: National Instruments AT-GPIB and AT-GPIB/TNT board
990# asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey
991# gsc: Genius GS-4500 hand scanner.
992# joy: joystick
993# labpc: National Instrument's Lab-PC and Lab-PC+
994# rc: RISCom/8 multiport card
995# tw: TW-523 power line interface for use with X-10 home control products
996# si: Specialix SI/XIO 4-32 port terminal multiplexor
997# stl: Stallion EasyIO and EasyConnection 8/32 (cd1400 based)
998# stli: Stallion EasyConnection 8/64, ONboard, Brumby (intelligent)
999
1000#
1001# Notes on APM
1002# The flags takes the following meaning for apm0:
1003# 0x0020 Statclock is broken.
1004# 0x0011 Limit APM protocol to 1.1 or 1.0
1005# 0x0010 Limit APM protocol to 1.0
1006#
1007#
1008# Notes on the spigot:
1009# The video spigot is at 0xad6. This port address can not be changed.
1010# The irq values may only be 10, 11, or 15
1011# I/O memory is an 8kb region. Possible values are:
1012# 0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff
1013# The start address must be on an even boundary.
1014# Add the following option if you want to allow non-root users to be able
1015# to access the spigot. This option is not secure because it allows users
1016# direct access to the I/O page.
1017# options SPIGOT_UNSECURE
1018#
1019
1020# Notes on the Digiboard driver:
1021#
1022# The following flag values have special meanings:
1023# 0x01 - alternate layout of pins
1024# 0x02 - use the windowed PC/Xe in 64K mode
1025
1026# Notes on the Specialix SI/XIO driver:
1027# **This is NOT a Specialix supported Driver!**
1028# The host card is memory, not IO mapped.
1029# The Rev 1 host cards use a 64K chunk, on a 32K boundary.
1030# The Rev 2 host cards use a 32K chunk, on a 32K boundary.
1031# The cards can use an IRQ of 11, 12 or 15.
1032
1033# Notes on the Stallion stl and stli drivers:
1034# See src/i386/isa/README.stl for complete instructions.
1035# This is version 0.0.5alpha, unsupported by Stallion.
1036# The stl driver has a secondary IO port hard coded at 0x280. You need
1037# to change src/i386/isa/stallion.c if you reconfigure this on the boards.
1038# The "flags" and "iosiz" settings on the stli driver depend on the board:
1039# EasyConnection 8/64 ISA: flags 23 iosiz 0x1000
1040# EasyConnection 8/64 EISA: flags 24 iosiz 0x10000
1041# EasyConnection 8/64 MCA: flags 25 iosiz 0x1000
1042# ONboard ISA: flags 4 iosiz 0x10000
1043# ONboard EISA: flags 7 iosiz 0x10000
1044# ONboard MCA: flags 3 iosiz 0x10000
1045# Brumby: flags 2 iosiz 0x4000
1046# Stallion: flags 1 iosiz 0x10000
1047
1048device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr
1049# for the Sony CDU31/33A CDROM
1050device scd0 at isa? port 0x230 bio
1051# for the SoundBlaster 16 multicd - up to 4 devices
1052controller matcd0 at isa? port 0x230 bio
1053device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr
1054device ctx0 at isa? port 0x230 iomem 0xd0000
1055device spigot0 at isa? port 0xad6 irq 15 iomem 0xee000 vector spigintr
1056device qcam0 at isa? port "IO_LPT3" tty
1057device apm0 at isa?
1058device gp0 at isa? port 0x2c0 tty
1059device gsc0 at isa? port "IO_GSC1" tty drq 3
1060device joy0 at isa? port "IO_GAME"
1061device cy0 at isa? tty irq 10 iomem 0xd4000 iosiz 0x2000 vector cyintr
1062device dgb0 at isa? port 0x220 iomem 0xfc0000 iosiz ? tty
1063device labpc0 at isa? port 0x260 tty irq 5 vector labpcintr
1064device rc0 at isa? port 0x220 tty irq 12 vector rcintr
1065# the port and irq for tw0 are fictitious
1066device tw0 at isa? port 0x380 tty irq 11 vector twintr
1067device si0 at isa? iomem 0xd0000 tty irq 12 vector siintr
1068device asc0 at isa? port IO_ASC1 tty drq 3 irq 10 vector ascintr
1069device bqu0 at isa? port 0x150
1070device stl0 at isa? port 0x2a0 tty irq 10 vector stlintr
1071device stli0 at isa? port 0x2a0 tty iomem 0xcc000 flags 23 iosiz 0x1000
1072
1073#
1074# EISA devices:
1075#
1076# The EISA bus device is eisa0. It provides auto-detection and
1077# configuration support for all devices on the EISA bus.
1078#
1079# The `ahb' device provides support for the Adaptec 174X adapter.
1080#
1081# The `ahc' device provides support for the Adaptec 274X and 284X
1082# adapters. The 284X, although a VLB card responds to EISA probes.
1083#
1084# fea: DEC DEFEA EISA FDDI adapter
1085#
1086controller eisa0
1087controller ahb0
1088controller ahc0
1089device fea0
1090
1091# enable tagged command queuing, which is a major performance win on
1092# devices that support it (and controllers with enough SCB's)
1093options AHC_TAGENABLE
1094
1095# enable SCB paging - See the ahc.4 man page
1096options AHC_SCBPAGING_ENABLE
1097
1098# The aic7xxx driver will attempt to use memory mapped I/O for all PCI
1099# controllers that have it configured only if this option is set. Unfortunately,
1100# this doesn't work on some motherboards, which prevents it from being the
1101# default.
1102options AHC_ALLOW_MEMIO
1103
1104# By default, only 10 EISA slots are probed, since the slot numbers
1105# above clash with the configuration address space of the PCI subsystem,
1106# and the EISA probe is not very smart about this. This is sufficient
1107# for most machines, but in particular the HP NetServer LC series comes
1108# with an onboard AIC7770 dual-channel SCSI controller on EISA slot #11,
1109# thus you need to bump this figure to 12 for them.
1110options "EISA_SLOTS=12"
1111
1112#
1113# PCI devices:
1114#
1115# The main PCI bus device is `pci'. It provides auto-detection and
1116# configuration support for all devices on the PCI bus, using either
1117# configuration mode defined in the PCI specification.
1118#
1119# The `ahc' device provides support for the Adaptec 29/3940(U)(W)
1120# and motherboard based AIC7870/AIC7880 adapters.
1121#
1122# The `ncr' device provides support for the NCR 53C810 and 53C825
1123# self-contained SCSI host adapters.
1124#
1125# The `amd' device provides support for the Tekram DC-390 and 390T
1126# SCSI host adapters, but is expected to work with any AMD 53c974
1127# PCI SCSI chip and the AMD Ethernet+SCSI Combo chip, after some
1128# local patches were applied to the sources (that had originally
1129# been written by Tekram and limited to work with their SCSI cards).
1130#
1131# The `de' device provides support for the Digital Equipment DC21040
1132# self-contained Ethernet adapter.
1133#
1134# The `fxp' device provides support for the Intel EtherExpress Pro/100B
1135# PCI Fast Ethernet adapters.
1136#
1137# The `vx' device provides support for the 3Com 3C590 and 3C595
1138# early support
1139#
1140# The `fpa' device provides support for the Digital DEFPA PCI FDDI
1141# adapter. pseudo-device fddi is also needed.
1142#
1143# The `meteor' device is a PCI video capture board. It can also have the
1144# following options:
1145# options METEOR_ALLOC_PAGES=xxx preallocate kernel pages for data entry
1146# figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE
1147# options METEOR_DEALLOC_PAGES remove all allocated pages on close(2)
1148# options METEOR_DEALLOC_ABOVE=xxx remove all allocated pages above the
1149# specified amount. If this value is below the allocated amount no action
1150# taken
1151# option METEOR_SYSTEM_DEFAULT={METEOR_PAL|METEOR_NTSC|METEOR_SECAM}, used
1152# for initialization of fps routine when a signal is not present.
1153#
1154# The 'bktr' device is a PCI video capture board. It also has a TV tuner
1155# on board.
1156#
1157controller pci0
1158controller ahc1
1159controller ncr0
1160controller amd0
1161device de0
1162device fxp0
1163device vx0
1164device fpa0
1165device meteor0
1166device bktr0
1167
1168
1169#
1170# PCCARD/PCMCIA
1171#
1172# crd: slot controller
1173# pcic: slots
1174controller crd0
1175controller pcic0 at crd?
1176controller pcic1 at crd?
1177
1178#
1179# Laptop/Notebook options:
1180#
1181# See also:
1182# apm under `Miscellaneous hardware'
1183# above.
1184
1185# For older notebooks that signal a powerfail condition (external
1186# power supply dropped, or battery state low) by issuing an NMI:
1187
1188options POWERFAIL_NMI # make it beep instead of panicing
1189
1190# Kernel BOOTP support
1191
1192options BOOTP # Use BOOTP to obtain IP address/hostname
1193options BOOTP_NFSROOT # NFS mount root filesystem using BOOTP info
1194options "BOOTP_NFSV3" # Use NFS v3 to NFS mount root
1195options BOOTP_COMPAT # Workaround for broken bootp daemons.
1196
1197#
1198# An obsolete option to test kern_opt.c.
1199#
1200options GATEWAY
1201
1202# More undocumented options for linting.
1203
1204options CLK_CALIBRATION_LOOP
1205options "CLK_USE_I8254_CALIBRATION"
1206options "CLK_USE_I586_CALIBRATION"
1207options CLUSTERDEBUG
1208options COMPAT_LINUX
1209options CPU_UPGRADE_HW_CACHE
1210options DEBUG
1211options DEVFS_ROOT
1212options "EXT2FS"
1213options "I586_CTR_GUPROF"
1214options "I586_PMC_GUPROF=0x70000"
1215options "IBCS2"
1216options LOCKF_DEBUG
1217options KBD_MAXRETRY=4
1218options KBD_MAXWAIT=6
1219options KBD_RESETDELAY=201
1220options KBDIO_DEBUG=2
1221options MSGMNB=2049
1222options MSGMNI=41
1223options MSGSEG=2049
1224options MSGSSZ=16
1225options MSGTQL=41
1226options NBUF=512
1227options NMBCLUSTERS=1024
1228options NPX_DEBUG
1229options PSM_ACCEL=1
1230options PSM_DEBUG=1
1231options PSM_EMULATION
1232options "SCSI_2_DEF"
1233options SCSI_DELAY=8 # Be pessimistic about Joe SCSI device
1234options SCSI_NCR_DEBUG
1235options SCSI_NCR_DFLT_TAGS=4
1236options SCSI_NCR_MAX_SYNC=10000
1237options SCSI_NCR_MAX_WIDE=1
1238options SCSI_NCR_MYADDR=7
1239options SEMMAP=31
1240options SEMMNI=11
1241options SEMMNS=61
1242options SEMMNU=31
1243options SEMMSL=61
1244options SEMOPM=101
1245options SEMUME=11
1246options SHOW_BUSYBUFS # List buffers that prevent root unmount
1247options SHMALL=1025
1248options "SHMMAX=(SHMMAXPGS*PAGE_SIZE+1)"
1249options SHMMAXPGS=1025
1250options SHMMIN=2
1251options SHMMNI=33
1252options SHMSEG=9
1253options SI_DEBUG
1254options SIMPLELOCK_DEBUG
1255options SPX_HACK
1256options WLDEBUG