XEN3_DOM0 revision 1.48
1# $NetBSD: XEN3_DOM0,v 1.48 2009/12/17 23:53:24 jym Exp $
2
3include 	"arch/amd64/conf/std.xen"
4
5options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
6
7#options 	UVMHIST
8#options 	UVMHIST_PRINT
9#options 	SYSCALL_DEBUG
10
11maxusers	32		# estimated number of users
12
13#
14options 	DOM0OPS
15# boot messages with MPBIOS, acpi and ioapic can be quite large
16options 	MSGBUFSIZE=24576
17
18#options 	VM86		# virtual 8086 emulation
19#options 	USER_LDT	# user-settable LDT; used by WINE
20
21# Enhanced SpeedStep Technology in the Pentium M
22options		ENHANCED_SPEEDSTEP
23#options	EST_FREQ_USERWRITE	# any user can set frequency
24
25# AMD PowerNow! and Cool`n'Quiet technology
26options		POWERNOW_K8
27
28#options 	MTRR		# memory-type range register syscall support
29
30#options 	CONSDEVNAME="\"xencons\""
31#options 	CONS_OVERRIDE
32
33options 	INSECURE	# disable kernel security levels - X needs this
34
35options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
36options 	NTP		# NTP phase/frequency locked loop
37
38options 	KTRACE		# system call tracing via ktrace(1)
39
40options 	SYSVMSG		# System V-like message queues
41options 	SYSVSEM		# System V-like semaphores
42options 	SYSVSHM		# System V-like memory sharing
43options 	P1003_1B_SEMAPHORE	# p1003.1b semaphore support
44
45
46options 	USERCONF	# userconf(4) support
47options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
48
49# Diagnostic/debugging support options
50options 	DIAGNOSTIC	# expensive kernel consistency checks
51options 	DEBUG		# expensive debugging checks/support 
52options 	KMEMSTATS	# kernel memory statistics (vmstat -m)
53options 	DDB		# in-kernel debugger
54options 	DDB_ONPANIC=1	# see also sysctl(8): `ddb.onpanic'
55options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
56#options 	KGDB		# remote debugger
57#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
58makeoptions 	DEBUG="-g"	# compile full symbol table
59makeoptions 	COPTS="-O2 -fno-omit-frame-pointer"
60options DDB_COMMANDONENTER="trace;show registers"
61
62# Compatibility options
63options 	COMPAT_15	# compatibility with NetBSD 1.5,
64options 	COMPAT_16	# NetBSD 1.6,
65options 	COMPAT_20	# NetBSD 2.0,
66options 	COMPAT_30	# NetBSD 3.0,
67options 	COMPAT_40	# NetBSD 4.0 compatibility.
68options 	COMPAT_43	# and 4.3BSD
69#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
70options		COMPAT_50	# NetBSD 5.0
71
72options 	COMPAT_OSSAUDIO
73options 	COMPAT_NETBSD32
74options 	COMPAT_LINUX
75options 	COMPAT_LINUX32	# req. COMPAT_LINUX and COMPAT_NETBSD32
76options 	EXEC_ELF32
77options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
78
79# File systems
80file-system 	FFS		# UFS
81file-system 	EXT2FS		# second extended file system (linux)
82file-system 	LFS		# log-structured file system
83file-system 	MFS		# memory file system
84file-system 	NFS		# Network File System client
85file-system 	NTFS		# Windows/NT file system (experimental)
86file-system 	CD9660		# ISO 9660 + Rock Ridge file system
87file-system 	MSDOSFS		# MS-DOS file system
88file-system 	FDESC		# /dev/fd
89file-system 	KERNFS		# /kern
90file-system 	NULLFS		# loopback file system
91file-system 	OVERLAY		# overlay file system
92file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
93file-system 	PROCFS		# /proc
94file-system 	UMAPFS		# NULLFS + uid and gid remapping
95file-system 	UNION		# union file system
96file-system 	CODA		# Coda File System; also needs vcoda (below)
97file-system 	SMBFS		# experimental - CIFS; also needs nsmb (below)
98file-system 	PTYFS		# /dev/pts/N support
99file-system 	TMPFS		# Efficient memory file-system
100
101# File system options
102options 	QUOTA		# UFS quotas
103#options 	FFS_EI		# FFS Endian Independent support
104options		WAPBL		# File system journaling support - Experimental
105#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
106options 	NFSSERVER	# Network File System server
107#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
108#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
109				# immutable) behave as system flags.
110
111# Networking options
112#options 	GATEWAY		# packet forwarding
113options 	INET		# IP + ICMP + TCP + UDP
114options 	INET6		# IPV6
115#options 	IPSEC		# IP security
116#options 	IPSEC_ESP	# IP security (encryption part; define w/IPSEC)
117#options 	IPSEC_NAT_T	# IPsec NAT traversal (NAT-T)
118#options 	IPSEC_DEBUG	# debug for IP security
119#options 	MROUTING	# IP multicast routing
120#options 	PIM		# Protocol Independent Multicast
121#options 	ISO,TPIP	# OSI
122#options 	EON		# OSI tunneling over IP
123options 	NETATALK	# AppleTalk networking protocols
124options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
125options 	PPP_DEFLATE	# Deflate compression support for PPP
126options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
127options 	PFIL_HOOKS	# pfil(9) packet filter hooks
128options 	IPFILTER_LOG	# ipmon(8) log support
129options 	IPFILTER_LOOKUP	# ippool(8) support
130#options 	IPFILTER_DEFAULT_BLOCK	# block all packets by default
131#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
132
133#options 	ALTQ		# Manipulate network interfaces' output queues
134#options 	ALTQ_BLUE	# Stochastic Fair Blue
135#options 	ALTQ_CBQ	# Class-Based Queueing
136#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
137#options 	ALTQ_FIFOQ	# First-In First-Out Queue
138#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
139#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
140#options 	ALTQ_LOCALQ	# Local queueing discipline
141#options 	ALTQ_PRIQ	# Priority Queueing
142#options 	ALTQ_RED	# Random Early Detection
143#options 	ALTQ_RIO	# RED with IN/OUT
144#options 	ALTQ_WFQ	# Weighted Fair Queueing
145
146options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
147#options 	NFS_BOOT_BOOTSTATIC
148#options 	NFS_BOOTSTATIC_MYIP="\"169.254.1.2\""
149#options 	NFS_BOOTSTATIC_GWIP="\"169.254.1.1\""
150#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
151#options 	NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\""
152#options 	NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\""
153
154#
155# wscons options
156#
157# builtin terminal emulations
158#options 	WSEMUL_SUN		# sun terminal emulation
159options 	WSEMUL_VT100		# VT100 / VT220 emulation
160# different kernel output - see dev/wscons/wsdisplayvar.h
161options 	WS_KERNEL_FG=WSCOL_GREEN
162#options 	WS_KERNEL_BG=WSCOL_BLACK
163# compatibility to other console drivers
164options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
165options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
166options 	WSDISPLAY_COMPAT_USL		# VT handling
167options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
168# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
169#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
170# allocate a number of virtual screens at autoconfiguration time
171#options 	WSDISPLAY_DEFAULTSCREENS=4
172# use a large software cursor that doesn't blink
173options 	PCDISPLAY_SOFTCURSOR
174# modify the screen type of the console; defaults to "80x25"
175#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
176# work around a hardware bug that loaded fonts don't work; found on ATI cards
177#options 	VGA_CONSOLE_ATI_BROKEN_FONTSEL
178# console scrolling support.
179options 	WSDISPLAY_SCROLLSUPPORT
180# enable VGA raster mode capable of displaying multilingual text on console
181#options 	VGA_RASTERCONSOLE
182config		netbsd	root on ? type ?
183#config		netbsd	root on wd0a type ffs
184#config		netbsd	root on xennet0 type nfs
185
186mainbus0 at root
187
188cpu* at mainbus?
189
190# IPMI support
191ipmi0		at mainbus?
192
193hypervisor*	at mainbus?		# Xen hypervisor
194
195vcpu*		at hypervisor?		# Xen virtual CPUs
196
197xenbus*		at hypervisor?		# Xen virtual bus
198
199xencons*	at hypervisor?		# Xen virtual console
200
201acpi0 		at hypervisor?
202#options 	ACPI_ACTIVATE_DEV	# If set, activate inactive devices
203options 	ACPI_SCANPCI		# find PCI roots using ACPI
204#options 	ACPICA_PEDANTIC		# force strict conformance to the Spec.
205options 	ACPIVERBOSE		# verbose ACPI configuration messages
206#options	MIIVERBOSE		# verbose PHY autoconfig messages
207options 	MPBIOS			# configure CPUs and APICs using MPBIOS
208options 	MPDEBUG			# MPBIOS configures PCI roots
209options 	MPVERBOSE		# verbose MPBIOS autoconfig messages
210options 	MPBIOS_SCANPCI		# MPBIOS configures PCI roots
211#options 	PCI_ADDR_FIXUP		# fixup PCI I/O addresses
212#options 	PCI_BUS_FIXUP		# fixup PCI bus numbering
213#options 	PCI_INTR_FIXUP		# fixup PCI interrupt routing
214#options	PCIVERBOSE		# verbose PCI device autoconfig messages
215#options	USBVERBOSE		# verbose USB device autoconfig messages
216
217ioapic*		at mainbus? apid ?
218
219# ACPI devices
220acpiacad* 	at acpi?		# ACPI AC Adapter
221acpibat* 	at acpi?		# ACPI Battery
222acpibut* 	at acpi?		# ACPI Button
223acpidalb*	at acpi?		# ACPI Direct Application Launch Button
224acpiec* 	at acpi?		# ACPI Embedded Controller
225acpilid* 	at acpi?		# ACPI Lid Switch
226acpitz*		at acpi?		# ACPI Thermal Zone
227aiboost*	at acpi?		# ASUS AI Booster Hardware monitor
228hpqlb*		at acpi?		# HP Quick Launch Buttons
229pckbc*		at acpi?		# PC keyboard controller
230pcppi*		at acpi?		# AT-style speaker sound
231
232# PCI bus support
233pci*		at hypervisor? bus ?
234pci*		at pchb? bus ?
235ppb*		at pci? dev ? function ?	# PCI-PCI bridges
236pci*		at ppb? bus ?
237
238# pci backend devices, used for PCI pass-through. To export a PCI device
239# to a domU, the device has to be attached to the pciback driver in the dom0.
240# you can force a device to attach to the pciback driver in dom0 passing
241# pciback.hide=(bus:dev.fun)(bus:dev.func) to the dom0 kernel boot parameters.
242# bus and dev are 2-digits hex number, func is a single-digit number:
243# pciback.hide=(00:1a.0)(00:1a.1)(00:1a.7)
244pciback* at pci?                        #pci backend device
245
246# PCI bridges
247ichlpcib* at pci? dev ? function ?	# Intel ICH PCI-ISA w/ timecounter,
248					# watchdog and SpeedStep support
249pcib*	at pci? dev ? function ?	# PCI-ISA bridges
250pchb*	at pci? dev ? function ?	# PCI-Host bridges
251ppb*	at pci? dev ? function ?	# PCI-PCI bridges
252# XXX 'puc's aren't really bridges, but there's no better place for them here
253puc*	at pci? dev ? function ?	# PCI "universal" comm. cards
254
255agp* 	at pchb?
256
257# ISA bus support
258isa0	at ichlpcib?
259isa0	at pcib?
260isa0	at hypervisor?
261
262# Serial Devices
263
264# PCI serial interfaces
265com*	at puc? port ?			# 16x50s on "universal" comm boards
266cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
267cz*	at pci? dev ? function ?	# Cyclades-Z multi-port serial boards
268
269# ISA serial interfaces
270#options 	COM_HAYESP		# adds Hayes ESP serial board support
271# If a com port is used as Xen console it can't be used by the domain0 kernel
272# and there's no easy way to detect this yet. Leave com0 out as it's the
273# port usually used for serial console
274#com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
275com1	at isa? port 0x2f8 irq 3
276#com2	at isa? port 0x3e8 irq 5
277#com3	at isa? port 0x2e8 irq 9
278
279# Parallel Printer Interfaces
280
281# PCI parallel printer interfaces
282lpt*	at puc? port ?			# || ports on "universal" comm boards
283
284# ISA parallel printer interfaces
285lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
286
287# Hardware monitors
288
289amdtemp* at pci? dev ? function ?	# AMD CPU Temperature sensors
290
291# AMD 768 and 8111 power/ACPI controllers
292amdpm*	at pci? dev ? function ?	# RNG and SMBus 1.0 interface
293#iic*	at amdpm?			# sensors below are on this bus
294
295# Thermal monitor and fan controller
296#dbcool* at iic? addr 0x2C		# Unknown other motherboard(s)
297#dbcool* at iic? addr 0x2D		# Tyan S2881
298#dbcool* at iic? addr 0x2E		# Tyan S2882-D
299
300# LM7[89] and compatible hardware monitors
301#lm0	at isa?	port 0x290		# other common: 0x280, 0x310, 0xc00
302
303# VIA VT82C686A/VT8231 Hardware Monitor and Power Management TImer
304#viaenv*	at pci? dev ? function ?
305
306
307# PCI network interfaces
308age*	at pci? dev ? function ?	# Attansic/Atheros L1 Gigabit Ethernet
309an*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11)
310ale*	at pci? dev ? function ?	# Attansic/Atheros L1E Ethernet
311ath*	at pci? dev ? function ?	# Atheros 5210/5211/5212 802.11
312atw*	at pci? dev ? function ?	# ADMtek ADM8211 (802.11)
313bce* 	at pci? dev ? function ?	# Broadcom 4401 10/100 Ethernet
314bge* 	at pci? dev ? function ?	# Broadcom 570x gigabit Ethernet
315bnx* 	at pci? dev ? function ?	# Broadcom NetXtremeII gigabit Ethernet
316dge*	at pci? dev ? function ?	# Intel 82597 10GbE LR
317en*	at pci? dev ? function ?	# ENI/Adaptec ATM
318ep*	at pci? dev ? function ?	# 3Com 3c59x
319epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
320esh*	at pci? dev ? function ?	# Essential HIPPI card
321ex*	at pci? dev ? function ?	# 3Com 90x[BC]
322fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
323fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
324gsip*	at pci? dev ? function ?	# NS83820 Gigabit Ethernet
325hme*	at pci? dev ? function ?	# Sun Microelectronics STP2002-STQ
326ipw*	at pci? dev ? function ?	# Intel PRO/Wireless 2100
327iwi*	at pci? dev ? function ?	# Intel PRO/Wireless 2200BG
328iwn*    at pci? dev ? function ?        # Intel PRO/Wireless 4965AGN
329jme*	at pci? dev ? function ?	# JMicron JMC2[56]0 ethernet
330le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
331lii*	at pci? dev ? function ?	# Atheros L2 Fast-Ethernet
332lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
333mskc*	at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
334msk*	at mskc?			# Marvell Yukon 2 Gigabit Ethernet
335mtd*	at pci? dev ? function ?	# Myson MTD803 3-in-1 Ethernet
336ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
337nfe*	at pci?	dev ? function ?	# NVIDIA nForce Ethernet
338ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
339pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
340ral*	at pci? dev ? function ?	# Ralink Technology RT25x0 802.11a/b/g
341re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
342rtk*	at pci? dev ? function ?	# Realtek 8129/8139
343sf*	at pci? dev ? function ?	# Adaptec AIC-6915 Ethernet
344sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
345skc*	at pci? dev ? function ?	# SysKonnect SK9821 Gigabit Ethernet
346sk*	at skc?				# SysKonnect SK9821 Gigabit Ethernet
347ste*	at pci? dev ? function ?	# Sundance ST-201 Ethernet
348stge*	at pci? dev ? function ?	# Sundance/Tamarack TC9021 Gigabit
349ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
350tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
351tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
352txp*	at pci? dev ? function ?	# 3com 3cr990
353vge*	at pci? dev ? function ?	# VIATech VT612X Gigabit Ethernet
354vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
355wi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
356wm*	at pci? dev ? function ?	# Intel 8254x gigabit
357xge*	at pci? dev ? function ?	# Neterion (S2io) Xframe-I 10GbE
358
359# MII/PHY support
360acphy*	at mii? phy ?			# Altima AC101 and AMD Am79c874 PHYs
361amhphy* at mii? phy ?			# AMD 79c901 Ethernet PHYs
362atphy*	at mii? phy ?			# Attansic/Atheros PHYs
363bmtphy* at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
364brgphy* at mii? phy ?			# Broadcom BCM5400-family PHYs
365ciphy*	at mii? phy ?			# Cicada CS8201 Gig-E PHYs
366dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
367exphy*	at mii? phy ?			# 3Com internal PHYs
368gentbi* at mii? phy ?			# Generic Ten-Bit 1000BASE-[CLS]X PHYs
369glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
370gphyter* at mii? phy ?			# NS83861 Gig-E PHY
371icsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
372igphy*	at mii? phy ?			# Intel IGP01E1000
373ikphy*	at mii? phy ?			# Intel 82563 PHYs
374inphy*	at mii? phy ?			# Intel 82555 PHYs
375iophy*	at mii? phy ?			# Intel 82553 PHYs
376lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
377makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
378nsphy*	at mii? phy ?			# NS83840 PHYs
379nsphyter* at mii? phy ? 		# NS83843 PHYs
380pnaphy* at mii? phy ?			# generic HomePNA PHYs
381qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
382rgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
383rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
384sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
385tlphy*	at mii? phy ?			# ThunderLAN PHYs
386tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
387ukphy*	at mii? phy ?			# generic unknown PHYs
388urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
389
390# I2O devices
391iop*	at pci? dev ? function ?	# I/O processor
392iopsp*	at iop? tid ?			# SCSI/FC-AL ports
393ld*	at iop? tid ?			# block devices
394# XXX dpti.c wants a processor type that is not assigned for x86-64
395#dpti*	at iop? tid 0			# DPT/Adaptec control interface
396
397# IDE and related devices
398# PCI IDE controllers - see pciide(4) for supported hardware.
399# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
400# how to set up DMA modes for this chip. This may work, or may cause
401# a machine hang with some controllers.
402pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
403acardide*	at pci? dev ? function ?	# Acard IDE controllers
404aceride* 	at pci? dev ? function ?	# Acer Lab IDE controllers
405ahcisata* 	at pci? dev ? function ?	# AHCI SATA controllers
406artsata* 	at pci? dev ? function ?	# Intel i31244 SATA controller
407cmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
408cypide* 	at pci? dev ? function ?	# Cypress IDE controllers
409geodeide* 	at pci? dev ? function ?	# AMD Geode IDE controllers
410hptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
411iteide* 	at pci? dev ? function ?	# IT Express IDE controllers
412ixpide*		at pci? dev ? function ?	# ATI IXP IDE controllers
413jmide* 		at pci? dev ? function ? 	# JMicron PCI-e PATA/SATA controllers
414ahcisata* 	at jmide?
415optiide* 	at pci? dev ? function ?	# Opti IDE controllers
416piixide* 	at pci? dev ? function ?	# Intel IDE controllers
417pdcide* 	at pci? dev ? function ?	# Promise IDE controllers
418pdcsata*	at pci? dev ? function ?	# Promise SATA150 controllers
419rccide* 	at pci? dev ? function ?	# ServerWorks IDE controllers
420satalink*	at pci? dev ? function ?	# SiI SATALink controllers
421siside* 	at pci? dev ? function ?	# SiS IDE controllers
422slide*  	at pci? dev ? function ?	# Symphony Labs IDE controllers
423svwsata* 	at pci? dev ? function ?	# ServerWorks SATA controllers
424stpcide*	at pci? dev ? function ?	# STMicro STPC IDE controllers
425viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
426
427# ATA (IDE) bus support
428atabus* at ata?
429
430# IDE drives
431# Flags are used only with controllers that support DMA operations
432# and mode settings (e.g. some pciide controllers)
433# The lowest order four bits (rightmost digit) of the flags define the PIO
434# mode to use, the next set of four bits the DMA mode and the third set the
435# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
436# to use, and the last bit must be 1 for this setting to be used.
437# For DMA and UDMA, 0xf (1111) means 'disable'.
438# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
439# (0xc=1100, 0xa=1010, 0xf=1111)
440# 0x0000 means "use whatever the drive claims to support".
441wd*	at atabus? drive ? flags 0x0000
442
443# ATA RAID configuration support, as found on some Promise controllers.
444pseudo-device	ataraid
445ld*	at ataraid? vendtype ? unit ?
446
447# ATAPI bus support
448atapibus* at atapi?
449
450# ATAPI devices
451# flags have the same meaning as for IDE drives.
452cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
453sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
454st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
455uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
456
457# SCSI Controllers and Devices
458
459# PCI SCSI controllers
460adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
461adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
462ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
463ahd*	at pci? dev ? function ?	# Adaptec 29320, 39320 (aic790x) SCSI
464bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
465dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
466iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
467isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
468mfi*	at pci? dev ? function ?	# LSI MegaRAID SAS
469mly*	at pci? dev ? function ?	# Mylex AcceleRAID and eXtremeRAID
470mpt*	at pci? dev ? function ?	# LSI Fusion SCSI/FC
471njs*	at pci? dev ? function ?	# Workbit NinjaSCSI-32
472pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
473siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
474esiop*	at pci? dev ? function ?	# Symbios 53c875 SCSI and newer
475#options 	SIOP_SYMLED		# drive the act. LED in software
476trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
477# SCSI bus support
478scsibus* at scsi?
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# RAID controllers and devices
490aac*	at pci? dev ? function ?	# Adaptec AAC family
491amr*	at pci? dev ? function ?	# AMI/LSI Logic MegaRAID
492arcmsr*	at pci? dev ? function ? 	# Areca SATA RAID controllers
493cac*	at pci? dev ? function ?	# Compaq PCI array controllers
494ciss*	at pci? dev ? function ?	# HP Smart Array controllers
495icp*	at pci? dev ? function ?	# ICP-Vortex GDT & Intel RAID
496mlx*	at pci? dev ? function ?	# Mylex DAC960 & DEC SWXCR family
497twe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
498twa*	at pci? dev ? function ?	# 3ware Escalade 95xx RAID controllers
499
500ld*	at aac? unit ?			# logical disk devices
501ld*	at amr? unit ?
502ld*	at cac? unit ?
503ld*	at icp? unit ?
504ld*	at twe? unit ?
505ld*	at twa? unit ?
506ld*	at mlx? unit ?
507
508icpsp*	at icp? unit ?			# SCSI pass-through
509
510# wscons
511pckbc0		at isa?			# pc keyboard controller
512pckbd*		at pckbc?		# PC keyboard
513pms*		at pckbc?		# PS/2 mouse for wsmouse
514#options 	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
515#vga0		at isa?
516vga*		at pci? dev ? function ?
517#pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
518#machfb* 	at pci? dev ? function ? # ATI Mach64 framebuffer driver
519wsdisplay*	at vga? console ?
520#wsdisplay*	at pcdisplay? console ?
521#wsdisplay* 	at machfb? console ?
522wskbd*		at pckbd? console ?
523wsmouse*	at pms? mux 0
524
525# USB Controller and Devices
526
527# PCI USB controllers
528ehci*   at pci? dev ? function ?        # Enhanced Host Controller
529ohci*   at pci? dev ? function ?        # Open Host Controller
530uhci*   at pci? dev ? function ?        # Universal Host Controller (Intel)
531
532# USB bus support
533usb*    at ehci?
534usb*    at ohci?
535usb*    at uhci?
536
537# USB Hubs
538uhub*   at usb?
539uhub*   at uhub? port ?
540
541# USB HID device
542uhidev* at uhub? port ? configuration ? interface ?
543
544# USB Mice
545ums*    at uhidev? reportid ?
546wsmouse* at ums? mux 0
547
548# USB eGalax touch-panel
549uep*    at uhub? port ?
550wsmouse* at uep? mux 0
551
552# USB Keyboards
553ukbd*   at uhidev? reportid ?
554wskbd*  at ukbd? console ? mux 1
555
556# USB serial adapter
557ucycom*	at uhidev? reportid ?
558
559# USB Generic HID devices
560uhid*   at uhidev? reportid ?
561
562# USB Printer
563ulpt*   at uhub? port ? configuration ? interface ?
564
565# USB Modem
566umodem* at uhub? port ? configuration ?
567ucom*   at umodem?
568
569# USB Mass Storage
570umass*  at uhub? port ? configuration ? interface ?
571wd*     at umass?
572
573# USB audio
574uaudio* at uhub? port ? configuration ?
575
576# USB MIDI
577umidi* at uhub? port ? configuration ?
578
579# USB IrDA
580# USB-IrDA bridge spec
581uirda* at uhub? port ? configuration ? interface ?
582irframe* at uirda?
583
584# SigmaTel STIr4200 USB/IrDA Bridge
585ustir* at uhub? port ?
586irframe* at ustir?
587
588# USB Ethernet adapters
589aue*    at uhub? port ?         # ADMtek AN986 Pegasus based adapters
590axe*    at uhub? port ?         # ASIX AX88172 based adapters
591cdce*   at uhub? port ?         # CDC, Ethernet Networking Control Model
592cue*    at uhub? port ?         # CATC USB-EL1201A based adapters
593kue*    at uhub? port ?         # Kawasaki LSI KL5KUSB101B based adapters
594udav*   at uhub? port ?         # Davicom DM9601 based adapters
595url*    at uhub? port ?         # Realtek RTL8150L based adapters
596
597# USB 802.11 adapters
598atu*    at uhub? port ?         # Atmel AT76C50XX based adapters
599ral*	at uhub? port ?		# Ralink Technology RT25x0 802.11a/b/g
600rum*	at uhub? port ?		# Ralink Technology RT2501/RT2601 802.11a/b/g
601
602# Prolific PL2301/PL2302 host-to-host adapter
603upl*    at uhub? port ?
604
605# Serial adapters
606ubsa*   at uhub? port ?         # Belkin serial adapter
607ucom*   at ubsa? portno ?
608
609uftdi*  at uhub? port ?         # FTDI FT8U100AX serial adapter
610ucom*   at uftdi? portno ?
611
612umct*   at uhub? port ?         # MCT USB-RS232 serial adapter
613ucom*   at umct? portno ?
614
615uplcom* at uhub? port ?         # I/O DATA USB-RSAQ2 serial adapter
616ucom*   at uplcom? portno ?
617
618uvscom* at uhub? port ?         # SUNTAC Slipper U VS-10U serial adapter
619ucom*   at uvscom? portno ?
620
621# Diamond Multimedia Rio 500
622urio*   at uhub? port ?
623
624# USB Handspring Visor
625uvisor* at uhub? port ?
626ucom*   at uvisor?
627
628# Kyocera AIR-EDGE PHONE
629ukyopon* at uhub? port ?
630ucom*	at ukyopon? portno ?
631
632# USB scanners
633uscanner* at uhub? port ?
634
635# USB scanners that use SCSI emulation, e.g., HP5300
636usscanner* at uhub? port ?
637
638# Y@P firmware loader
639uyap* at uhub? port ?
640
641# D-Link DSB-R100 USB radio
642udsbr*  at uhub? port ?
643radio*  at udsbr?
644
645# USB Generic driver
646ugen*   at uhub? port ?
647
648# PCI IEEE1394 controllers
649fwohci*	at pci? dev ? function ?	# IEEE1394 Open Host Controller
650
651# CardBus IEEE1394 controllers
652#fwohci*	at cardbus? function ?	# IEEE1394 Open Host Controller
653
654ieee1394if* at fwohci?
655fwip*	at ieee1394if?			# IP over IEEE1394
656sbp*	at ieee1394if? euihi ? euilo ?	# SCSI over IEEE1394
657
658# PCI audio devices
659auacer* at pci? dev ? function ?	# ALi M5455 integrated AC'97 Audio
660auich*	at pci? dev ? function ?	# Intel ICH integrated AC'97 Audio
661auixp*	at pci? dev ? function ?	# ATI IXP AC'97 Audio
662autri*	at pci? dev ? function ?	# Trident 4DWAVE based AC'97 Audio
663auvia*	at pci? dev ? function ?	# VIA VT82C686A integrated AC'97 Audio
664azalia* at pci? dev ? function ?	# High Definition Audio
665clcs*	at pci? dev ? function ?	# Cirrus Logic CS4280
666clct*	at pci? dev ? function ?	# Cirrus Logic CS4281
667cmpci*	at pci? dev ? function ?	# C-Media CMI8338/8738
668eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
669emuxki* at pci? dev ? function ?	# Creative SBLive! and PCI512
670esa*	at pci? dev ? function ?	# ESS Allegro-1 / Maestro-3 PCI Audio
671esm*	at pci? dev ? function ?	# ESS Maestro-1/2/2e PCI Audio Accelerator
672eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
673fms*	at pci? dev ? function ?	# Forte Media FM801
674neo*	at pci? dev ? function ?	# NeoMagic 256 AC'97 Audio
675sv*	at pci? dev ? function ?	# S3 SonicVibes
676yds*	at pci? dev ? function ?	# Yamaha DS-1 PCI Audio
677
678# OPL[23] FM synthesizers
679#opl0	at isa? port 0x388	# use only if not attached to sound card
680opl*	at cmpci? flags 1
681opl*	at eso?
682opl*	at fms?
683opl*	at sv?
684opl*	at yds?
685
686# High Definition Audio
687hdaudio*	at pci? dev ? function ?	# High Definition Audio
688hdafg*		at hdaudiobus?
689
690# Audio support
691audio*	at audiobus?
692
693# MPU 401 UARTs
694#mpu*	at isa? port 0x330 irq 9	# MPU401 or compatible card
695mpu*	at cmpci?
696mpu*	at eso?
697mpu*	at fms?
698mpu*	at yds?
699
700# MIDI support
701midi*	at midibus?
702
703# Bluetooth Controller and Device support
704
705# Bluetooth PCMCIA Controllers
706#bt3c* at pcmcia? function ?		# 3Com 3CRWB6096-A
707#btbc* at pcmcia? function ?		# AnyCom BlueCard LSE041/039/139
708
709# Bluetooth USB Controllers
710ubt* at uhub? port ?
711
712# Bluetooth Device Hub
713#bthub* at bt3c?
714#bthub* at btbh?
715bthub* at ubt?
716
717# Bluetooth HID support
718bthidev* at bthub?
719
720# Bluetooth Mouse
721btms* at bthidev? reportid ?
722wsmouse* at btms? mux 0
723
724# Bluetooth Keyboard
725btkbd* at bthidev? reportid ?
726wskbd* at btkbd? console ? mux 1
727
728# Bluetooth Audio support
729btsco* at bthub?
730
731# Cryptographic Devices
732
733# PCI cryptographic devices
734hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
735ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
736
737cinclude "arch/amd64/conf/GENERIC.local"
738
739# Pseudo-Devices
740
741#
742# accept filters
743pseudo-device	accf_data	# "dataready" accept filter
744pseudo-device	accf_http	# "httpready" accept filter
745
746pseudo-device 	crypto		# /dev/crypto device
747pseudo-device	swcrypto	# software crypto implementation
748
749# disk/mass storage pseudo-devices
750pseudo-device	bio			# RAID control device driver
751pseudo-device	ccd		4	# concatenated/striped disk devices
752pseudo-device	cgd		4	# cryptographic disk devices
753pseudo-device	raid		8	# RAIDframe disk driver
754options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
755# Options to enable various other RAIDframe RAID types.
756#options 	RF_INCLUDE_EVENODD=1
757#options 	RF_INCLUDE_RAID5_RS=1
758#options 	RF_INCLUDE_PARITYLOGGING=1
759#options 	RF_INCLUDE_CHAINDECLUSTER=1
760#options 	RF_INCLUDE_INTERDECLUSTER=1
761#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
762#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
763pseudo-device	fss		4	# file system snapshot device
764
765pseudo-device	md		1	# memory disk device (ramdisk)
766pseudo-device	vnd			# disk-like interface to files
767pseudo-device	putter			# for puffs and pud
768
769# network pseudo-devices
770pseudo-device	bpfilter		# Berkeley packet filter
771pseudo-device	ipfilter		# IP filter (firewall) and NAT
772pseudo-device	loop			# network loopback
773pseudo-device	ppp			# Point-to-Point Protocol
774pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
775pseudo-device	sl			# Serial Line IP
776pseudo-device	tap			# virtual Ethernet
777pseudo-device	tun			# network tunneling over tty
778pseudo-device	gre			# generic L3 over IP tunnel
779pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
780#pseudo-device	faith			# IPv[46] tcp relay translation i/f
781pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
782pseudo-device	vlan			# IEEE 802.1q encapsulation
783pseudo-device	bridge			# simple inter-network bridging
784#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
785#pseudo-device	pf			# PF packet filter
786#pseudo-device	pflog			# PF log if
787
788# miscellaneous pseudo-devices
789pseudo-device	pty			# pseudo-terminals
790pseudo-device	rnd			# /dev/random and in-kernel generator
791pseudo-device	clockctl		# user control of clock subsystem
792pseudo-device	ksyms			# /dev/ksyms
793
794# a pseudo device needed for Coda	# also needs CODA (above)
795pseudo-device	vcoda		4	# coda minicache <-> venus comm.
796
797# a pseudo device needed for SMBFS
798pseudo-device	nsmb			# experimental - SMB requester
799
800# wscons pseudo-devices
801pseudo-device	wsmux			# mouse & keyboard multiplexor
802pseudo-device	wsfont
803
804# userland interface to drivers, including autoconf and properties retrieval
805pseudo-device   drvctl
806
807# xen pseudo-devices
808pseudo-device	xenevt
809pseudo-device	xvif
810pseudo-device	xbdback
811
812options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
813options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
814