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