GENERIC revision 1.502
1# $NetBSD: GENERIC,v 1.502 2002/07/22 11:06:00 wiz Exp $
2#
3# GENERIC machine description file
4# 
5# This machine description file is used to generate the default NetBSD
6# kernel.  The generic kernel does not include all options, subsystems
7# and device drivers, but should be useful for most applications.
8#
9# The machine description file can be customised for your specific
10# machine to reduce the kernel size and improve its performance.
11#
12# For further information on compiling NetBSD kernels, see the config(8)
13# man page.
14#
15# For further information on hardware support for this architecture, see
16# the intro(4) man page.  For further information about kernel options
17# for this architecture, see the options(4) man page.  For an explanation
18# of each device driver in this file see the section 4 man page for the
19# device.
20
21include 	"arch/i386/conf/std.i386"
22
23options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
24
25#ident 		"GENERIC-$Revision: 1.502 $"
26
27maxusers	32		# estimated number of users
28
29# CPU support.  At least one is REQUIRED.
30options 	I386_CPU
31options 	I486_CPU
32options 	I586_CPU
33options 	I686_CPU
34
35# CPU-related options.
36options 	MATH_EMULATE	# floating point emulation
37options 	VM86		# virtual 8086 emulation
38options 	USER_LDT	# user-settable LDT; used by WINE
39# eliminate delay no-ops in I/O; recommended on all but very old machines
40#options 	DUMMY_NOPS
41
42options 	MTRR		# memory-type range register syscall support
43options 	PERFCTRS	# performance-monitoring counters support
44
45# delay between "rebooting ..." message and hardware reset, in milliseconds
46#options 	CPURESET_DELAY=2000
47
48# This option allows you to force a serial console at the specified
49# I/O address.   see console(4) for details.
50#options 	CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600
51#	you don't want the option below ON iff you are using the
52#	serial console option of the new boot strap code.
53#options 	CONS_OVERRIDE	# Always use above! independent of boot info
54
55# The following options override the memory sizes passed in from the boot
56# block.  Use them *only* if the boot block is unable to determine the correct
57# values.  Note that the BIOS may *correctly* report less than 640k of base
58# memory if the extended BIOS data area is located at the top of base memory
59# (as is the case on most recent systems).
60#options 	REALBASEMEM=639		# size of base memory (in KB)
61#options 	REALEXTMEM=15360	# size of extended memory (in KB)
62
63# Standard system options
64
65options 	UCONSOLE	# users can use TIOCCONS (for xconsole)
66options 	INSECURE	# disable kernel security levels
67
68options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
69options 	NTP		# NTP phase/frequency locked loop
70
71options 	KTRACE		# system call tracing via ktrace(1)
72options 	SYSTRACE	# system call vetting via systrace(1)
73
74options 	SYSVMSG		# System V-like message queues
75options 	SYSVSEM		# System V-like semaphores
76#options 	SEMMNI=10	# number of semaphore identifiers
77#options 	SEMMNS=60	# number of semaphores in system
78#options 	SEMUME=10	# max number of undo entries per process
79#options 	SEMMNU=30	# number of undo structures in system
80options 	SYSVSHM		# System V-like memory sharing
81#options 	SHMMAXPGS=2048	# 2048 pages is the default
82
83options 	LKM		# loadable kernel modules
84
85#options 	USERCONF	# userconf(4) support
86#options 	PIPE_SOCKETPAIR	# smaller, but slower pipe(2)
87
88# Diagnostic/debugging support options
89#options 	DIAGNOSTIC	# expensive kernel consistency checks
90#options 	DEBUG		# expensive debugging checks/support
91#options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
92options 	DDB		# in-kernel debugger
93options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
94#options 	KGDB		# remote debugger
95#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600
96#makeoptions	DEBUG="-g"	# compile full symbol table
97
98# Compatibility options
99options 	COMPAT_NOMID	# compatibility with 386BSD, BSDI, NetBSD 0.8,
100options 	COMPAT_09	# NetBSD 0.9,
101options 	COMPAT_10	# NetBSD 1.0,
102options 	COMPAT_11	# NetBSD 1.1,
103options 	COMPAT_12	# NetBSD 1.2,
104options 	COMPAT_13	# NetBSD 1.3,
105options 	COMPAT_14	# NetBSD 1.4,
106options 	COMPAT_15	# NetBSD 1.5,
107options 	COMPAT_43	# and 4.3BSD
108options 	COMPAT_386BSD_MBRPART # recognize old partition ID
109#options 	TCP_COMPAT_42	# 4.2BSD TCP/IP bug compat. Not recommended.
110
111options 	COMPAT_SVR4	# binary compatibility with SVR4
112options 	COMPAT_IBCS2	# binary compatibility with SCO and ISC
113options 	COMPAT_LINUX	# binary compatibility with Linux
114options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
115#options 	COMPAT_MACH	# binary compatibility with Mach binaries
116#options 	EXEC_MACHO	# exec MACH-O binaries
117#options 	COMPAT_PECOFF	# kernel support to run Win32 apps
118
119# File systems
120file-system 	FFS		# UFS
121file-system 	EXT2FS		# second extended file system (linux)
122file-system 	LFS		# log-structured file system
123file-system 	MFS		# memory file system
124file-system 	NFS		# Network File System client
125file-system 	NTFS		# Windows/NT file system (experimental)
126file-system 	CD9660		# ISO 9660 + Rock Ridge file system
127file-system 	MSDOSFS		# MS-DOS file system
128file-system 	FDESC		# /dev/fd
129file-system 	KERNFS		# /kern
130file-system 	NULLFS		# loopback file system
131file-system 	OVERLAY		# overlay file system
132file-system 	PORTAL		# portal filesystem (still experimental)
133file-system 	PROCFS		# /proc
134file-system 	UMAPFS		# NULLFS + uid and gid remapping
135file-system 	UNION		# union file system
136file-system	CODA		# Coda File System; also needs vcoda (below)
137
138# File system options
139options 	QUOTA		# UFS quotas
140#options 	FFS_EI		# FFS Endian Independent support
141options 	SOFTDEP		# FFS soft updates support.
142options 	NFSSERVER	# Network File System server
143#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
144				# immutable) behave as system flags.
145
146# Networking options
147#options 	GATEWAY		# packet forwarding
148options 	INET		# IP + ICMP + TCP + UDP
149options 	INET6		# IPV6
150#options 	IPSEC		# IP security
151#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
152#options 	IPSEC_DEBUG	# debug for IP security
153#options 	MROUTING	# IP multicast routing
154options 	NS		# XNS
155#options 	NSIP		# XNS tunneling over IP
156options 	ISO,TPIP	# OSI
157#options 	EON		# OSI tunneling over IP
158options 	CCITT,LLC,HDLC	# X.25
159options 	NETATALK	# AppleTalk networking protocols
160options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
161options 	PPP_DEFLATE	# Deflate compression support for PPP
162options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
163options 	PFIL_HOOKS	# pfil(9) packet filter hooks
164options 	IPFILTER_LOG	# ipmon(8) log support
165#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
166
167# These options enable verbose messages for several subsystems.
168# Warning, these may compile large string tables into the kernel!
169options 	EISAVERBOSE	# verbose EISA device autoconfig messages
170options 	MIIVERBOSE	# verbose PHY autoconfig messages
171options 	PCIVERBOSE	# verbose PCI device autoconfig messages
172#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
173#options 	PCMCIAVERBOSE	# verbose PCMCIA configuration messages
174options 	SCSIVERBOSE	# human readable SCSI error messages
175options 	USBVERBOSE	# verbose USB device autoconfig messages
176#options 	PNPBIOSVERBOSE	# verbose PnP BIOS messages
177#options 	PNPBIOSDEBUG	# more fulsome PnP BIOS debugging messages
178options 	I2OVERBOSE	# verbose I2O driver messages
179options 	MCAVERBOSE	# verbose MCA device autoconfig messages
180
181options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
182
183#
184# wscons options
185#
186# builtin terminal emulations
187#options 	WSEMUL_SUN		# sun terminal emulation
188options 	WSEMUL_VT100		# VT100 / VT220 emulation
189# different kernel output - see dev/wscons/wsdisplayvar.h
190options 	WS_KERNEL_FG=WSCOL_GREEN
191#options 	WS_KERNEL_BG=WSCOL_BLACK
192# compatibility to other console drivers
193options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
194options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
195options 	WSDISPLAY_COMPAT_USL		# VT handling
196options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
197# see dev/pckbc/wskbdmap_mfii.c for implemented layouts
198#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
199# allocate a number of virtual screens at autoconfiguration time
200#options 	WSDISPLAY_DEFAULTSCREENS=4
201# use a large software cursor that doesn't blink
202options 	PCDISPLAY_SOFTCURSOR
203# modify the screen type of the console; defaults to "80x25"
204#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
205# work around a hardware bug that loaded fonts don't work; found on ATI cards
206#options 	VGA_CONSOLE_ATI_BROKEN_FONTSEL
207# the following enables some functions to get mouse console support.
208# if you want a really secure system, it may be better not to enable them,
209# see wsmoused(8), section SECURITY CONSIDERATIONS for more info.
210#options 	WSDISPLAY_CHARFUNCS		# mouse console support
211
212# Kernel root file system and dump configuration.
213config		netbsd	root on ? type ?
214#config		netbsd	root on sd0a type ffs
215#config		netbsd	root on ? type nfs
216
217#
218# Device configuration
219#
220
221mainbus0 at root
222
223#apm0	at mainbus0			# Advanced power management
224
225# Tuning for power management, see apm(4) for more details.
226#options 	APM_NO_IDLE		# Don't call BIOS CPU idle function
227#options 	APM_V10_ONLY		# Use only the APM 1.0 calls
228#options 	APM_NO_POWEROFF		# Don't power off on halt(8)
229#options 	APM_POWER_PRINT		# Print stats on the console
230#options 	APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts
231
232
233# Basic Bus Support
234
235# Plug-and-Play BIOS and attached devices
236
237#pnpbios*	at mainbus?
238
239# mainboard audio chips
240#ess*		at pnpbios? index ?	# ESS AudioDrive
241#sb*		at pnpbios? index ?	# NeoMagic 256AV in sb mode
242#wss*		at pnpbios? index ?	# NeoMagic 256AV in wss mode
243#ym*		at pnpbios? index ?	# OPL3-SA3
244
245# com port
246# If enabled, consider changing "com0", "com1", and "com2" under "ISA Serial
247# Interfaces" to "com*", otherwise com2 will attach at pnpbios? and there
248# will be no com0.  A side effect is pcmcia (and other) com? previously
249# starting at com3 may attach as com1 or com2.
250#com*		at pnpbios? index ?	# serial ports
251
252# parallel port
253# The above "com*" comments apply, cf. "lpt0" under "ISA parallel
254# "printer interfaces".
255#lpt*		at pnpbios? index ?	# parallel ports
256
257#pckbc*		at pnpbios? index ?	# PC keyboard/mouse controller
258#fdc*		at pnpbios? index ?	# floppy controller
259
260# IDE controller on Toshiba Portege 3000 series (crippled PCI device)
261#pciide*	at pnpbios? index ?
262
263# PCI bus support
264pci*	at mainbus? bus ?
265pci*	at pchb? bus ?
266pci*	at ppb? bus ?
267
268# Configure PCI using BIOS information
269#options 	PCIBIOS			# PCI BIOS support
270#options 	PCIBIOSVERBOSE		# PCI BIOS verbose info
271#options 	PCIBIOS_ADDR_FIXUP	# fixup PCI I/O addresses
272#options 	PCIBIOS_BUS_FIXUP	# fixup PCI bus numbering
273#options 	PCIBIOS_INTR_FIXUP	# fixup PCI interrupt routing
274#options 	PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11
275#options 	PCIBIOS_INTR_GUESS	# see pcibios(4)
276#options 	PCIINTR_DEBUG		# super-verbose PCI interrupt fixup
277
278# PCI bridges
279pchb*	at pci? dev ? function ?	# PCI-Host bridges
280pceb*	at pci? dev ? function ?	# PCI-EISA bridges
281pcib*	at pci? dev ? function ?	# PCI-ISA bridges
282pcmb*	at pci? dev ? function ?	# PCI-MCA bridges
283ppb*	at pci? dev ? function ?	# PCI-PCI bridges
284# XXX 'puc's aren't really bridges, but there's no better place for them here
285puc*	at pci? dev ? function ?	# PCI "universal" comm. cards
286
287agp* 	at pchb?
288
289# EISA bus support
290eisa0	at mainbus?
291eisa0	at pceb?
292
293# ISA bus support
294isa0	at mainbus?
295isa0	at pceb?
296isa0	at pcib?
297
298# PCMCIA bus support
299pcmcia*	at pcic? controller ? socket ?
300pcmcia*	at tcic? controller ? socket ?
301
302# MCA bus support
303mca0	at mainbus?
304
305# ISA PCMCIA controllers
306pcic0	at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000
307pcic1	at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000
308pcic2	at isa? port 0x3e4 iomem 0xe0000 iosiz 0x4000
309tcic0	at isa? port 0x240 iomem 0xd0000 iosiz 0x10000
310
311# PCI PCMCIA controllers
312pcic0	at pci? dev? function ?
313
314# ISA Plug-and-Play bus support
315isapnp0	at isa?
316
317# ISA Plug-and-Play PCMCIA controllers
318pcic*	at isapnp?
319
320# CardBus bridge support
321#cbb*		at pci? dev ? function ?
322#cardslot*	at cbb?
323
324# CardBus bus support
325#cardbus*	at cardslot?
326#pcmcia* 	at cardslot?
327
328# Coprocessor Support
329
330# Math Coprocessor support
331npx0	at isa? port 0xf0 irq 13	# x86 math coprocessor
332
333
334# Console Devices
335
336# ISA console
337#pc0	at isa? port 0x60 irq 1		# pccons generic PC console driver
338# Keyboard layout configuration for pccons
339#options 	FRENCH_KBD
340#options 	FINNISH_KBD
341#options 	GERMAN_KBD
342#options 	NORWEGIAN_KBD
343# pccons-specific options:
344#options 	XSERVER_DDB	# PF12 gets you into DDB when X is running
345#options 	XSERVER		# X server support
346
347
348# wscons
349pckbc0		at isa?			# pc keyboard controller
350pckbd*		at pckbc?		# PC keyboard
351pms*		at pckbc?		# PS/2 mouse for wsmouse
352#options 	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
353vga0		at isa?
354vga*		at pci? dev ? function ?
355pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
356wsdisplay*	at vga? console ?
357wsdisplay*	at pcdisplay? console ?
358wskbd*		at pckbd? console ?
359wsmouse*	at pms? mux 0
360
361pcppi0		at isa?
362sysbeep0	at pcppi?
363
364# Serial Devices
365
366# PCI serial interfaces
367com*	at puc? port ?			# 16x50s on "universal" comm boards
368cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
369cz*	at pci? dev ? function ?	# Cyclades-Z multi-port serial boards
370
371# ISA Plug-and-Play serial interfaces
372com*	at isapnp?			# Modems and serial boards
373
374# PCMCIA serial interfaces
375com*	at pcmcia? function ?		# Modems and serial cards
376
377pcmcom*	at pcmcia? function ?		# PCMCIA multi-port serial cards
378com*	at pcmcom? slave ?		# ...and the slave devices
379
380# CardBus serial interfaces
381#com*	at cardbus? dev ? function ?	# Modems and serial cards
382
383# ISA serial interfaces
384#options 	COM_HAYESP		# adds Hayes ESP serial board support
385com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
386com1	at isa? port 0x2f8 irq 3
387com2	at isa? port 0x3e8 irq 5
388#com3	at isa? port 0x2e8 irq 9
389#ast0	at isa? port 0x1a0 irq 5	# AST 4-port serial cards
390#com*	at ast? slave ?
391#boca0	at isa? port 0x100 irq 5	# BOCA 8-port serial cards
392#boca0	at isa? port 0x100 irq 5	# BOCA 16-port serial cards (BB2016)
393#boca1	at isa? port 0x140 irq 5	# this line is also needed for BB2016
394#com*	at boca? slave ?
395#tcom0	at isa? port 0x100 irq 7	# TC-800 8-port serial cards
396#com*	at tcom? slave ?
397#rtfps0	at isa? port 0x1230 irq 10	# RT 4-port serial cards
398#com*	at rtfps? slave ?
399#cy0	at isa? iomem 0xd4000 irq 12	# Cyclades serial cards
400#addcom0 at isa? port 0x108 irq 5	# Addonics FlexPort 8S
401#com*	at addcom? slave ?
402#moxa0	at isa?	port 0x100 irq 5	# MOXA C168H serial card (experimental)
403#com*	at moxa? slave ?
404
405# MCA serial interfaces
406com*	at mca? slot ?			# 16x50s on comm boards
407
408# Parallel Printer Interfaces
409
410# PCI parallel printer interfaces
411lpt*	at puc? port ?			# || ports on "universal" comm boards
412
413# ISA parallel printer interfaces
414lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
415lpt1	at isa? port 0x278
416lpt2	at isa? port 0x3bc
417
418# Hardware monitors
419
420# LM7[89] and compatible hardware monitors
421#lm0	at isa?	port 0x290		# other common ports: 0x280, 0x310
422
423# VIA VT82C686A hardware monitor
424#viapm*	at pci? dev ? function ?
425#viaenv* at viapm?
426
427
428# I2O devices
429iop*	at pci? dev ? function ?	# I/O processor
430iopsp*	at iop? tid ?			# SCSI/FC-AL ports
431ld*	at iop? tid ?			# block devices
432dpti*	at iop? tid 0			# DPT/Adaptec control interface
433
434
435# SCSI Controllers and Devices
436
437# PCI SCSI controllers
438adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
439adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
440ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
441bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
442dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
443iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
444isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
445mly*	at pci? dev ? function ?	# Mylex AcceleRAID and eXtremeRAID
446pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
447siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
448#options 	SIOP_SYMLED		# drive the act. LED in software
449trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
450
451# EISA SCSI controllers
452ahb*	at eisa? slot ?			# Adaptec 174[02] SCSI
453ahc*	at eisa? slot ?			# Adaptec 274x, aic7770 SCSI
454bha*	at eisa? slot ?			# BusLogic 7xx SCSI
455dpt*	at eisa? slot ?			# DPT EATA SCSI
456uha*	at eisa? slot ?			# UltraStor 24f SCSI
457
458# PCMCIA SCSI controllers
459aic*	at pcmcia? function ?		# Adaptec APA-1460 SCSI
460esp*	at pcmcia? function ?		# Qlogic ESP406/FAS408 SCSI
461
462# ISA Plug-and-Play SCSI controllers
463aha*	at isapnp? 			# Adaptec AHA-154[02
464aic*	at isapnp?			# Adaptec AHA-1520B
465
466# ISA SCSI controllers
467adv0	at isa? port ? irq ? drq ?	# AdvanSys APB-514[02] SCSI
468aha0	at isa? port 0x330 irq ? drq ?	# Adaptec 154[02] SCSI
469aha1	at isa? port 0x334 irq ? drq ?
470ahc0	at isa? port ? irq ?		# Adaptec 284x SCSI
471aic0	at isa? port 0x340 irq 11	# Adaptec 152[02] SCSI
472bha0	at isa? port 0x330 irq ? drq ?	# BusLogic [457]4X SCSI
473bha1	at isa? port 0x334 irq ? drq ?
474# The "nca" and "dpt" probes might give false hits or hang your machine.
475#dpt0	at isa? port 0x170 irq ? drq ?	# DPT SmartCache/SmartRAID
476#nca0	at isa? port 0x360 irq 15	# Port-mapped NCR 53C80 controller
477#nca1	at isa? iomem 0xd8000 irq 5	# Memory-mapped controller (T128, etc.)
478sea0	at isa? iomem 0xc8000 irq 5	# Seagate/Future Domain SCSI
479uha0	at isa? port 0x330 irq ? drq ?	# UltraStor [13]4f SCSI
480uha1	at isa? port 0x340 irq ? drq ?
481wds0	at isa? port 0x350 irq 15 drq 6	# WD7000 and TMC-7000 controllers
482wds1	at isa? port 0x358 irq 11 drq 5
483
484# CardBus SCSI cards
485#adv*	at cardbus? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
486#ahc*	at cardbus? dev ? function ?	# Adaptec ADP-1480
487
488# MCA SCSI cards
489aha*	at mca? slot ?			# Adaptec AHA-1640
490
491# SCSI bus support
492scsibus* at scsi?
493
494# SCSI devices
495sd*	at scsibus? target ? lun ?	# SCSI disk drives
496st*	at scsibus? target ? lun ?	# SCSI tape drives
497cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
498ch*	at scsibus? target ? lun ?	# SCSI autochangers
499ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
500ss*	at scsibus? target ? lun ?	# SCSI scanners
501uk*	at scsibus? target ? lun ?	# SCSI unknown
502
503
504# RAID controllers and devices
505aac*	at pci? dev ? function ?	# Adaptec AAC family
506cac*	at eisa? slot ?			# Compaq EISA array controllers
507cac*	at pci? dev ? function ?	# Compaq PCI array controllers
508icp*	at pci? dev ? function ?	# ICP-Vortex GDT & Intel RAID
509mlx*	at pci? dev ? function ?	# Mylex DAC960 & DEC SWXCR family
510mlx*	at eisa? slot ?			# Mylex DAC960 & DEC SWXCR family
511twe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
512
513ld*	at aac? unit ?			# logical disk devices
514ld*	at cac? unit ?
515ld*	at icp? unit ?
516ld*	at twe? unit ?
517ld*	at mlx? unit ?
518
519icpsp*	at icp? unit ?			# SCSI pass-through
520
521# IDE and related devices
522# PCI IDE controllers - see pciide(4) for supported hardware.
523# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
524# how to set up DMA modes for this chip. This may work, or may cause
525# a machine hang with some controllers.
526pciide* at pci? dev ? function ? flags 0x0000
527
528# ISA Plug-and-Play IDE controllers
529wdc*	at isapnp?
530
531# PCMCIA IDE controllers
532wdc*	at pcmcia? function ?
533
534# ISA ST506, ESDI, and IDE controllers
535# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will
536# fall back to 16bits I/O if 32bits I/O are not functional).
537# Some controllers pass the initial 32bit test, but will fail later.
538wdc0	at isa? port 0x1f0 irq 14 flags 0x00
539wdc1	at isa? port 0x170 irq 15 flags 0x00
540
541# IDE drives
542# Flags are used only with controllers that support DMA operations
543# and mode settings (e.g. some pciide controllers)
544# The lowest order four bits (rightmost digit) of the flags define the PIO
545# mode to use, the next set of four bits the DMA mode and the third set the
546# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
547# to use, and the last bit must be 1 for this setting to be used.
548# For DMA and UDMA, 0xf (1111) means 'disable'.
549# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
550# (0xc=1100, 0xa=1010, 0xf=1111)
551# 0x0000 means "use whatever the drive claims to support".
552wd*	at wdc? channel ? drive ? flags 0x0000
553wd*	at pciide? channel ? drive ? flags 0x0000
554
555# ATAPI bus support
556atapibus* at atapi?
557
558# ATAPI devices
559# flags have the same meaning as for IDE drives.
560cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
561sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
562st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
563uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
564
565
566# Miscellaneous mass storage devices
567
568# ISA floppy
569fdc0	at isa? port 0x3f0 irq 6 drq 2	# standard PC floppy controllers
570#fdc1	at isa? port 0x370 irq ? drq ?
571fd*	at fdc? drive ?			# the drives themselves
572# some machines need you to do this instead of fd*
573#fd0	at fdc0 drive 0
574
575# ISA CD-ROM devices
576#mcd0	at isa? port 0x300 irq 10	# Mitsumi CD-ROM drives
577
578# ISA tape devices
579# note: the wt driver conflicts unpleasantly with SMC boards at the
580# same I/O address. The probe reprograms their EEPROMs. Don't
581# uncomment it unless you are actually using it.
582#wt0	at isa? port 0x308 irq 5 drq 1	# Archive and Wangtek QIC tape drives
583
584# MCA ESDI devices
585edc*	at mca? slot ?			# IBM ESDI Disk Controllers
586ed*	at edc?
587
588
589# Network Interfaces
590
591# PCI network interfaces
592an*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11)
593bge* 	at pci? dev ? function ?	# Broadcom 570x gigabit Ethernet
594en*	at pci? dev ? function ?	# ENI/Adaptec ATM
595ep*	at pci? dev ? function ?	# 3Com 3c59x
596epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
597esh*	at pci? dev ? function ?	# Essential HIPPI card
598ex*	at pci? dev ? function ?	# 3Com 90x[BC]
599fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
600fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
601gsip*	at pci? dev ? function ?	# NS83820 Gigabit Ethernet
602#hme*	at pci? dev ? function ?	# Sun Microelectronics STP2002-STQ
603le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
604lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
605ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
606ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
607pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
608rtk*	at pci? dev ? function ?	# Realtek 8129/8139
609sf*	at pci? dev ? function ?	# Adaptec AIC-6915 Ethernet
610sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
611ste*	at pci? dev ? function ?	# Sundance ST-201 Ethernet
612stge*	at pci? dev ? function ?	# Sundance/Tamarack TC9021 Gigabit
613ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
614tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
615tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
616vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
617wi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
618wm*	at pci? dev ? function ?	# Intel 82543/82544 gigabit
619
620# EISA network interfaces
621ep*	at eisa? slot ?			# 3Com 3c579 Ethernet
622fea*	at eisa? slot ?			# DEC DEFEA FDDI
623tlp*	at eisa? slot ?			# DEC DE-425 Ethernet
624
625# ISA Plug-and-Play network interfaces
626an*	at isapnp?			# Aironet 802.11
627ep*	at isapnp?			# 3Com 3c509 Ethernet
628ne*	at isapnp?			# NE2000-compatible Ethernet
629tr*	at isapnp?			# IBM/3COM TROPIC Token-Ring
630
631# PCMCIA network interfaces
632an*	at pcmcia? function ?		# Aironet PC4500/PC4800 (802.11)
633awi*	at pcmcia? function ?		# BayStack 650/660 (802.11FH/DS)
634cnw*	at pcmcia? function ?		# Xircom/Netwave AirSurfer
635ep*	at pcmcia? function ?		# 3Com 3c589 and 3c562 Ethernet
636mbe*	at pcmcia? function ?		# MB8696x based Ethernet
637ne*	at pcmcia? function ?		# NE2000-compatible Ethernet
638ray*	at pcmcia? function ?		# Raytheon Raylink (802.11)
639sm*	at pcmcia? function ?		# Megahertz Ethernet
640# tr at pcmcia has problems with Cardbus bridges
641#tr*	at pcmcia? function ?		# TROPIC based Token-Ring
642wi*	at pcmcia? function ?		# Lucent WaveLan IEEE (802.11)
643xi*	at pcmcia? function ?		# Xircom CreditCard Ethernet
644
645mhzc*	at pcmcia? function ?		# Megahertz Ethernet/Modem combo cards
646com*	at mhzc?
647sm*	at mhzc?
648
649# ISA network interfaces
650ate0	at isa? port 0x2a0 irq ?		# AT1700
651cs0	at isa? port 0x300 iomem ? irq ? drq ?	# CS8900 Ethernet
652ec0	at isa? port 0x250 iomem 0xd8000 irq 9	# 3Com 3c503 Ethernet
653eg0	at isa? port 0x280 irq 9		# 3C505 ethernet cards
654el0	at isa? port 0x300 irq 9		# 3C501 ethernet cards
655ep*	at isa? port ? irq ?			# 3C509 ethernet cards
656ef0	at isa? port 0x360 iomem 0xd0000 irq 7	# 3C507
657ai0	at isa? port 0x360 iomem 0xd0000 irq 7	# StarLAN
658fmv0	at isa? port 0x2a0 irq ?		# FMV-180 series
659ix0	at isa? port 0x300 irq 10		# EtherExpress/16
660iy0	at isa? port 0x360 irq ?		# EtherExpress PRO 10 ISA
661lc0	at isa? port 0x320 iomem ? irq ?	# DEC EtherWORKS III (LEMAC)
662#depca0	at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5	# DEPCA
663#le*	at depca?
664nele0	at isa? port 0x320 irq 9 drq 7		# NE2100
665le*	at nele?
666#ntwoc0	at isa? port 0x300 irq 5 iomem 0xc8000 flags 1	# Riscom/N2 sync serial
667bicc0	at isa? port 0x320 irq 10 drq 7		# BICC IsoLan
668le*	at bicc?
669ne0	at isa? port 0x280 irq 9		# NE[12]000 ethernet cards
670ne1	at isa? port 0x300 irq 10
671sm0	at isa? port 0x300 irq 10		# SMC91C9x Ethernet
672tr0	at isa? port 0xa20 iomem 0xd8000 irq ?	# IBM TROPIC based Token-Ring
673tr1	at isa? port 0xa24 iomem 0xd0000 irq ?	# IBM TROPIC based Token-Ring
674tr*	at isa? port ? irq ?			# 3COM TROPIC based Token-Ring
675we0	at isa? port 0x280 iomem 0xd0000 irq 9	# WD/SMC Ethernet
676we1	at isa? port 0x300 iomem 0xcc000 irq 10
677
678# CardBus network cards
679#ex*	at cardbus? dev ? function ?	# 3Com 3C575TX
680#fxp*	at cardbus? dev ? function ?	# Intel i8255x
681#rtk*	at cardbus? dev ? function ?	# Realtek 8129/8139
682#tlp*	at cardbus? dev ? function ?	# DECchip 21143
683
684# MCA network cards
685elmc*	at mca? slot ?			# 3Com EtherLink/MC (3c523)
686ep*	at mca? slot ?			# 3Com EtherLink III (3c529)
687we*	at mca? slot ?			# WD/SMC Ethernet
688ate*	at mca? slot ?			# Allied Telesis AT1720
689ne*	at mca? slot ?			# Novell NE/2 and clones
690tr*	at mca? slot ?			# IBM Token Ring adapter
691le*	at mca? slot ?			# SKNET Personal/MC2+
692
693# MII/PHY support
694acphy*	at mii? phy ?			# DAltima AC101 and AMD Am79c874 PHYs
695amhphy*	at mii? phy ?			# AMD 79c901 Ethernet PHYs
696bmtphy*	at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
697brgphy*	at mii? phy ?			# Broadcom BCM5400-family PHYs
698dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
699exphy*	at mii? phy ?			# 3Com internal PHYs
700glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
701gphyter* at mii? phy ?			# NS83861 Gig-E PHY
702icsphy*	at mii? phy ?			# Integrated Circuit Systems ICS189x
703inphy*	at mii? phy ?			# Intel 82555 PHYs
704iophy*	at mii? phy ?			# Intel 82553 PHYs
705lxtphy*	at mii? phy ?			# Level One LXT-970 PHYs
706makphy*	at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
707nsphy*	at mii? phy ?			# NS83840 PHYs
708nsphyter* at mii? phy ?			# NS83843 PHYs
709pnaphy*	at mii? phy ?			# generic HomePNA PHYs
710qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
711sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
712tlphy*	at mii? phy ?			# ThunderLAN PHYs
713tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
714ukphy*	at mii? phy ?			# generic unknown PHYs
715urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
716
717
718# USB Controller and Devices
719
720# PCI USB controllers
721# The EHCI is not ready for prime time.
722#ehci*	at pci?	dev ? function ?	# Enhanced Host Controller
723ohci*	at pci?	dev ? function ?	# Open Host Controller
724uhci*	at pci?	dev ? function ?	# Universal Host Controller (Intel)
725
726# CardBus USB controllers
727#ehci*	at cardbus? dev ? function ?	# Enhanced Host Controller
728#ohci*	at cardbus? dev ? function ?	# Open Host Controller
729
730# USB bus support
731#usb*	at ehci?
732usb*	at ohci?
733usb*	at uhci?
734
735# USB Hubs
736uhub*	at usb?
737uhub*	at uhub? port ? configuration ? interface ?
738
739# USB HID device
740uhidev*	at uhub? port ? configuration ? interface ?
741
742# USB Mice
743ums*	at uhidev? reportid ?
744wsmouse* at ums? mux 0
745
746# USB Keyboards
747ukbd*	at uhidev? reportid ?
748wskbd*	at ukbd? console ? mux 1
749
750# USB Generic HID devices
751uhid*	at uhidev? reportid ?
752
753# USB Printer
754ulpt*	at uhub? port ? configuration ? interface ?
755
756# USB Modem
757umodem*	at uhub? port ? configuration ?
758ucom*	at umodem?
759
760# USB Mass Storage
761umass*	at uhub? port ? configuration ? interface ?
762#wd* at umass?
763
764# USB audio
765uaudio*	at uhub? port ? configuration ?
766
767# USB MIDI
768umidi* at uhub? port ? configuration ?
769
770# USB IrDA
771# USB-IrDA bridge spec
772uirda* at uhub? port ? configuration ? interface ?
773irframe* at uirda?
774
775# SigmaTel STIr4200 USB/IrDA Bridge
776ustir* at uhub? port ?
777irframe* at ustir?
778
779# USB Ethernet adapters
780aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
781cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
782kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
783url*	at uhub? port ?		# Realtek RTL8150L based adapters
784
785# Prolific PL2301/PL2302 host-to-host adapter
786upl*	at uhub? port ?
787
788# Serial adapters
789uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
790ucom*	at uftdi? portno ?
791
792umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
793ucom*	at umct? portno ?
794
795uplcom*	at uhub? port ?		# I/O DATA USB-RSAQ2 serial adapter
796ucom*	at uplcom? portno ?
797
798uvscom*	at uhub? port ?		# SUNTAC Slipper U VS-10U serial adapter
799ucom*	at uvscom? portno ?
800
801# Diamond Multimedia Rio 500
802urio*	at uhub? port ?
803
804# USB Handspring Visor
805uvisor*	at uhub? port ?
806ucom*	at uvisor?
807
808# USB scanners
809uscanner* at uhub? port ?
810
811# USB scanners that use SCSI emulation, e.g., HP5300
812usscanner* at uhub? port ?
813
814# Y@P firmware loader
815uyap* at uhub? port ?
816
817# D-Link DSB-R100 USB radio
818udsbr*	at uhub? port ?
819radio*	at udsbr?
820
821# USB Generic driver
822ugen*	at uhub? port ?
823
824
825# IrDA and Consumer Ir devices
826
827# Toshiba Oboe
828oboe* 	at pci? dev ? function ?
829irframe* at oboe?
830
831
832# Audio Devices
833
834# PCI audio devices
835auich*	at pci? dev ? function ?	# Intel ICH integrated AC'97 Audio
836autri*	at pci? dev ? function ?	# Trident 4DWAVE based AC'97 Audio
837auvia*	at pci? dev ? function ?	# VIA VT82C686A integrated AC'97 Audio
838clcs*	at pci? dev ? function ?	# Cirrus Logic CS4280
839clct*	at pci? dev ? function ?	# Cirrus Logic CS4281
840cmpci*	at pci? dev ? function ?	# C-Media CMI8338/8738
841eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
842emuxki*	at pci? dev ? function ?	# Creative SBLive! and PCI512
843esa*	at pci? dev ? function ?	# ESS Allegro-1 / Maestro-3 PCI Audio
844esm*	at pci? dev ? function ?	# ESS Maestro-1/2/2e PCI Audio Accelerator
845eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
846fms*	at pci? dev ? function ?	# Forte Media FM801
847neo*	at pci? dev ? function ?	# NeoMagic 256 AC'97 Audio
848sv*	at pci? dev ? function ?	# S3 SonicVibes
849yds*	at pci? dev ? function ?	# Yamaha DS-1 PCI Audio
850
851# ISA Plug-and-Play audio devices
852ess*	at isapnp?			# ESS Tech ES1887, ES1888, ES888 audio
853guspnp*	at isapnp?			# Gravis Ultra Sound PnP audio
854sb*	at isapnp?			# SoundBlaster-compatible audio
855wss*	at isapnp?			# Windows Sound System
856ym*	at isapnp?			# Yamaha OPL3-SA3 audio
857
858# ISA audio devices
859# the "aria" probe might give false hits
860#aria0	at isa? port 0x290 irq 10 		# Aria
861#ess0	at isa? port 0x220 irq 5 drq 1 drq2 5	# ESS 18XX
862gus0	at isa? port 0x220 irq 7 drq 1 drq2 6	# Gravis Ultra Sound
863pas0	at isa? port 0x220 irq 7 drq 1		# ProAudio Spectrum
864#pss0	at isa? port 0x220 irq 7 drq 6		# Personal Sound System
865#sp0	at pss0 port 0x530 irq 10 drq 0		# 	sound port driver
866sb0	at isa? port 0x220 irq 5 drq 1 drq2 5	# SoundBlaster
867wss0	at isa? port 0x530 irq 10 drq 0	drq2 1	# Windows Sound System
868
869# PCMCIA audio devices
870#esl*	at pcmcia? function ?			# ESS 1688 AudioDrive
871
872#cms0	at isa? port 0x220			# Creative Music System
873
874# OPL[23] FM synthesizers
875#opl0	at isa? port 0x388	# use only if not attached to sound card
876opl*	at cmpci? flags 1
877#opl*	at esl?
878opl*	at eso?
879opl*	at ess?
880opl*	at fms?
881opl*	at sb?
882opl*	at sv?
883opl*	at wss?
884opl*	at yds?
885opl*	at ym?
886
887# Audio support
888audio*	at audiobus?
889
890# MPU 401 UARTs
891#mpu*	at isa? port 0x330 irq 9	# MPU401 or compatible card
892mpu*	at cmpci?
893mpu*	at eso?
894mpu*	at fms?
895mpu*	at sb?
896mpu*	at yds?
897mpu*	at ym?
898
899# MIDI support
900midi*	at midibus?
901midi*	at pcppi?		# MIDI interface to the PC speaker
902
903# The spkr driver provides a simple tone interface to the built in speaker.
904#spkr0	at pcppi?		# PC speaker
905
906
907# FM-Radio devices
908# ISA radio devices
909#az0	at isa? port 0x350      # Aztech/PackardBell FM Radio Card
910#az1	at isa? port 0x358
911#rt0	at isa? port 0x20c      # AIMS Lab Radiotrack & compatible
912#rt1	at isa? port 0x284
913#rt2	at isa? port 0x30c
914#rt3	at isa? port 0x384
915#rtii0	at isa? port 0x20c      # AIMS Lab Radiotrack II FM Radio Card
916#rtii1	at isa? port 0x30c
917#sf2r0	at isa? port 0x384      # SoundForte RadioLink SF16-FMR2 FM Radio Card
918
919# PCI radio devices
920#mr*	at pci? dev ? function ? # Guillemot Maxi Radio FM 2000 Radio Card
921
922# Radio support
923#radio*	at az?
924#radio*	at mr?
925#radio*	at rt?
926#radio*	at rtii?
927#radio*	at sf2r?
928
929
930# TV cards
931
932# Brooktree 848/849/878/879 based TV cards
933bktr* at pci? dev ? function ?
934radio* at bktr?
935
936
937# Mice
938
939# ISA busmice
940lms0	at isa? port 0x23c irq 5	# Logitech bus mouse
941lms1	at isa? port 0x238 irq 5
942mms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
943mms1	at isa? port 0x238 irq 5
944wsmouse*	at lms? mux 0
945wsmouse*	at mms? mux 0
946# backwards compatible versions
947#olms0	at isa? port 0x23c irq 5	# Logitech bus mouse
948#olms1	at isa? port 0x238 irq 5
949#omms0	at isa? port 0x23c irq 5	# Microsoft InPort mouse
950#omms1	at isa? port 0x238 irq 5
951
952
953# Joysticks
954
955#joy*		at pnpbios? index ?	# Game port
956
957# ISA Plug-and-Play joysticks
958joy*	at isapnp?			# Game ports (usually on audio cards)
959
960# PCI joysticks
961joy*	at pci?				# Game ports (usually on audio cards)
962joy*	at eso?				# ESS Solo-1 on-board joystick
963
964# ISA joysticks. Probe is a little strange; add only if you have one.
965#joy0	at isa? port 0x201
966
967
968# Miscellaneous Devices
969
970# Planetconnect Satellite receiver driver.
971#satlink0 at isa? port 0x300 drq 1
972
973# Middle Digital, Inc. PCI-Weasel serial console board control
974# devices (watchdog timer, etc.)
975weasel* at pci?
976
977# Pull in optional local configuration
978include	"arch/i386/conf/GENERIC.local"
979
980
981# Pseudo-Devices
982
983# disk/mass storage pseudo-devices
984pseudo-device	ccd		4	# concatenated/striped disk devices
985pseudo-device	raid		8	# RAIDframe disk driver
986options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
987#Options to enable various other RAIDframe RAID types.
988#options 	RF_INCLUDE_EVENODD=1
989#options 	RF_INCLUDE_RAID5_RS=1
990#options 	RF_INCLUDE_PARITYLOGGING=1
991#options 	RF_INCLUDE_CHAINDECLUSTER=1
992#options 	RF_INCLUDE_INTERDECLUSTER=1
993#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
994#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
995pseudo-device	md		1	# memory disk device (ramdisk)
996pseudo-device	vnd		4	# disk-like interface to files
997
998# network pseudo-devices
999pseudo-device	bpfilter	8	# Berkeley packet filter
1000pseudo-device	ipfilter		# IP filter (firewall) and NAT
1001pseudo-device	loop			# network loopback
1002pseudo-device	ppp		2	# Point-to-Point Protocol
1003pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
1004pseudo-device	sl		2	# Serial Line IP
1005pseudo-device	strip		2	# Starmode Radio IP (Metricom)
1006pseudo-device	irframetty		# IrDA frame line discipline
1007pseudo-device	tun		2	# network tunneling over tty
1008pseudo-device	gre		2	# generic L3 over IP tunnel
1009pseudo-device	gif		4	# IPv[46] over IPv[46] tunnel (RFC1933)
1010#pseudo-device	faith		1	# IPv[46] tcp relay translation i/f
1011#pseudo-device	stf		1	# 6to4 IPv6 over IPv4 encapsulation
1012pseudo-device	vlan			# IEEE 802.1q encapsulation
1013pseudo-device	bridge			# simple inter-network bridging
1014
1015# miscellaneous pseudo-devices
1016pseudo-device	pty			# pseudo-terminals
1017pseudo-device	tb		1	# tablet line discipline
1018pseudo-device	sequencer	1	# MIDI sequencer
1019# rnd works; RND_COM does not on port i386 yet.
1020pseudo-device	rnd			# /dev/random and in-kernel generator
1021#options 	RND_COM			# use "com" randomness as well (BROKEN)
1022pseudo-device	clockctl		# user control of clock subsystem
1023
1024# a pseudo device needed for Coda	# also needs CODA (above)
1025pseudo-device	vcoda		4	# coda minicache <-> venus comm.
1026
1027# wscons pseudo-devices
1028pseudo-device	wsmux			# mouse & keyboard multiplexor
1029pseudo-device	wsfont
1030