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