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