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