Deleted Added
full compact
NOTES (13417) NOTES (13765)
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.233 1996/01/09 23:14:57 ats Exp $
5# $Id: LINT,v 1.234 1996/01/13 23:30:10 phk 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. You must also specify
15# at least one CPU (the one you intend to run on); deleting the
16# specification for CPUs you don't need to use may make parts of the
17# system run faster
18#
19machine "i386"
20cpu "I386_CPU"
21cpu "I486_CPU"
22cpu "I586_CPU" # aka Pentium(tm)
23cpu "I686_CPU" # aka Pentium Pro(tm)
24
25#
26# This is the ``identification'' of the kernel. Usually this should
27# be the same as the name of your kernel.
28#
29ident LINT
30
31#
32# The `maxusers' parameter controls the static sizing of a number of
33# internal system tables by a complicated formula defined in param.c.
34#
35maxusers 10
36
37#
38# Under some circumstances it is necessary to make the default max
39# number of processes per user and open files per user more than the
40# defaults on bootup. (an example is a large news server in which
41# the uid, news, can sometimes need > 100 simultaneous processes running,
42# or perhaps a user using lots of windows under X).
43options CHILD_MAX=128
44options OPEN_MAX=128
45
46#
47# A math emulator is mandatory if you wish to run on hardware which
48# does not have a floating-point processor. Pick either the original,
49# bogus (but freely-distributable) math emulator, or a much more
50# fully-featured but GPL-licensed emulator taken from Linux.
51#
52options MATH_EMULATE #Support for x87 emulation
53# Don't enable both of these in a real config.
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. You must also specify
15# at least one CPU (the one you intend to run on); deleting the
16# specification for CPUs you don't need to use may make parts of the
17# system run faster
18#
19machine "i386"
20cpu "I386_CPU"
21cpu "I486_CPU"
22cpu "I586_CPU" # aka Pentium(tm)
23cpu "I686_CPU" # aka Pentium Pro(tm)
24
25#
26# This is the ``identification'' of the kernel. Usually this should
27# be the same as the name of your kernel.
28#
29ident LINT
30
31#
32# The `maxusers' parameter controls the static sizing of a number of
33# internal system tables by a complicated formula defined in param.c.
34#
35maxusers 10
36
37#
38# Under some circumstances it is necessary to make the default max
39# number of processes per user and open files per user more than the
40# defaults on bootup. (an example is a large news server in which
41# the uid, news, can sometimes need > 100 simultaneous processes running,
42# or perhaps a user using lots of windows under X).
43options CHILD_MAX=128
44options OPEN_MAX=128
45
46#
47# A math emulator is mandatory if you wish to run on hardware which
48# does not have a floating-point processor. Pick either the original,
49# bogus (but freely-distributable) math emulator, or a much more
50# fully-featured but GPL-licensed emulator taken from Linux.
51#
52options MATH_EMULATE #Support for x87 emulation
53# Don't enable both of these in a real config.
54options GPL_MATH_EMULATE #Support for x87 emualtion via
54options GPL_MATH_EMULATE #Support for x87 emulation via
55 #new math emulator
56
57#
58# This directive defines a number of things:
59# - The compiled kernel is to be called `kernel'
60# - The root filesystem might be on partition wd0a
61# - Crash dumps will be written to wd0b, if possible. Specifying the
62# dump device here is not recommended. Use dumpon(8).
63#
64config kernel root on wd0 dumps on wd0
65
66
67#####################################################################
68# COMPATIBILITY OPTIONS
69
70#
71# Implement system calls compatible with 4.3BSD and older versions of
72# FreeBSD. You probably do NOT want to remove this as much current code
73# still relies on the 4.3 emulation.
74#
75options "COMPAT_43"
76
77#
55 #new math emulator
56
57#
58# This directive defines a number of things:
59# - The compiled kernel is to be called `kernel'
60# - The root filesystem might be on partition wd0a
61# - Crash dumps will be written to wd0b, if possible. Specifying the
62# dump device here is not recommended. Use dumpon(8).
63#
64config kernel root on wd0 dumps on wd0
65
66
67#####################################################################
68# COMPATIBILITY OPTIONS
69
70#
71# Implement system calls compatible with 4.3BSD and older versions of
72# FreeBSD. You probably do NOT want to remove this as much current code
73# still relies on the 4.3 emulation.
74#
75options "COMPAT_43"
76
77#
78# Allow user-mode programs to manipulat their local descriptor tables.
78# Allow user-mode programs to manipulate their local descriptor tables.
79# This option is required for the WINE Windows(tm) emulator, and is
80# not used by anything else (that we know of).
81#
82options USER_LDT #allow user-level control of i386 ldt
83
84#
85# These three options provide support for System V Interface
86# Definition-style interprocess communication, in the form of shared
87# memory, semaphores, and message queues, respectively.
88#
89options SYSVSHM
90options SYSVSEM
91options SYSVMSG
92
93
94#####################################################################
95# DEBUGGING OPTIONS
96
97#
98# Enable the kernel debugger.
99#
100options DDB
101
102#
103# KTRACE enables the system-call tracing facility ktrace(2).
104#
105options KTRACE #kernel tracing
106
107#
108# The DIAGNOSTIC option is used in a number of source files to enable
109# extra sanity checking of internal structures. This support is not
110# enabled by default because of the extra time it would take to check
111# for these conditions, which can only occur as a result of
112# programming errors.
113#
114options DIAGNOSTIC
115
116#
117# Allow ordinary users to take the console - this is useful for X.
118options UCONSOLE
119
120
121#####################################################################
122# NETWORKING OPTIONS
123
124#
125# Protocol families:
126# Only the INET (Internet) family is officially supported in FreeBSD.
127# Source code for the NS (Xerox Network Service), ISO (OSI), and
128# CCITT (X.25) families is provided for amusement value, although we
129# try to ensure that it actually compiles.
130#
131options INET #Internet communications protocols
132options CCITT #X.25 network layer
133options NS #Xerox NS communications protocols
134
135options IPX #IPX/SPX communications protocols
136options IPXIP #IPX in IP encapsulation (not available)
137options IPTUNNEL #IP in IPX encapsulation (not available)
138options IPXPRINTFS=0 #IPX/SPX Console Debugging Information
139options IPX_ERRPRINTFS=0 #IPX/SPX Console Debugging Information
140
141# These are currently broken and don't compile
142#options ISO
143#options TPIP #ISO TP class 4 over IP
144#options TPCONS #ISO TP class 0 over X.25
145
146#
147# Network interfaces:
148# The `loop' pseudo-device is MANDATORY when networking is enabled.
149# The `ether' pseudo-device provides generic code to handle
150# Ethernets; it is MANDATORY when a Ethernet device driver is
151# configured.
152# The 'fddi' pseudo-device provides generic code to support FDDI.
153# The `sppp' pseudo-device serves a similar role for certain types
154# of synchronous PPP links (like `cx', `ar').
155# The `sl' pseudo-device implements the Serial Line IP (SLIP) service.
156# The `ppp' pseudo-device implements the Point-to-Point Protocol.
157# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be
158# aware of the legal and administrative consequences of enabling this
159# option. The number of devices determines the maximum number of
160# simultaneous BPF clients programs runnable.
161# The `disc' pseudo-device implements a minimal network interface,
162# which throws away all packets sent and never receives any. It is
163# included for testing purposes.
164# The `tun' pseudo-device implements the User Process PPP (iijppp)
165#
166pseudo-device ether #Generic Ethernet
167pseudo-device fddi #Generic FDDI
168pseudo-device sppp #Generic Synchronous PPP
169pseudo-device loop #Network loopback device
170pseudo-device sl 2 #Serial Line IP
171pseudo-device ppp 2 #Point-to-point protocol
172pseudo-device bpfilter 4 #Berkeley packet filter
173pseudo-device disc #Discard device
174pseudo-device tun 1 #Tunnel driver(user process ppp)
175
176options NSIP #XNS over IP
177options LLC #X.25 link layer for Ethernets
178options HDLC #X.25 link layer for serial lines
179
180# broken
181#options EON #ISO CLNP over IP
182
183#
184# Internet family options:
185#
186# TCP_COMPAT_42 causes the TCP code to emulate certain bugs present in
187# 4.2BSD. This option should not be used unless you have a 4.2BSD
188# machine and TCP connections fail.
189#
190# MROUTING enables the kernel multicast packet forwarder, which works
191# with mrouted(8).
192#
193# IPFIREWALL enables support for IP firewall construction, in
194# conjunction with the `ipfw' program. IPFIREWALL_VERBOSE does
195# the obvious thing.
196# IPACCT enables IP accounting.
197#
198# TCPDEBUG is undocumented.
199#
200options "TCP_COMPAT_42" #emulate 4.2BSD TCP bugs
201options MROUTING # Multicast routing
202options IPFIREWALL #firewall
203options IPFIREWALL_VERBOSE #print information about
204 # dropped packets
205options IPACCT #ipaccounting
206options TCPDEBUG
207
208
209#####################################################################
210# FILESYSTEM OPTIONS
211
212#
213# Only the root, /usr, and /tmp filesystems need be statically
214# compiled; everything else will be automatically loaded at mount
215# time. (Exception: the UFS family---FFS, MFS, and LFS---cannot
216# currently be demand-loaded.) Some people still prefer to statically
217# compile other filesystems as well.
218#
219# NB: The LFS, PORTAL, and UNION filesystems are known to be buggy,
220# and WILL panic your system if you attempt to do anything with them.
221# They are included here as an incentive for some enterprising soul to
222# sit down and fix them.
223#
224# Note: 4.4BSD NQNFS lease checking has relatively high cost for
225# _local_ I/O as well as remote I/O. Don't use it unless you will
226# using NQNFS.
227#
228
229# One of these is mandatory:
230options FFS #Fast filesystem
231options NFS #Network File System
232
233# The rest are optional:
234options NQNFS #Enable NQNFS lease checking
235# options NFS_NOSERVER #Disable the NFS-server code.
236options "CD9660" #ISO 9660 filesystem
237options FDESC #File descriptor filesystem
238options KERNFS #Kernel filesystem
239options LFS #Log filesystem
240options MFS #Memory File System
241options MSDOSFS #MS DOS File System
242options NULLFS #NULL filesystem
243options PORTAL #Portal filesystem
244options PROCFS #Process filesystem
245options UMAPFS #UID map filesystem
246options UNION #Union filesystem
247# THis DEVFS is experimental but seems to work
248options DEVFS #devices filesystem
249
79# This option is required for the WINE Windows(tm) emulator, and is
80# not used by anything else (that we know of).
81#
82options USER_LDT #allow user-level control of i386 ldt
83
84#
85# These three options provide support for System V Interface
86# Definition-style interprocess communication, in the form of shared
87# memory, semaphores, and message queues, respectively.
88#
89options SYSVSHM
90options SYSVSEM
91options SYSVMSG
92
93
94#####################################################################
95# DEBUGGING OPTIONS
96
97#
98# Enable the kernel debugger.
99#
100options DDB
101
102#
103# KTRACE enables the system-call tracing facility ktrace(2).
104#
105options KTRACE #kernel tracing
106
107#
108# The DIAGNOSTIC option is used in a number of source files to enable
109# extra sanity checking of internal structures. This support is not
110# enabled by default because of the extra time it would take to check
111# for these conditions, which can only occur as a result of
112# programming errors.
113#
114options DIAGNOSTIC
115
116#
117# Allow ordinary users to take the console - this is useful for X.
118options UCONSOLE
119
120
121#####################################################################
122# NETWORKING OPTIONS
123
124#
125# Protocol families:
126# Only the INET (Internet) family is officially supported in FreeBSD.
127# Source code for the NS (Xerox Network Service), ISO (OSI), and
128# CCITT (X.25) families is provided for amusement value, although we
129# try to ensure that it actually compiles.
130#
131options INET #Internet communications protocols
132options CCITT #X.25 network layer
133options NS #Xerox NS communications protocols
134
135options IPX #IPX/SPX communications protocols
136options IPXIP #IPX in IP encapsulation (not available)
137options IPTUNNEL #IP in IPX encapsulation (not available)
138options IPXPRINTFS=0 #IPX/SPX Console Debugging Information
139options IPX_ERRPRINTFS=0 #IPX/SPX Console Debugging Information
140
141# These are currently broken and don't compile
142#options ISO
143#options TPIP #ISO TP class 4 over IP
144#options TPCONS #ISO TP class 0 over X.25
145
146#
147# Network interfaces:
148# The `loop' pseudo-device is MANDATORY when networking is enabled.
149# The `ether' pseudo-device provides generic code to handle
150# Ethernets; it is MANDATORY when a Ethernet device driver is
151# configured.
152# The 'fddi' pseudo-device provides generic code to support FDDI.
153# The `sppp' pseudo-device serves a similar role for certain types
154# of synchronous PPP links (like `cx', `ar').
155# The `sl' pseudo-device implements the Serial Line IP (SLIP) service.
156# The `ppp' pseudo-device implements the Point-to-Point Protocol.
157# The `bpfilter' pseudo-device enables the Berkeley Packet Filter. Be
158# aware of the legal and administrative consequences of enabling this
159# option. The number of devices determines the maximum number of
160# simultaneous BPF clients programs runnable.
161# The `disc' pseudo-device implements a minimal network interface,
162# which throws away all packets sent and never receives any. It is
163# included for testing purposes.
164# The `tun' pseudo-device implements the User Process PPP (iijppp)
165#
166pseudo-device ether #Generic Ethernet
167pseudo-device fddi #Generic FDDI
168pseudo-device sppp #Generic Synchronous PPP
169pseudo-device loop #Network loopback device
170pseudo-device sl 2 #Serial Line IP
171pseudo-device ppp 2 #Point-to-point protocol
172pseudo-device bpfilter 4 #Berkeley packet filter
173pseudo-device disc #Discard device
174pseudo-device tun 1 #Tunnel driver(user process ppp)
175
176options NSIP #XNS over IP
177options LLC #X.25 link layer for Ethernets
178options HDLC #X.25 link layer for serial lines
179
180# broken
181#options EON #ISO CLNP over IP
182
183#
184# Internet family options:
185#
186# TCP_COMPAT_42 causes the TCP code to emulate certain bugs present in
187# 4.2BSD. This option should not be used unless you have a 4.2BSD
188# machine and TCP connections fail.
189#
190# MROUTING enables the kernel multicast packet forwarder, which works
191# with mrouted(8).
192#
193# IPFIREWALL enables support for IP firewall construction, in
194# conjunction with the `ipfw' program. IPFIREWALL_VERBOSE does
195# the obvious thing.
196# IPACCT enables IP accounting.
197#
198# TCPDEBUG is undocumented.
199#
200options "TCP_COMPAT_42" #emulate 4.2BSD TCP bugs
201options MROUTING # Multicast routing
202options IPFIREWALL #firewall
203options IPFIREWALL_VERBOSE #print information about
204 # dropped packets
205options IPACCT #ipaccounting
206options TCPDEBUG
207
208
209#####################################################################
210# FILESYSTEM OPTIONS
211
212#
213# Only the root, /usr, and /tmp filesystems need be statically
214# compiled; everything else will be automatically loaded at mount
215# time. (Exception: the UFS family---FFS, MFS, and LFS---cannot
216# currently be demand-loaded.) Some people still prefer to statically
217# compile other filesystems as well.
218#
219# NB: The LFS, PORTAL, and UNION filesystems are known to be buggy,
220# and WILL panic your system if you attempt to do anything with them.
221# They are included here as an incentive for some enterprising soul to
222# sit down and fix them.
223#
224# Note: 4.4BSD NQNFS lease checking has relatively high cost for
225# _local_ I/O as well as remote I/O. Don't use it unless you will
226# using NQNFS.
227#
228
229# One of these is mandatory:
230options FFS #Fast filesystem
231options NFS #Network File System
232
233# The rest are optional:
234options NQNFS #Enable NQNFS lease checking
235# options NFS_NOSERVER #Disable the NFS-server code.
236options "CD9660" #ISO 9660 filesystem
237options FDESC #File descriptor filesystem
238options KERNFS #Kernel filesystem
239options LFS #Log filesystem
240options MFS #Memory File System
241options MSDOSFS #MS DOS File System
242options NULLFS #NULL filesystem
243options PORTAL #Portal filesystem
244options PROCFS #Process filesystem
245options UMAPFS #UID map filesystem
246options UNION #Union filesystem
247# THis DEVFS is experimental but seems to work
248options DEVFS #devices filesystem
249
250# Make space in the kernel for a MFS rootfilesystem. Define to the number
250# Make space in the kernel for a MFS root filesystem. Define to the number
251# of kilobytes to reserve for the filesystem.
252options MFS_ROOT=10
253# Allow the MFS_ROOT code to load the MFS image from floppy if it is missing.
254options MFS_AUTOLOAD
255
256# Allow this many swap-devices.
257options NSWAPDEV=20
258
259# Disk quotas are supported when this option is enabled. If you
260# change the value of this option, you must do a `make clean' in your
261# kernel compile directory in order to get a working kernel.
262#
263options QUOTA #enable disk quotas
264
265
266#####################################################################
267# SCSI DEVICES
268
269# SCSI DEVICE CONFIGURATION
270
271# The SCSI subsystem consists of the `base' SCSI code, a number of
272# high-level SCSI device `type' drivers, and the low-level host-adapter
273# device drivers. The host adapters are listed in the ISA and PCI
274# device configuration sections below.
275#
276# Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so
277# that a given bus, target, and LUN always come on line as the same
278# device unit. In earlier versions the unit numbers were assigned
279# in the order that the devices were probed on the SCSI bus. This
280# means that if you removed a disk drive, you may have had to rewrite
281# your /etc/fstab file, and also that you had to be careful when adding
282# a new disk as it may have been probed earlier and moved your device
283# configuration around.
284
285# This old behavior is maintained as the default behavior. The unit
286# assignment begins with the first non-wired down unit for a device
287# type. For example, if you wire a disk as "sd3" then the first
288# non-wired disk will be assigned sd4.
289
290# The syntax for wiring down devices is:
291
292# controller scbus0 at ahc0 # Single bus device
293# controller scbus1 at ahc1 bus 0 # Single bus device
294# controller scbus3 at ahc2 bus 0 # Twin bus device
295# controller scbus2 at ahc2 bus 1 # Twin bus device
296# disk sd0 at scbus0 target 0 unit 0
297# disk sd1 at scbus3 target 1
298# disk sd2 at scbus2 target 3
299# tape st1 at scbus1 target 6
300# device cd0 at scbus?
301
302# "units" (SCSI logical unit number) that are not specified are
303# treated as if specified as LUN 0.
304
305# All SCSI devices allocate as many units as are required.
306
307# The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI
308# configuration and doesn't have to be explicitly configured.
309
310controller scbus0 #base SCSI code
311device ch0 #SCSI media changers
312device sd0 #SCSI disks
313device st0 #SCSI tapes
314device cd0 #SCSI CD-ROMs
315device od0 #SCSI optical disk
316
317# The previous devices (ch, sd, st, cd) are recognized by config.
318# config doesn't (and shouldn't) know about these newer ones,
319# so we have to specify that they are on a SCSI bus with the "at scbus?"
320# clause.
321
322device worm0 at scbus? # SCSI worm
323device pt0 at scbus? # SCSI processor type
324device sctarg0 at scbus? # SCSI target
325
326# SCSI OPTIONS:
327
328# SCSIDEBUG: When defined enables debugging macros
329# NO_SCSI_SENSE: When defined disables sense descriptions (about 4k)
330# SCSI_REPORT_GEOMETRY: Always report disk geometry at boot up instead
331# of only when booting verbosely.
332options SCSIDEBUG
333#options NO_SCSI_SENSE
334options SCSI_REPORT_GEOMETRY
335
336
337#####################################################################
338# MISCELLANEOUS DEVICES AND OPTIONS
339
340#
341# Of these, only the `log' device is truly mandatory. The `pty'
342# device usually turns out to be ``effectively mandatory'', as it is
343# required for `telnetd', `rlogind', `screen', `emacs', and `xterm',
344# among others. The `isdn', `ii', `ity', `itel', and `ispy' devices
345# are all required when ISDN support is used. If you wish to run certain
346# system utilities which are compressed by default (like /stand/sysinstall)
347# then `gzip' becomes mandatory too.
348#
349pseudo-device pty 16 #Pseudo ttys - can go as high as 64
350pseudo-device speaker #Play IBM BASIC-style noises out your speaker
351pseudo-device log #Kernel syslog interface (/dev/klog)
352pseudo-device gzip #Exec gzipped a.out's
353pseudo-device vn #Vnode driver (turns a file into a device)
354pseudo-device snp 3 #Snoop device - to look at pty/vty/etc..
355
356# These are non-optional for ISDN
357pseudo-device isdn
358pseudo-device ii 4
359pseudo-device ity 4
360pseudo-device itel 2
361pseudo-device ispy 1
362
363# These are only for watching for bitrot in old tty code.
364# broken
365#pseudo-device tb
366
367# These are only for watching for bitrot in old SCSI code.
368pseudo-device su #scsi user
369pseudo-device ssc #super scsi
370
371
372#####################################################################
373# HARDWARE DEVICE CONFIGURATION
374
375# ISA and EISA devices:
376# Currently there is no separate support for EISA. There should be.
377# Micro Channel is not supported at all.
378
379#
380# Mandatory ISA devices: isa, sc or vt, npx
381#
382controller isa0
383
384#
385# Options for `isa':
386#
387# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
388# interrupt controller. This saves about 1.25 usec for each interrupt.
389# Automatic EOI is documented not to work for for the slave with the
390# original i8259A, but it works for some clones and some integrated
391# versions.
392#
393# BOUNCE_BUFFERS provides support for ISA DMA on machines with more
394# than 16 megabytes of memory. It doesn't hurt on other machines.
395# Some broken EISA and VLB hardware may need this, too.
396#
397# DUMMY_NOPS disables extra delays for some bus operations. The delays
398# are mostly for older systems and aren't used consistently. Probably
399# works OK on most EISA bus machines.
400#
401# TUNE_1542 enables the automatic ISA bus speed selection for the
402# Adaptec 1542 boards. Does not work for all boards, use it with caution.
403#
404# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
405# reset the CPU for reboot. This is needed on some systems with broken
406# keyboard controllers.
407#
408#options "AUTO_EOI_2"
409options BOUNCE_BUFFERS
410#options DUMMY_NOPS
411#options "TUNE_1542"
412#options BROKEN_KEYBOARD_RESET
413
414# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
415device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint
416options PCVT_FREEBSD=210 # pcvt running on FreeBSD >= 2.0.5
417options XSERVER # include code for XFree86
418options FAT_CURSOR # start with block cursor
419# This PCVT option is for keyboards such as those used on IBM ThinkPad laptops
420options PCVT_SCANSET=2 # IBM keyboards are non-std
421
422# The syscons console driver (sco color console compatible) - default.
423device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
424
425#
426# Options for `sc':
427#
428# HARDFONTS allows the driver to load an ISO-8859-1 font to replace
429# the default font in your display adapter's memory.
430#
431options HARDFONTS
432#
433# MAXCONS is maximum number of virtual consoles, no more than 16
434# default value: 12
435#
436options MAXCONS=16
437
438#
439# This device is mandatory.
440#
441# The Numeric Processing eXtension is used to either enable the
442# coprocessor or enable math emulation. If your machine doesn't contain
443# a math co-processor, you must *also* add the option "MATH_EMULATE".
444# THIS IS NOT AN OPTIONAL ENTRY, DO NOT REMOVE IT
445#
446device npx0 at isa? port "IO_NPX" irq 13 vector npxintr
447
448#
449# Optional ISA and EISA devices:
450#
451
452#
453# SCSI host adapters: `aha', `aic', `bt', `nca'
454#
455# aha: Adaptec 154x
456# ahc: Adaptec 274x/284x/294x
457# aic: Adaptec 152x and sound cards using the Adaptec AIC-6360 (slow!)
458# bt: Most Buslogic controllers
459# nca: ProAudioSpectrum cards using the NCR 5380 or Trantor T130
460# uha: UltraStore 14F and 34F
461# sea: Seagate ST01/02 8 bit controller (slow!)
462# wds: Western Digital WD7000 controller (no scatter/gather!).
463#
464# Note that the order is important in order for Buslogic cards to be
465# probed correctly.
466#
467
468controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
469controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
470controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
471
472controller aic0 at isa? port 0x340 bio irq 11 vector aicintr
473controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr
474controller nca1 at isa? port 0x1f84
475controller nca2 at isa? port 0x1f8c
476controller nca3 at isa? port 0x1e88
477controller nca4 at isa? port 0x350 bio irq 5 vector ncaintr
478
479controller sea0 at isa? bio irq 5 iomem 0xdc000 iosiz 0x2000 vector seaintr
480controller wds0 at isa? port 0x350 bio irq 15 drq 6 vector wdsintr
481
482#
483# ST-506, ESDI, and IDE hard disks: `wdc' and `wd'
484#
485# NB: ``Enhanced IDE'' is NOT supported at this time.
486#
487# The flags fields are used to enable the multi-sector I/O and
488# the 32BIT I/O modes. The flags may be used in either the controller
489# definition or in the individual disk definitions. The controller
490# definition is supported for the boot configuration stuff.
491#
492# Each drive has a 16 bit flags value defined:
493# The low 8 bits are the maximum value for the multi-sector I/O,
494# where 0xff defaults to the maximum that the drive can handle.
495# The high bit of the 16 bit flags (0x8000) allows probing for
496# 32 bit transfers.
497#
498# The flags field for the drives can be specified in the controller
499# specification with the low 16 bits for drive 0, and the high 16 bits
500# for drive 1.
501# e.g.:
502#controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0x00ff8004 vector wdintr
503#
504# specifies that drive 0 will be allowed to probe for 32 bit transfers and
505# a maximum multi-sector transfer of 4 sectors, and drive 1 will not be
506# allowed to probe for 32 bit transfers, but will allow multi-sector
507# transfers up to the maximum that the drive supports.
508#
509
510#
511controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
512disk wd0 at wdc0 drive 0
513disk wd1 at wdc0 drive 1
514controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
515disk wd2 at wdc1 drive 0
516disk wd3 at wdc1 drive 1
517
518#
519# Options for `wdc':
520#
521# ATAPI enables the support for ATAPI-compatible IDE devices
522#
523options ATAPI #Enable ATAPI support for IDE bus
524
525# IDE CD-ROM driver - requires wdc controller and ATAPI option
526device wcd0
527
528#
529# Standard floppy disk controllers and floppy tapes: `fdc', `fd', and `ft'
530#
531controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
532#
533# Activate this line instead of the fdc0 line above if you happen to
534# have an Insight floppy tape. Probing them proved to be dangerous
535# for people with floppy disks only, so it's "hidden" behind a flag:
536#controller fdc0 at isa? port "IO_FD1" bio flags 1 irq 6 drq 2 vector fdintr
537
538disk fd0 at fdc0 drive 0
539disk fd1 at fdc0 drive 1
540tape ft0 at fdc0 drive 2
541
542
543#
544# Options for `fd':
545#
546# FDSEEKWAIT selects a non-default head-settle time (i.e., the time to
547# wait after a seek is performed). The default value (1/32 s) is
548# usually sufficient. The units are inverse seconds, so a value of 16
549# here means to wait 1/16th of a second; you should choose a power of
550# two.
551# XXX: this seems to be missing!
552options FDSEEKWAIT=16
553
554#
555# Other standard PC hardware: `lpt', `mse', `psm', `sio', etc.
556#
557# lpt: printer port
558# lpt specials:
559# port can be specified as ?, this will cause the driver to scan
560# the BIOS port list;
561# the irq and vector clauses may be omitted, this
562# will force the port into polling mode.
563# mse: Logitech and ATI InPort bus mouse ports
564# psm: PS/2 mouse port [note: conflicts with sc0/vt0, thus "conflicts" keywd]
565# sio: serial ports (see sio(4))
566
567device lpt0 at isa? port? tty irq 7 vector lptintr
568device lpt1 at isa? port "IO_LPT3" tty irq 5 vector lptintr
569device mse0 at isa? port 0x23c tty irq 5 vector mseintr
570device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
571# Options for psm:
572options PSM_NO_RESET #don't reset mouse hardware (some laptops)
573
574device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
575
576# Options for sio:
577options COMCONSOLE #prefer serial console to video console
578options COM_ESP #code for Hayes ESP
579options COM_MULTIPORT #code for some cards with shared IRQs
580options DSI_SOFT_MODEM #code for DSI Softmodems
581options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to
582 #DDB, if available.
583
584#
585# Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc'
586#
251# of kilobytes to reserve for the filesystem.
252options MFS_ROOT=10
253# Allow the MFS_ROOT code to load the MFS image from floppy if it is missing.
254options MFS_AUTOLOAD
255
256# Allow this many swap-devices.
257options NSWAPDEV=20
258
259# Disk quotas are supported when this option is enabled. If you
260# change the value of this option, you must do a `make clean' in your
261# kernel compile directory in order to get a working kernel.
262#
263options QUOTA #enable disk quotas
264
265
266#####################################################################
267# SCSI DEVICES
268
269# SCSI DEVICE CONFIGURATION
270
271# The SCSI subsystem consists of the `base' SCSI code, a number of
272# high-level SCSI device `type' drivers, and the low-level host-adapter
273# device drivers. The host adapters are listed in the ISA and PCI
274# device configuration sections below.
275#
276# Beginning with FreeBSD 2.0.5 you can wire down your SCSI devices so
277# that a given bus, target, and LUN always come on line as the same
278# device unit. In earlier versions the unit numbers were assigned
279# in the order that the devices were probed on the SCSI bus. This
280# means that if you removed a disk drive, you may have had to rewrite
281# your /etc/fstab file, and also that you had to be careful when adding
282# a new disk as it may have been probed earlier and moved your device
283# configuration around.
284
285# This old behavior is maintained as the default behavior. The unit
286# assignment begins with the first non-wired down unit for a device
287# type. For example, if you wire a disk as "sd3" then the first
288# non-wired disk will be assigned sd4.
289
290# The syntax for wiring down devices is:
291
292# controller scbus0 at ahc0 # Single bus device
293# controller scbus1 at ahc1 bus 0 # Single bus device
294# controller scbus3 at ahc2 bus 0 # Twin bus device
295# controller scbus2 at ahc2 bus 1 # Twin bus device
296# disk sd0 at scbus0 target 0 unit 0
297# disk sd1 at scbus3 target 1
298# disk sd2 at scbus2 target 3
299# tape st1 at scbus1 target 6
300# device cd0 at scbus?
301
302# "units" (SCSI logical unit number) that are not specified are
303# treated as if specified as LUN 0.
304
305# All SCSI devices allocate as many units as are required.
306
307# The "unknown" device (uk? in pre-2.0.5) is now part of the base SCSI
308# configuration and doesn't have to be explicitly configured.
309
310controller scbus0 #base SCSI code
311device ch0 #SCSI media changers
312device sd0 #SCSI disks
313device st0 #SCSI tapes
314device cd0 #SCSI CD-ROMs
315device od0 #SCSI optical disk
316
317# The previous devices (ch, sd, st, cd) are recognized by config.
318# config doesn't (and shouldn't) know about these newer ones,
319# so we have to specify that they are on a SCSI bus with the "at scbus?"
320# clause.
321
322device worm0 at scbus? # SCSI worm
323device pt0 at scbus? # SCSI processor type
324device sctarg0 at scbus? # SCSI target
325
326# SCSI OPTIONS:
327
328# SCSIDEBUG: When defined enables debugging macros
329# NO_SCSI_SENSE: When defined disables sense descriptions (about 4k)
330# SCSI_REPORT_GEOMETRY: Always report disk geometry at boot up instead
331# of only when booting verbosely.
332options SCSIDEBUG
333#options NO_SCSI_SENSE
334options SCSI_REPORT_GEOMETRY
335
336
337#####################################################################
338# MISCELLANEOUS DEVICES AND OPTIONS
339
340#
341# Of these, only the `log' device is truly mandatory. The `pty'
342# device usually turns out to be ``effectively mandatory'', as it is
343# required for `telnetd', `rlogind', `screen', `emacs', and `xterm',
344# among others. The `isdn', `ii', `ity', `itel', and `ispy' devices
345# are all required when ISDN support is used. If you wish to run certain
346# system utilities which are compressed by default (like /stand/sysinstall)
347# then `gzip' becomes mandatory too.
348#
349pseudo-device pty 16 #Pseudo ttys - can go as high as 64
350pseudo-device speaker #Play IBM BASIC-style noises out your speaker
351pseudo-device log #Kernel syslog interface (/dev/klog)
352pseudo-device gzip #Exec gzipped a.out's
353pseudo-device vn #Vnode driver (turns a file into a device)
354pseudo-device snp 3 #Snoop device - to look at pty/vty/etc..
355
356# These are non-optional for ISDN
357pseudo-device isdn
358pseudo-device ii 4
359pseudo-device ity 4
360pseudo-device itel 2
361pseudo-device ispy 1
362
363# These are only for watching for bitrot in old tty code.
364# broken
365#pseudo-device tb
366
367# These are only for watching for bitrot in old SCSI code.
368pseudo-device su #scsi user
369pseudo-device ssc #super scsi
370
371
372#####################################################################
373# HARDWARE DEVICE CONFIGURATION
374
375# ISA and EISA devices:
376# Currently there is no separate support for EISA. There should be.
377# Micro Channel is not supported at all.
378
379#
380# Mandatory ISA devices: isa, sc or vt, npx
381#
382controller isa0
383
384#
385# Options for `isa':
386#
387# AUTO_EOI_2 enables the `automatic EOI' feature for the slave 8259A
388# interrupt controller. This saves about 1.25 usec for each interrupt.
389# Automatic EOI is documented not to work for for the slave with the
390# original i8259A, but it works for some clones and some integrated
391# versions.
392#
393# BOUNCE_BUFFERS provides support for ISA DMA on machines with more
394# than 16 megabytes of memory. It doesn't hurt on other machines.
395# Some broken EISA and VLB hardware may need this, too.
396#
397# DUMMY_NOPS disables extra delays for some bus operations. The delays
398# are mostly for older systems and aren't used consistently. Probably
399# works OK on most EISA bus machines.
400#
401# TUNE_1542 enables the automatic ISA bus speed selection for the
402# Adaptec 1542 boards. Does not work for all boards, use it with caution.
403#
404# BROKEN_KEYBOARD_RESET disables the use of the keyboard controller to
405# reset the CPU for reboot. This is needed on some systems with broken
406# keyboard controllers.
407#
408#options "AUTO_EOI_2"
409options BOUNCE_BUFFERS
410#options DUMMY_NOPS
411#options "TUNE_1542"
412#options BROKEN_KEYBOARD_RESET
413
414# Enable this and PCVT_FREEBSD for pcvt vt220 compatible console driver
415device vt0 at isa? port "IO_KBD" tty irq 1 vector pcrint
416options PCVT_FREEBSD=210 # pcvt running on FreeBSD >= 2.0.5
417options XSERVER # include code for XFree86
418options FAT_CURSOR # start with block cursor
419# This PCVT option is for keyboards such as those used on IBM ThinkPad laptops
420options PCVT_SCANSET=2 # IBM keyboards are non-std
421
422# The syscons console driver (sco color console compatible) - default.
423device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
424
425#
426# Options for `sc':
427#
428# HARDFONTS allows the driver to load an ISO-8859-1 font to replace
429# the default font in your display adapter's memory.
430#
431options HARDFONTS
432#
433# MAXCONS is maximum number of virtual consoles, no more than 16
434# default value: 12
435#
436options MAXCONS=16
437
438#
439# This device is mandatory.
440#
441# The Numeric Processing eXtension is used to either enable the
442# coprocessor or enable math emulation. If your machine doesn't contain
443# a math co-processor, you must *also* add the option "MATH_EMULATE".
444# THIS IS NOT AN OPTIONAL ENTRY, DO NOT REMOVE IT
445#
446device npx0 at isa? port "IO_NPX" irq 13 vector npxintr
447
448#
449# Optional ISA and EISA devices:
450#
451
452#
453# SCSI host adapters: `aha', `aic', `bt', `nca'
454#
455# aha: Adaptec 154x
456# ahc: Adaptec 274x/284x/294x
457# aic: Adaptec 152x and sound cards using the Adaptec AIC-6360 (slow!)
458# bt: Most Buslogic controllers
459# nca: ProAudioSpectrum cards using the NCR 5380 or Trantor T130
460# uha: UltraStore 14F and 34F
461# sea: Seagate ST01/02 8 bit controller (slow!)
462# wds: Western Digital WD7000 controller (no scatter/gather!).
463#
464# Note that the order is important in order for Buslogic cards to be
465# probed correctly.
466#
467
468controller bt0 at isa? port "IO_BT0" bio irq ? vector bt_isa_intr
469controller aha0 at isa? port "IO_AHA0" bio irq ? drq 5 vector ahaintr
470controller uha0 at isa? port "IO_UHA0" bio irq ? drq 5 vector uhaintr
471
472controller aic0 at isa? port 0x340 bio irq 11 vector aicintr
473controller nca0 at isa? port 0x1f88 bio irq 10 vector ncaintr
474controller nca1 at isa? port 0x1f84
475controller nca2 at isa? port 0x1f8c
476controller nca3 at isa? port 0x1e88
477controller nca4 at isa? port 0x350 bio irq 5 vector ncaintr
478
479controller sea0 at isa? bio irq 5 iomem 0xdc000 iosiz 0x2000 vector seaintr
480controller wds0 at isa? port 0x350 bio irq 15 drq 6 vector wdsintr
481
482#
483# ST-506, ESDI, and IDE hard disks: `wdc' and `wd'
484#
485# NB: ``Enhanced IDE'' is NOT supported at this time.
486#
487# The flags fields are used to enable the multi-sector I/O and
488# the 32BIT I/O modes. The flags may be used in either the controller
489# definition or in the individual disk definitions. The controller
490# definition is supported for the boot configuration stuff.
491#
492# Each drive has a 16 bit flags value defined:
493# The low 8 bits are the maximum value for the multi-sector I/O,
494# where 0xff defaults to the maximum that the drive can handle.
495# The high bit of the 16 bit flags (0x8000) allows probing for
496# 32 bit transfers.
497#
498# The flags field for the drives can be specified in the controller
499# specification with the low 16 bits for drive 0, and the high 16 bits
500# for drive 1.
501# e.g.:
502#controller wdc0 at isa? port "IO_WD1" bio irq 14 flags 0x00ff8004 vector wdintr
503#
504# specifies that drive 0 will be allowed to probe for 32 bit transfers and
505# a maximum multi-sector transfer of 4 sectors, and drive 1 will not be
506# allowed to probe for 32 bit transfers, but will allow multi-sector
507# transfers up to the maximum that the drive supports.
508#
509
510#
511controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
512disk wd0 at wdc0 drive 0
513disk wd1 at wdc0 drive 1
514controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr
515disk wd2 at wdc1 drive 0
516disk wd3 at wdc1 drive 1
517
518#
519# Options for `wdc':
520#
521# ATAPI enables the support for ATAPI-compatible IDE devices
522#
523options ATAPI #Enable ATAPI support for IDE bus
524
525# IDE CD-ROM driver - requires wdc controller and ATAPI option
526device wcd0
527
528#
529# Standard floppy disk controllers and floppy tapes: `fdc', `fd', and `ft'
530#
531controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
532#
533# Activate this line instead of the fdc0 line above if you happen to
534# have an Insight floppy tape. Probing them proved to be dangerous
535# for people with floppy disks only, so it's "hidden" behind a flag:
536#controller fdc0 at isa? port "IO_FD1" bio flags 1 irq 6 drq 2 vector fdintr
537
538disk fd0 at fdc0 drive 0
539disk fd1 at fdc0 drive 1
540tape ft0 at fdc0 drive 2
541
542
543#
544# Options for `fd':
545#
546# FDSEEKWAIT selects a non-default head-settle time (i.e., the time to
547# wait after a seek is performed). The default value (1/32 s) is
548# usually sufficient. The units are inverse seconds, so a value of 16
549# here means to wait 1/16th of a second; you should choose a power of
550# two.
551# XXX: this seems to be missing!
552options FDSEEKWAIT=16
553
554#
555# Other standard PC hardware: `lpt', `mse', `psm', `sio', etc.
556#
557# lpt: printer port
558# lpt specials:
559# port can be specified as ?, this will cause the driver to scan
560# the BIOS port list;
561# the irq and vector clauses may be omitted, this
562# will force the port into polling mode.
563# mse: Logitech and ATI InPort bus mouse ports
564# psm: PS/2 mouse port [note: conflicts with sc0/vt0, thus "conflicts" keywd]
565# sio: serial ports (see sio(4))
566
567device lpt0 at isa? port? tty irq 7 vector lptintr
568device lpt1 at isa? port "IO_LPT3" tty irq 5 vector lptintr
569device mse0 at isa? port 0x23c tty irq 5 vector mseintr
570device psm0 at isa? port "IO_KBD" conflicts tty irq 12 vector psmintr
571# Options for psm:
572options PSM_NO_RESET #don't reset mouse hardware (some laptops)
573
574device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr
575
576# Options for sio:
577options COMCONSOLE #prefer serial console to video console
578options COM_ESP #code for Hayes ESP
579options COM_MULTIPORT #code for some cards with shared IRQs
580options DSI_SOFT_MODEM #code for DSI Softmodems
581options BREAK_TO_DEBUGGER #a BREAK on a comconsole goes to
582 #DDB, if available.
583
584#
585# Network interfaces: `cx', `ed', `el', `ep', `ie', `is', `le', `lnc'
586#
587# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver (reqires sppp)
587# ar: Arnet SYNC/570i hdlc sync 2/4 port V.35/X.21 serial driver (requires sppp)
588# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing)
589# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
590# el: 3Com 3C501 (slow!)
591# ep: 3Com 3C509 (buggy)
592# fe: Fujitsu MB86960A/MB86965A Ethernet
593# fea: DEC DEFEA EISA FDDI adapter
594# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210
595# le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100,
596# DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422)
597# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL)
598# ze: IBM/National Semiconductor PCMCIA ethernet controller.
599# zp: 3Com PCMCIA Etherlink III (It does not require shared memory for
600# send/receive operation, but it needs 'iomem' to read/write the
601# attribute memory)
602#
603
604device ar0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector arintr
605device cx0 at isa? port 0x240 net irq 15 drq 7 vector cxintr
606device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr
607device eg0 at isa? port 0x310 net irq 5 vector egintr
608device el0 at isa? port 0x300 net irq 9 vector elintr
609device ep0 at isa? port 0x300 net irq 10 vector epintr
610device fe0 at isa? port 0x240 net irq ? vector feintr
611device fea0 at isa? net irq ? vector feaintr
612device ie0 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr
613device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr
614device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
615device lnc0 at isa? port 0x300 net irq 10 drq 0 vector lncintr
616device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
617device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
618
619
620#
621# ISDN drivers - `isdn'.
622#
623# Uncomment one (and only one) of the following two drivers for the appropriate
624# ISDN device you have. For more information on what's considered appropriate
625# for your given set of circumstances, please read
626# /usr/src/gnu/usr.sbin/isdn/docs/INSTALL. It's a bit sparse at present, but
627# it's the best we have right now. The snic driver is also disabled at present,
628# waiting for someone to upgrade the driver to 2.0 (it's in /sys/gnu/scsi/).
629#
630device nic0 at isa? port "IO_COM3" iomem 0xe0000 tty irq 9 vector nicintr
631device nnic0 at isa? port 0x150 iomem 0xe0000 tty irq 12 vector nnicintr
632
633#
634# Audio drivers: `snd', `sb', `pas', `gus', `pca'
635#
636# snd: Voxware sound support code
637# sb: SoundBlaster PCM - SoundBlaster, SB Pro, SB16, ProAudioSpectrum
638# sbxvi: SoundBlaster 16
639# sbmidi: SoundBlaster 16 MIDI interface
640# pas: ProAudioSpectrum PCM and MIDI
641# gus: Gravis Ultrasound - Ultrasound, Ultrasound 16, Ultrasound MAX
642# gusxvi: Gravis Ultrasound 16-bit PCM (do not use)
643# mss: Microsoft Sound System
644# opl: Yamaha OPL-2 and OPL-3 FM - SB, SB Pro, SB 16, ProAudioSpectrum
645# uart: stand-alone 6850 UART for MIDI
646# mpu: Roland MPU-401 stand-alone card
647#
648# Beware! The addresses specified below are also hard-coded in
649# i386/isa/sound/sound_config.h. If you change the values here, you
650# must also change the values in the include file.
651#
652# pca: PCM audio through your PC speaker
653#
654# If you don't have a lpt0 device at IRQ 7, you can remove the
655# ``conflicts'' specification in the appropriate device entries below.
656#
657# If you have a GUS-MAX card and want to use the CS4231 codec on the
658# card the drqs for the gus max must be 8 bit (1, 2, or 3).
659#
660# If you would like to use the full duplex option on the gus, then define
661# flags to be the ``read dma channel''.
662#
663# options BROKEN_BUS_CLOCK #PAS-16 isn't working and OPTI chipset
664# options SYMPHONY_PAS #PAS-16 isn't working and SYMPHONY chipset
665# options EXCLUDE_SBPRO #PAS-16
666# options SBC_IRQ=5 #PAS-16. Must match irq on sb0 line.
667# PAS16: The order of the pas0/sb0/opl0 is important since the
668# sb emulation is enabled in the pas-16 attach.
669#
670# The i386/isa/sound/sound.doc has more information.
671
672# Controls all sound devices
673controller snd0
674device pas0 at isa? port 0x388 irq 10 drq 6 vector pasintr
675device sb0 at isa? port 0x220 irq 7 conflicts drq 1 vector sbintr
676device sbxvi0 at isa? drq 5
677device sbmidi0 at isa? port 0x330
678device gus0 at isa? port 0x220 irq 12 drq 1 vector gusintr
679#device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3 vector gusintr
680device mss0 at isa? port 0x530 irq 10 drq 1 vector adintr
681device opl0 at isa? port 0x388 conflicts
682device mpu0 at isa? port 0x330 irq 6 drq 0
683device uart0 at isa? port 0x330 irq 5 vector "m6850intr"
684
685# More undocumented sound devices with bogus configurations for linting.
686# broken
687#device sscape0 at isa? port 0x330 irq 6 drq 0
688#device trix0 at isa? port 0x330 irq 6 drq 0 vector sscapeintr
689
690# Not controlled by `snd'
691device pca0 at isa? port IO_TIMER1 tty
692
693#
694# Miscellaneous hardware:
695#
696# mcd: Mitsumi CD-ROM
697# scd: Sony CD-ROM
698# matcd: Matsushita/Panasonic CD-ROM
699# wt: Wangtek and Archive QIC-02/QIC-36 tape drives
700# ctx: Cortex-I frame grabber
701# apm: Laptop Advanced Power Management (experimental)
588# cx: Cronyx/Sigma multiport sync/async (with Cisco or PPP framing)
589# ed: Western Digital and SMC 80xx; Novell NE1000 and NE2000; 3Com 3C503
590# el: 3Com 3C501 (slow!)
591# ep: 3Com 3C509 (buggy)
592# fe: Fujitsu MB86960A/MB86965A Ethernet
593# fea: DEC DEFEA EISA FDDI adapter
594# ie: AT&T StarLAN 10 and EN100; 3Com 3C507; unknown NI5210
595# le: Digital Equipment EtherWorks 2 and EtherWorks 3 (DEPCA, DE100,
596# DE101, DE200, DE201, DE202, DE203, DE204, DE205, DE422)
597# lnc: Lance/PCnet cards (Isolan, Novell NE2100, NE32-VL)
598# ze: IBM/National Semiconductor PCMCIA ethernet controller.
599# zp: 3Com PCMCIA Etherlink III (It does not require shared memory for
600# send/receive operation, but it needs 'iomem' to read/write the
601# attribute memory)
602#
603
604device ar0 at isa? port 0x300 net irq 10 iomem 0xd0000 vector arintr
605device cx0 at isa? port 0x240 net irq 15 drq 7 vector cxintr
606device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr
607device eg0 at isa? port 0x310 net irq 5 vector egintr
608device el0 at isa? port 0x300 net irq 9 vector elintr
609device ep0 at isa? port 0x300 net irq 10 vector epintr
610device fe0 at isa? port 0x240 net irq ? vector feintr
611device fea0 at isa? net irq ? vector feaintr
612device ie0 at isa? port 0x360 net irq 7 iomem 0xd0000 vector ieintr
613device ix0 at isa? port 0x300 net irq 10 iomem 0xd0000 iosiz 32768 vector ixintr
614device le0 at isa? port 0x300 net irq 5 iomem 0xd0000 vector le_intr
615device lnc0 at isa? port 0x300 net irq 10 drq 0 vector lncintr
616device ze0 at isa? port 0x300 net irq 5 iomem 0xd8000 vector zeintr
617device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr
618
619
620#
621# ISDN drivers - `isdn'.
622#
623# Uncomment one (and only one) of the following two drivers for the appropriate
624# ISDN device you have. For more information on what's considered appropriate
625# for your given set of circumstances, please read
626# /usr/src/gnu/usr.sbin/isdn/docs/INSTALL. It's a bit sparse at present, but
627# it's the best we have right now. The snic driver is also disabled at present,
628# waiting for someone to upgrade the driver to 2.0 (it's in /sys/gnu/scsi/).
629#
630device nic0 at isa? port "IO_COM3" iomem 0xe0000 tty irq 9 vector nicintr
631device nnic0 at isa? port 0x150 iomem 0xe0000 tty irq 12 vector nnicintr
632
633#
634# Audio drivers: `snd', `sb', `pas', `gus', `pca'
635#
636# snd: Voxware sound support code
637# sb: SoundBlaster PCM - SoundBlaster, SB Pro, SB16, ProAudioSpectrum
638# sbxvi: SoundBlaster 16
639# sbmidi: SoundBlaster 16 MIDI interface
640# pas: ProAudioSpectrum PCM and MIDI
641# gus: Gravis Ultrasound - Ultrasound, Ultrasound 16, Ultrasound MAX
642# gusxvi: Gravis Ultrasound 16-bit PCM (do not use)
643# mss: Microsoft Sound System
644# opl: Yamaha OPL-2 and OPL-3 FM - SB, SB Pro, SB 16, ProAudioSpectrum
645# uart: stand-alone 6850 UART for MIDI
646# mpu: Roland MPU-401 stand-alone card
647#
648# Beware! The addresses specified below are also hard-coded in
649# i386/isa/sound/sound_config.h. If you change the values here, you
650# must also change the values in the include file.
651#
652# pca: PCM audio through your PC speaker
653#
654# If you don't have a lpt0 device at IRQ 7, you can remove the
655# ``conflicts'' specification in the appropriate device entries below.
656#
657# If you have a GUS-MAX card and want to use the CS4231 codec on the
658# card the drqs for the gus max must be 8 bit (1, 2, or 3).
659#
660# If you would like to use the full duplex option on the gus, then define
661# flags to be the ``read dma channel''.
662#
663# options BROKEN_BUS_CLOCK #PAS-16 isn't working and OPTI chipset
664# options SYMPHONY_PAS #PAS-16 isn't working and SYMPHONY chipset
665# options EXCLUDE_SBPRO #PAS-16
666# options SBC_IRQ=5 #PAS-16. Must match irq on sb0 line.
667# PAS16: The order of the pas0/sb0/opl0 is important since the
668# sb emulation is enabled in the pas-16 attach.
669#
670# The i386/isa/sound/sound.doc has more information.
671
672# Controls all sound devices
673controller snd0
674device pas0 at isa? port 0x388 irq 10 drq 6 vector pasintr
675device sb0 at isa? port 0x220 irq 7 conflicts drq 1 vector sbintr
676device sbxvi0 at isa? drq 5
677device sbmidi0 at isa? port 0x330
678device gus0 at isa? port 0x220 irq 12 drq 1 vector gusintr
679#device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3 vector gusintr
680device mss0 at isa? port 0x530 irq 10 drq 1 vector adintr
681device opl0 at isa? port 0x388 conflicts
682device mpu0 at isa? port 0x330 irq 6 drq 0
683device uart0 at isa? port 0x330 irq 5 vector "m6850intr"
684
685# More undocumented sound devices with bogus configurations for linting.
686# broken
687#device sscape0 at isa? port 0x330 irq 6 drq 0
688#device trix0 at isa? port 0x330 irq 6 drq 0 vector sscapeintr
689
690# Not controlled by `snd'
691device pca0 at isa? port IO_TIMER1 tty
692
693#
694# Miscellaneous hardware:
695#
696# mcd: Mitsumi CD-ROM
697# scd: Sony CD-ROM
698# matcd: Matsushita/Panasonic CD-ROM
699# wt: Wangtek and Archive QIC-02/QIC-36 tape drives
700# ctx: Cortex-I frame grabber
701# apm: Laptop Advanced Power Management (experimental)
702# spigot: The Creative Labs Video Spigot video-aquisition board
702# spigot: The Creative Labs Video Spigot video-acquisition board
703# meteor: Matrox Meteor video capture board
704# cy: Cyclades serial driver
705# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!)
706# gp: National Instruments AT-GPIB and AT-GPIB/TNT board
707# asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey
708# gsc: Genius GS-4500 hand scanner.
709# joy: joystick
710# labpc: National Instrument's Lab-PC and Lab-PC+
711# rc: RISCom/8 multiport card
712# tw: TW-523 power line interface for use with X-10 home control products
713# si: Specialix SI/XIO 4-32 port terminal multiplexor
714
715#
716# Notes on the spigot:
717# The video spigot is at 0xad6. This port address can not be changed.
718# The irq values may only be 10, 11, or 15
719# I/O memory is an 8kb region. Possible values are:
720# 0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff
721# The start address must be on an even boundary.
722# Add the following option if you want to allow non-root users to be able
723# to access the spigot. This option is not secure because it allows users
724# direct access to the I/O page.
725# options SPIGOT_UNSECURE
726#
727
728# Notes on the Digiboard driver:
729#
730# The following flag values have special meanings:
731# 0x01 - alternate layout of pins
732# 0x02 - use the windowed PC/Xe in 64K mode
733
734# Notes on the Specialix SI/XIO driver:
735# **This is NOT a Specialix supported Driver!**
736# The host card is memory, not IO mapped.
737# The Rev 1 host cards use a 64K chunk, on a 32K boundary.
738# The Rev 2 host cards use a 32K chunk, on a 32K boundary.
739# The cards can use an IRQ of 11, 12 or 15.
740
741device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr
742# for the Sony CDU31/33A CDROM
743device scd0 at isa? port 0x230 bio
703# meteor: Matrox Meteor video capture board
704# cy: Cyclades serial driver
705# dgb: Digiboard PC/Xi and PC/Xe series driver (ALPHA QUALITY!)
706# gp: National Instruments AT-GPIB and AT-GPIB/TNT board
707# asc: GI1904-based hand scanners, e.g. the Trust Amiscan Grey
708# gsc: Genius GS-4500 hand scanner.
709# joy: joystick
710# labpc: National Instrument's Lab-PC and Lab-PC+
711# rc: RISCom/8 multiport card
712# tw: TW-523 power line interface for use with X-10 home control products
713# si: Specialix SI/XIO 4-32 port terminal multiplexor
714
715#
716# Notes on the spigot:
717# The video spigot is at 0xad6. This port address can not be changed.
718# The irq values may only be 10, 11, or 15
719# I/O memory is an 8kb region. Possible values are:
720# 0a0000, 0a2000, ..., 0fffff, f00000, f02000, ..., ffffff
721# The start address must be on an even boundary.
722# Add the following option if you want to allow non-root users to be able
723# to access the spigot. This option is not secure because it allows users
724# direct access to the I/O page.
725# options SPIGOT_UNSECURE
726#
727
728# Notes on the Digiboard driver:
729#
730# The following flag values have special meanings:
731# 0x01 - alternate layout of pins
732# 0x02 - use the windowed PC/Xe in 64K mode
733
734# Notes on the Specialix SI/XIO driver:
735# **This is NOT a Specialix supported Driver!**
736# The host card is memory, not IO mapped.
737# The Rev 1 host cards use a 64K chunk, on a 32K boundary.
738# The Rev 2 host cards use a 32K chunk, on a 32K boundary.
739# The cards can use an IRQ of 11, 12 or 15.
740
741device mcd0 at isa? port 0x300 bio irq 10 vector mcdintr
742# for the Sony CDU31/33A CDROM
743device scd0 at isa? port 0x230 bio
744# for the soundblaster 16 multicd - up to 4 devices
744# for the SoundBlaster 16 multicd - up to 4 devices
745controller matcd0 at isa? port 0x230 bio
746device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr
747device ctx0 at isa? port 0x230 iomem 0xd0000
748device spigot0 at isa? port 0xad6 irq 15 iomem 0xee000 vector spigintr
749device apm0 at isa?
750device gp0 at isa? port 0x2c0 tty
751device gsc0 at isa? port "IO_GSC1" tty drq 3
752device joy0 at isa? port "IO_GAME"
753device cy0 at isa? tty irq 10 iomem 0xd4000 iosiz 0x2000 vector cyintr
754device dgb0 at isa? port 0x220 iomem 0xfc0000 iosiz ? tty
755device labpc0 at isa? port 0x260 tty irq 5 vector labpcintr
756device rc0 at isa? port 0x220 tty irq 12 vector rcintr
757# the port and irq for tw0 are fictitious
758device tw0 at isa? port 0x380 tty irq 11 vector twintr
759device si0 at isa? iomem 0xd0000 tty irq 12 vector siintr
760device asc0 at isa? port IO_ASC1 tty drq 3 irq 10 vector ascintr
761device bqu0 at isa? port 0x150
762
763#
764# EISA devices:
765#
766# The EISA bus device is eisa0. It provides auto-detection and
767# configuration support for all devices on the EISA bus.
768#
769# The `ahb' device provides support for the Adaptec 174X adapter.
770#
771# The `ahc' device provides support for the Adaptec 274X and 284X
772# adapters. The 284X, although a VLB card responds to EISA probes.
773#
774controller eisa0
775controller ahb0
776controller ahc0
777
778#
779# PCI devices:
780#
781# The main PCI bus device is `pci'. It provides auto-detection and
782# configuration support for all devices on the PCI bus, using either
783# configuration mode defined in the PCI specification.
784#
785# The `ahc' device provides support for the Adaptec 29/3940(U)(W)
786# and motherboard based AIC7870/AIC7880 adapters.
787#
788# The `ncr' device provides support for the NCR 53C810 and 53C825
789# self-contained SCSI host adapters.
790#
791# The `de' device provides support for the Digital Equipment DC21040
792# self-contained Ethernet adapter.
793#
794# The `vx' device provides support for the 3Com 3C590 and 3C595
795# early support
796#
797# The `fpa' device provides support for the Digital DEFPA PCI FDDI
798# adapter. pseudo-device fddi is also needed.
799#
800# The PROBE_VERBOSE option enables a long listing of chip set registers
801# for supported PCI chip sets (currently only intel Saturn and Mercury).
802#
803# The 'meteor' device is a PCI video capture board. It can also have the
804# following options:
805# options METEOR_ALLOC_PAGES=xxx preallocate kernel pages for data entry
806# figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE
807# options METEOR_DEALLOC_PAGES remove all allocated pages on close(2)
808# options METEOR_DEALLOC_ABOVE=xxx remove all allocated pages above the
809# specified amount. If this value is below the allocated amount no action
810# taken
811#
812controller pci0
813controller ahc1
814device ncr0
815device de0
816device fxp0
817device vx0
818device fpa0
819device meteor0
820options PROBE_VERBOSE
821
822
823#
824# PCCARD/PCMCIA
825#
826controller crd0
827controller pcic0 at crd?
828
829#
830# Laptop/Notebook options:
831#
832# See also:
745controller matcd0 at isa? port 0x230 bio
746device wt0 at isa? port 0x300 bio irq 5 drq 1 vector wtintr
747device ctx0 at isa? port 0x230 iomem 0xd0000
748device spigot0 at isa? port 0xad6 irq 15 iomem 0xee000 vector spigintr
749device apm0 at isa?
750device gp0 at isa? port 0x2c0 tty
751device gsc0 at isa? port "IO_GSC1" tty drq 3
752device joy0 at isa? port "IO_GAME"
753device cy0 at isa? tty irq 10 iomem 0xd4000 iosiz 0x2000 vector cyintr
754device dgb0 at isa? port 0x220 iomem 0xfc0000 iosiz ? tty
755device labpc0 at isa? port 0x260 tty irq 5 vector labpcintr
756device rc0 at isa? port 0x220 tty irq 12 vector rcintr
757# the port and irq for tw0 are fictitious
758device tw0 at isa? port 0x380 tty irq 11 vector twintr
759device si0 at isa? iomem 0xd0000 tty irq 12 vector siintr
760device asc0 at isa? port IO_ASC1 tty drq 3 irq 10 vector ascintr
761device bqu0 at isa? port 0x150
762
763#
764# EISA devices:
765#
766# The EISA bus device is eisa0. It provides auto-detection and
767# configuration support for all devices on the EISA bus.
768#
769# The `ahb' device provides support for the Adaptec 174X adapter.
770#
771# The `ahc' device provides support for the Adaptec 274X and 284X
772# adapters. The 284X, although a VLB card responds to EISA probes.
773#
774controller eisa0
775controller ahb0
776controller ahc0
777
778#
779# PCI devices:
780#
781# The main PCI bus device is `pci'. It provides auto-detection and
782# configuration support for all devices on the PCI bus, using either
783# configuration mode defined in the PCI specification.
784#
785# The `ahc' device provides support for the Adaptec 29/3940(U)(W)
786# and motherboard based AIC7870/AIC7880 adapters.
787#
788# The `ncr' device provides support for the NCR 53C810 and 53C825
789# self-contained SCSI host adapters.
790#
791# The `de' device provides support for the Digital Equipment DC21040
792# self-contained Ethernet adapter.
793#
794# The `vx' device provides support for the 3Com 3C590 and 3C595
795# early support
796#
797# The `fpa' device provides support for the Digital DEFPA PCI FDDI
798# adapter. pseudo-device fddi is also needed.
799#
800# The PROBE_VERBOSE option enables a long listing of chip set registers
801# for supported PCI chip sets (currently only intel Saturn and Mercury).
802#
803# The 'meteor' device is a PCI video capture board. It can also have the
804# following options:
805# options METEOR_ALLOC_PAGES=xxx preallocate kernel pages for data entry
806# figure (ROWS*COLUMN*BYTES_PER_PIXEL*FRAME+PAGE_SIZE-1)/PAGE_SIZE
807# options METEOR_DEALLOC_PAGES remove all allocated pages on close(2)
808# options METEOR_DEALLOC_ABOVE=xxx remove all allocated pages above the
809# specified amount. If this value is below the allocated amount no action
810# taken
811#
812controller pci0
813controller ahc1
814device ncr0
815device de0
816device fxp0
817device vx0
818device fpa0
819device meteor0
820options PROBE_VERBOSE
821
822
823#
824# PCCARD/PCMCIA
825#
826controller crd0
827controller pcic0 at crd?
828
829#
830# Laptop/Notebook options:
831#
832# See also:
833# apm under `Miscellaneous hardare'
833# apm under `Miscellaneous hardware'
834# options PSM_NO_RESET for the `psm' driver
835# above.
836
837# For older notebooks that signal a powerfail condition (external
838# power supply dropped, or battery state low) by issuing an NMI:
839
840options POWERFAIL_NMI # make it beep instead of panicing
841
842# More undocumented options for linting.
843
844options APM_SLOWSTART=1
845options COMPAT_LINUX
846options DEBUG
847options "EXT2FS"
848options "IBCS2"
849options LINUX
850options "SCSI_2_DEF"
851options SHOW_BUSYBUFS # List buffers that prevent root unmount
834# options PSM_NO_RESET for the `psm' driver
835# above.
836
837# For older notebooks that signal a powerfail condition (external
838# power supply dropped, or battery state low) by issuing an NMI:
839
840options POWERFAIL_NMI # make it beep instead of panicing
841
842# More undocumented options for linting.
843
844options APM_SLOWSTART=1
845options COMPAT_LINUX
846options DEBUG
847options "EXT2FS"
848options "IBCS2"
849options LINUX
850options "SCSI_2_DEF"
851options SHOW_BUSYBUFS # List buffers that prevent root unmount