XEN3PAE_DOM0 revision 1.15
1#	$NetBSD: XEN3PAE_DOM0,v 1.15 2019/08/21 12:16:07 maxv Exp $
2#
3#	XEN3_0: Xen 3.0 domain0 kernel
4
5include 	"arch/xen/conf/std.xen"
6
7options		XENPV		# PV dom0 support
8#options 	MULTIPROCESSOR	# (not yet - dom0 stuff is not MP-safe)
9
10options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
11
12#options 	UVMHIST
13#options 	UVMHIST_PRINT
14#options 	SYSCALL_DEBUG
15
16maxusers	32		# estimated number of users
17
18#
19options 	XEN
20options 	PAE
21#options 	__XEN_INTERFACE_VERSION__=0x00030205 # Xen 3.1 interface
22
23# boot messages with MPBIOS, acpi and ioapic can be quite large
24options 	MSGBUFSIZE=24576
25
26options 	DOM0OPS
27# making MCLBYTES = PAGE_SIZE avoids a copy when a mbuf cluster is sent
28# to a domU, at the expense of a higher memory usage by the network stack.
29#options 	MCLSHIFT=12
30
31makeoptions	CPUFLAGS="-march=i686"
32
33# CPU features
34est0		at cpu0		# Intel Enhanced SpeedStep (non-ACPI)
35powernow0	at cpu0		# AMD PowerNow! and Cool'n'Quiet (non-ACPI)
36
37#options 	MTRR		# memory-type range register syscall support
38
39#options 	CONSDEVNAME="\"xencons\""
40#options 	CONS_OVERRIDE
41
42options 	INSECURE	# disable kernel security levels - X needs this
43
44options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
45options 	NTP		# NTP phase/frequency locked loop
46
47options 	KTRACE		# system call tracing via ktrace(1)
48
49options 	CPU_UCODE	# cpu ucode loading support
50
51options 	SYSVMSG		# System V-like message queues
52options 	SYSVSEM		# System V-like semaphores
53#options 	SEMMNI=10	# number of semaphore identifiers
54#options 	SEMMNS=60	# number of semaphores in system
55#options 	SEMUME=10	# max number of undo entries per process
56#options 	SEMMNU=30	# number of undo structures in system
57options 	SYSVSHM		# System V-like memory sharing
58#options 	SHMMAXPGS=2048	# 2048 pages is the default
59
60options 	MODULAR		# new style module(7) framework
61options 	USERCONF	# userconf(4) support
62options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
63
64# Alternate buffer queue strategies for better responsiveness under high
65# disk I/O load.
66#options 	BUFQ_READPRIO
67options 	BUFQ_PRIOCSCAN
68
69# Diagnostic/debugging support options
70options 	DIAGNOSTIC	# inexpensive kernel consistency checks
71#options 	DEBUG		# expensive debugging checks/support
72options 	DDB		# in-kernel debugger
73options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
74options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
75#options 	KGDB		# remote debugger
76#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
77#makeoptions	DEBUG="-g"	# compile full symbol table
78options DDB_COMMANDONENTER="show registers"
79
80# Compatibility options
81include 	"conf/compat_netbsd09.config"
82options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
83#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
84
85options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
86options 	COMPAT_LINUX	# binary compatibility with Linux
87#options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
88
89# Wedge support
90options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
91options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
92#options 	DKWEDGE_METHOD_BSDLABEL	# Support disklabel entries as wedges
93#options 	DKWEDGE_METHOD_MBR	# Support MBR partitions as wedges
94options 	DKWEDGE_METHOD_APPLE	# Support Apple partitions as wedges
95#options 	DKWEDGE_METHOD_RDB	# Support RDB partitions as wedges
96
97# File systems
98file-system	FFS		# UFS
99file-system	EXT2FS		# second extended file system (linux)
100file-system	LFS		# log-structured file system
101file-system	MFS		# memory file system
102file-system	NFS		# Network File System client
103file-system	NTFS		# Windows/NT file system (experimental)
104file-system	CD9660		# ISO 9660 + Rock Ridge file system
105file-system	MSDOSFS		# MS-DOS file system
106file-system	FDESC		# /dev/fd
107file-system	KERNFS		# /kern
108file-system	NULLFS		# loopback file system
109file-system	OVERLAY		# overlay file system
110file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
111file-system	PROCFS		# /proc
112file-system	UMAPFS		# NULLFS + uid and gid remapping
113file-system	UNION		# union file system
114file-system	CODA		# Coda File System; also needs vcoda (below)
115file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
116file-system	PTYFS		# /dev/pts/N support
117file-system	TMPFS		# Efficient memory file-system
118
119# File system options
120options 	QUOTA		# legacy UFS quotas
121options 	QUOTA2		# new, in-filesystem UFS quotas
122#options 	DISKLABEL_EI	# disklabel Endian Independent support
123#options 	FFS_EI		# FFS Endian Independent support
124options 	WAPBL		# File system journaling support
125#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
126options 	NFSSERVER	# Network File System server
127#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
128options 	UFS_EXTATTR	# Extended attribute support for UFS1
129#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
130				# immutable) behave as system flags.
131
132# Networking options
133#options 	GATEWAY		# packet forwarding
134options 	INET		# IP + ICMP + TCP + UDP
135options 	INET6		# IPv6
136options 	IPSEC		# IP security
137#options 	IPSEC_DEBUG	# debug for IP security
138#options 	MROUTING	# IP multicast routing
139#options 	PIM		# Protocol Independent Multicast
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)
144#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
145
146#options 	ALTQ		# Manipulate network interfaces' output queues
147#options 	ALTQ_BLUE	# Stochastic Fair Blue
148#options 	ALTQ_CBQ	# Class-Based Queueing
149#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
150#options 	ALTQ_FIFOQ	# First-In First-Out Queue
151#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
152#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
153#options 	ALTQ_LOCALQ	# Local queueing discipline
154#options 	ALTQ_PRIQ	# Priority Queueing
155#options 	ALTQ_RED	# Random Early Detection
156#options 	ALTQ_RIO	# RED with IN/OUT
157#options 	ALTQ_WFQ	# Weighted Fair Queueing
158
159# These options enable verbose messages for several subsystems.
160# Warning, these may compile large string tables into the kernel!
161#options 	MIIVERBOSE	# verbose PHY autoconfig messages
162#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
163#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
164options 	SCSIVERBOSE	# human readable SCSI error messages
165#options 	USBVERBOSE	# verbose USB device autoconfig messages
166#options 	HDAUDIOVERBOSE	# verbose HDAUDIO driver messages
167
168options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
169#options 	NFS_BOOT_BOOTSTATIC
170#options 	NFS_BOOTSTATIC_MYIP="\"169.254.1.2\""
171#options 	NFS_BOOTSTATIC_GWIP="\"169.254.1.1\""
172#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
173#options 	NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\""
174#options 	NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\""
175
176options 	WSEMUL_VT100		# VT100 / VT220 emulation
177options 	WS_KERNEL_FG=WSCOL_GREEN
178options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
179options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
180options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
181options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
182options 	WSDISPLAY_DEFAULTSCREENS=4
183options 	WSDISPLAY_SCROLLSUPPORT
184options 	PCDISPLAY_SOFTCURSOR
185
186config		netbsd	root on ? type ?
187#config		netbsd	root on wd0a type ffs
188#config		netbsd	root on xennet0 type nfs
189
190mainbus0 at root
191
192cpu* at mainbus?
193
194# IPMI support
195ipmi0		at mainbus?
196ipmi_acpi*	at acpi?
197ipmi0		at ipmi_acpi? 
198
199hypervisor*	at mainbus?		# Xen hypervisor
200
201vcpu*		at hypervisor?		# Xen virtual CPUs
202xenbus* 	at hypervisor?		# Xen virtual bus
203
204xencons*	at hypervisor?		# Xen virtual console
205#xennet* 	at hypervisor?		# Xen virtual network interface
206balloon*	at xenbus?		# Xen balloon device
207
208#xbd*		at hypervisor?		# Xen virtual block device
209#wd*		at hypervisor?		# Xen vbd (wd identity)
210#sd*		at hypervisor?		# Xen vbd (sd identity)
211#cd*		at hypervisor?		# Xen vbd (cd identity)
212
213# PCI bus support
214pci*		at hypervisor? bus ?
215pci*		at pchb? bus ?
216
217# PCI bridges
218ichlpcib* at pci? dev ? function ?	# Intel ICH PCI-ISA w/ timecounter,
219					# watchdog and SpeedStep support
220pcib*	at pci? dev ? function ?	# PCI-ISA bridges
221pchb*	at pci? dev ? function ?	# PCI-Host bridges
222options 	AGP_X86
223ppb*	at pci? dev ? function ?	# PCI-PCI bridges
224# XXX 'puc's aren't really bridges, but there's no better place for them here
225puc*	at pci? dev ? function ?	# PCI "universal" comm. cards
226
227agp*	at pchb?
228
229# ISA bus support
230isa0	at ichlpcib?
231isa0	at pcib?
232isa0	at hypervisor?
233
234# Serial Devices
235
236# PCI serial interfaces
237com*	at puc? port ?			# 16x50s on "universal" comm boards
238cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
239cz*	at pci? dev ? function ?	# Cyclades-Z multi-port serial boards
240
241# ISA serial interfaces
242#options 	COM_HAYESP		# adds Hayes ESP serial board support
243# If a com port is used as Xen console it can't be used by the domain0 kernel
244# and there's no easy way to detect this yet. Leave com0 out as it's the
245# port usually used for serial console
246#com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
247com1	at isa? port 0x2f8 irq 3
248#com2	at isa? port 0x3e8 irq 5
249#com3	at isa? port 0x2e8 irq 9
250
251# Parallel Printer Interfaces
252
253# PCI parallel printer interfaces
254lpt*	at puc? port ?			# || ports on "universal" comm boards
255
256# ISA parallel printer interfaces
257lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
258
259# Hardware monitors
260
261amdnb_misc* at pci?			# AMD NB Misc Configuration
262amdtemp* at amdnb_misc?			# AMD CPU Temperature sensors
263
264# AMD 768 and 8111 power/ACPI controllers
265amdpm*	at pci? dev ? function ?	# RNG and SMBus 1.0 interface
266
267# Intel ICH SMBus controller
268ichsmb* at pci? dev ? function ?
269iic*	at ichsmb?
270
271# I2C controller as found in some Intel PCH devices.
272dwiic*		at pci?			# I2C controller
273iic*		at dwiic?
274
275# dbCool thermal monitor and fan controller
276#iic*	at amdpm?			# sensors below are on this bus
277#dbcool* at iic? addr 0x2C		# Unknown other motherboard(s)
278#dbcool* at iic? addr 0x2D		# Tyan S2881
279#dbcool* at iic? addr 0x2E		# Tyan S2882-D
280
281# Serial Presence Detect capable memory modules
282#spdmem* at iic? addr 0x50
283#spdmem* at iic? addr 0x51
284#spdmem* at iic? addr 0x52
285#spdmem* at iic? addr 0x53
286#spdmem* at iic? addr 0x54
287#spdmem* at iic? addr 0x55
288#spdmem* at iic? addr 0x56
289#spdmem* at iic? addr 0x57
290#sdtemp* at iic? addr 0x18
291#sdtemp* at iic? addr 0x19
292#sdtemp* at iic? addr 0x1a
293#sdtemp* at iic? addr 0x1b
294#sdtemp* at iic? addr 0x1c
295#sdtemp* at iic? addr 0x1d
296#sdtemp* at iic? addr 0x1e
297#sdtemp* at iic? addr 0x1f
298
299# Winbond LPC Super I/O
300#wbsio*	at isa? port 0x2e
301#wbsio*	at isa? port 0x4e
302
303# LM7[89] and compatible hardware monitors
304# Use flags to select temp sensor type (see lm(4) man page for details)
305#lm0	at isa?	port 0x290 flags 0x0	# other common: 0x280, 0x310, 0xc00
306#lm*	at wbsio?
307
308# VIA VT82C686A/VT8231 Hardware Monitor and Power Management TImer
309#viaenv* 	at pci? dev ? function ?
310
311
312# PCI network interfaces
313age*	at pci? dev ? function ?	# Attansic/Atheros L1 Gigabit Ethernet
314an*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11)
315ale*	at pci? dev ? function ?	# Attansic/Atheros L1E Ethernet
316ath*	at pci? dev ? function ?	# Atheros 5210/5211/5212 802.11
317atw*	at pci? dev ? function ?	# ADMtek ADM8211 (802.11)
318bce*	at pci? dev ? function ?	# Broadcom 4401 10/100 Ethernet
319bge*	at pci? dev ? function ?	# Broadcom 570x gigabit Ethernet
320bnx*	at pci? dev ? function ?	# Broadcom NetXtremeII gigabit Ethernet
321dge*	at pci? dev ? function ?	# Intel 82597 10GbE LR
322ep*	at pci? dev ? function ?	# 3Com 3c59x
323epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
324esh*	at pci? dev ? function ?	# Essential HIPPI card
325et*	at pci? dev ? function ?	# Agere/LSI ET1310/ET1301 Gigabit
326ex*	at pci? dev ? function ?	# 3Com 3c90x[BC]
327fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
328fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
329gsip*	at pci? dev ? function ?	# NS83820 Gigabit Ethernet
330hme*	at pci? dev ? function ?	# Sun Microelectronics STP2002-STQ
331ipw*	at pci? dev ? function ?	# Intel PRO/Wireless 2100
332iwi*	at pci? dev ? function ?	# Intel PRO/Wireless 2200BG
333iwn*	at pci? dev ? function ?	# Intel PRO/Wireless 4965AGN
334iwm*	at pci? dev ? function ?	# Intel Wireless WiFi Link 7xxx
335jme*	at pci? dev ? function ?	# JMicron JMC2[56]0 Ethernet
336le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
337lii*	at pci? dev ? function ?	# Atheros L2 Fast-Ethernet
338mskc*	at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
339msk*	at mskc?			# Marvell Yukon 2 Gigabit Ethernet
340mtd*	at pci? dev ? function ?	# Myson MTD803 3-in-1 Ethernet
341ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
342nfe*	at pci?	dev ? function ?	# NVIDIA nForce Ethernet
343ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
344pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
345ral*	at pci? dev ? function ?	# Ralink Technology RT25x0 802.11a/b/g
346re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
347rtk*	at pci? dev ? function ?	# Realtek 8129/8139
348sf*	at pci? dev ? function ?	# Adaptec AIC-6915 Ethernet
349sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
350skc*	at pci? dev ? function ?	# SysKonnect SK9821 Gigabit Ethernet
351sk*	at skc?				# SysKonnect SK9821 Gigabit Ethernet
352ste*	at pci? dev ? function ?	# Sundance ST-201 Ethernet
353stge*	at pci? dev ? function ?	# Sundance/Tamarack TC9021 Gigabit
354ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
355tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
356tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
357txp*	at pci? dev ? function ?	# 3com 3cr990
358vge*	at pci? dev ? function ?	# VIATech VT612X Gigabit Ethernet
359vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
360wi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
361wm*	at pci? dev ? function ?	# Intel 8254x gigabit
362wpi*	at pci? dev ? function ?	# Intel PRO/Wireless 3945ABG
363xge*	at pci? dev ? function ?	# Neterion (S2io) Xframe-I 10GbE
364
365# MII/PHY support
366acphy*	at mii? phy ?			# Altima AC101 and AMD Am79c874 PHYs
367amhphy* at mii? phy ?			# AMD 79c901 Ethernet PHYs
368atphy*	at mii? phy ?			# Attansic/Atheros PHYs
369bmtphy* at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
370brgphy* at mii? phy ?			# Broadcom BCM5400-family PHYs
371ciphy*	at mii? phy ?			# Cicada CS8201 Gig-E PHYs
372dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
373etphy*	at mii? phy ?			# Agere/LSI ET1011 TruePHY Gig-E PHYs
374exphy*	at mii? phy ?			# 3Com internal PHYs
375gentbi* at mii? phy ?			# Generic Ten-Bit 1000BASE-[CLS]X PHYs
376glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
377gphyter* at mii? phy ?			# NS83861 Gig-E PHY
378icsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
379igphy*	at mii? phy ?			# Intel IGP01E1000
380ihphy*	at mii? phy ?			# Intel 82577 PHYs
381ikphy*	at mii? phy ?			# Intel 82563 PHYs
382inphy*	at mii? phy ?			# Intel 82555 PHYs
383iophy*	at mii? phy ?			# Intel 82553 PHYs
384lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
385makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
386nsphy*	at mii? phy ?			# NS83840 PHYs
387nsphyter* at mii? phy ? 		# NS83843 PHYs
388pnaphy* at mii? phy ?			# generic HomePNA PHYs
389qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
390rgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
391rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
392sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
393tlphy*	at mii? phy ?			# ThunderLAN PHYs
394tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
395ukphy*	at mii? phy ?			# generic unknown PHYs
396urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
397
398# I2C HID devices
399ihidev* at iic?
400
401# I2C Mice
402ims*	at ihidev? reportid ?
403wsmouse* at ims? mux 0
404
405# I2O devices
406iop*	at pci? dev ? function ?	# I/O processor
407iopsp*	at iop? tid ?			# SCSI/FC-AL ports
408ld*	at iop? tid ?			# block devices
409dpti*	at iop? tid 0			# DPT/Adaptec control interface
410
411# IDE and related devices
412# PCI IDE controllers - see pciide(4) for supported hardware.
413# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
414# how to set up DMA modes for this chip. This may work, or may cause
415# a machine hang with some controllers.
416pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
417acardide*	at pci? dev ? function ?	# Acard IDE controllers
418aceride*	at pci? dev ? function ?	# Acer Lab IDE controllers
419ahcisata*	at pci? dev ? function ?	# AHCI SATA controllers
420artsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
421cmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
422cypide* 	at pci? dev ? function ?	# Cypress IDE controllers
423geodeide*	at pci? dev ? function ?	# AMD Geode IDE controllers
424hptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
425iteide* 	at pci? dev ? function ?	# IT Express IDE controllers
426ixpide* 	at pci? dev ? function ?	# ATI IXP IDE controllers
427jmide*		at pci? dev ? function ?	# JMicron PCI-e PATA/SATA controllers
428ahcisata*	at jmide?
429optiide*	at pci? dev ? function ?	# Opti IDE controllers
430piixide*	at pci? dev ? function ?	# Intel IDE controllers
431pdcide* 	at pci? dev ? function ?	# Promise IDE controllers
432pdcsata*	at pci? dev ? function ?	# Promise SATA150 controllers
433rccide* 	at pci? dev ? function ?	# ServerWorks IDE controllers
434satalink*	at pci? dev ? function ?	# SiI SATALink controllers
435schide* 	at pci? dev ? function ?	# Intel SCH IDE controllers
436siisata*	at pci? dev ? function ?	# SiI SteelVine controllers
437siside* 	at pci? dev ? function ?	# SiS IDE controllers
438slide*		at pci? dev ? function ?	# Symphony Labs IDE controllers
439svwsata*	at pci? dev ? function ?	# ServerWorks SATA controllers
440stpcide*	at pci? dev ? function ?	# STMicro STPC IDE controllers
441viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
442
443# ATA (IDE) bus support
444atabus* at ata?
445
446# IDE drives
447# Flags are used only with controllers that support DMA operations
448# and mode settings (e.g. some pciide controllers)
449# The lowest order four bits (rightmost digit) of the flags define the PIO
450# mode to use, the next set of four bits the DMA mode and the third set the
451# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
452# to use, and the last bit must be 1 for this setting to be used.
453# For DMA and UDMA, 0xf (1111) means 'disable'.
454# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
455# (0xc=1100, 0xa=1010, 0xf=1111)
456# 0x0000 means "use whatever the drive claims to support".
457wd*	at atabus? drive ? flags 0x0000
458
459# ATA RAID configuration support, as found on some Promise controllers.
460pseudo-device	ataraid
461ld*	at ataraid? vendtype ? unit ?
462
463# ATAPI bus support
464atapibus* at atapi?
465
466# ATAPI devices
467# flags have the same meaning as for IDE drives.
468cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
469sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
470st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
471uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
472
473# SCSI Controllers and Devices
474
475# PCI SCSI controllers
476adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
477adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
478ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
479ahd*	at pci? dev ? function ?	# Adaptec 29320, 39320 (aic790x) SCSI
480bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
481dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
482iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
483isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
484mfi*	at pci? dev ? function ?	# LSI MegaRAID SAS
485mfii*	at pci? dev ? function ?	# LSI MegaRAID SAS (Fusion and newer)
486mly*	at pci? dev ? function ?	# Mylex AcceleRAID and eXtremeRAID
487mpt*	at pci? dev ? function ?	# LSILogic 9x9 and 53c1030 (Fusion-MPT)
488mpii*	at pci? dev ? function ?	# LSI Logic Fusion-MPT II
489njs*	at pci? dev ? function ?	# Workbit NinjaSCSI-32
490pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
491siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
492esiop*	at pci? dev ? function ?	# Symbios 53c875 SCSI and newer
493#options 	SIOP_SYMLED		# drive the act. LED in software
494trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
495# SCSI bus support
496scsibus* at scsi?
497
498# SCSI devices
499sd*	at scsibus? target ? lun ?	# SCSI disk drives
500st*	at scsibus? target ? lun ?	# SCSI tape drives
501cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
502ch*	at scsibus? target ? lun ?	# SCSI autochangers
503ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
504ss*	at scsibus? target ? lun ?	# SCSI scanners
505uk*	at scsibus? target ? lun ?	# SCSI unknown
506
507# RAID controllers and devices
508aac*	at pci? dev ? function ?	# Adaptec AAC family
509amr*	at pci? dev ? function ?	# AMI/LSI Logic MegaRAID
510arcmsr* at pci? dev ? function ?	# Areca SATA RAID controllers
511cac*	at pci? dev ? function ?	# Compaq PCI array controllers
512ciss*	at pci? dev ? function ?	# HP Smart Array controllers
513icp*	at pci? dev ? function ?	# ICP-Vortex GDT & Intel RAID
514mlx*	at pci? dev ? function ?	# Mylex DAC960 & DEC SWXCR family
515twe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
516twa*	at pci? dev ? function ?	# 3ware Escalade 95xx RAID controllers
517
518ld*	at aac? unit ?			# logical disk devices
519ld*	at amr? unit ?
520ld*	at cac? unit ?
521ld*	at icp? unit ?
522ld*	at twe? unit ?
523ld*	at twa? unit ?
524ld*	at mlx? unit ?
525
526icpsp*	at icp? unit ?			# SCSI pass-through
527
528# wscons
529pckbc0		at isa?			# PC keyboard controller
530pckbd*		at pckbc?		# PC keyboard
531pms*		at pckbc?		# PS/2 mouse for wsmouse
532#options 	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
533options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
534#vga0		at isa?
535vga*		at pci? dev ? function ?
536#pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
537#machfb* 	at pci? dev ? function ? # ATI Mach64 framebuffer driver
538wsdisplay*	at vga? console ?
539#wsdisplay*	at pcdisplay? console ?
540#wsdisplay*	at machfb? console ?
541wskbd*		at pckbd? console ?
542wsmouse*	at pms? mux 0
543
544# USB Controller and Devices
545
546# PCI USB controllers
547xhci*	at pci? dev ? function ?	# eXtensible Host Controller
548ehci*	at pci? dev ? function ?	# Enhanced Host Controller
549ohci*	at pci? dev ? function ?	# Open Host Controller
550uhci*	at pci? dev ? function ?	# Universal Host Controller (Intel)
551
552# USB bus support
553usb*	at xhci?
554usb*	at ehci?
555usb*	at ohci?
556usb*	at uhci?
557
558# USB Hubs
559uhub*	at usb?
560uhub*	at uhub? port ?
561
562# USB HID device
563uhidev* at uhub? port ? configuration ? interface ?
564
565# USB Mice
566ums*	at uhidev? reportid ?
567wsmouse* at ums? mux 0
568
569# USB eGalax touch-panel
570uep*	at uhub? port ?
571wsmouse* at uep? mux 0
572
573# USB Keyboards
574ukbd*	at uhidev? reportid ?
575wskbd*	at ukbd? console ? mux 1
576
577# USB serial adapter
578ucycom* at uhidev? reportid ?
579
580# USB Generic HID devices
581uhid*	at uhidev? reportid ?
582
583# USB Printer
584ulpt*	at uhub? port ? configuration ? interface ?
585
586# USB Modem
587umodem* at uhub? port ? configuration ?
588ucom*	at umodem?
589
590# Option N.V. Wireless WAN modems
591uhso*	at uhub? port ? configuration ?
592
593# USB Mass Storage
594umass*	at uhub? port ? configuration ? interface ?
595
596# USB audio
597uaudio* at uhub? port ? configuration ?
598
599# USB MIDI
600umidi*	at uhub? port ? configuration ?
601
602# USB IrDA
603# USB-IrDA bridge spec
604uirda*	at uhub? port ? configuration ? interface ?
605irframe* at uirda?
606
607# SigmaTel STIr4200 USB/IrDA Bridge
608ustir*	at uhub? port ?
609irframe* at ustir?
610
611# USB Ethernet adapters
612aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
613axe*	at uhub? port ?		# ASIX AX88172 based adapters
614cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
615cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
616kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
617mue*	at uhub? port ?		# Microchip LAN75xx/LAN78xx based adapters
618udav*	at uhub? port ?		# Davicom DM9601 based adapters
619ure*	at uhub? port ?		# Realtek RTL8152/RTL8153 based adapters
620url*	at uhub? port ?		# Realtek RTL8150L based adapters
621urndis*	at uhub? port ?		# Microsoft RNDIS specification
622
623# USB 802.11 adapters
624atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
625ural*	at uhub? port ?		# Ralink Technology RT2500USB 802.11a/b/g
626rum*	at uhub? port ?		# Ralink Technology RT2501/RT2601 802.11a/b/g
627urtw*	at uhub? port ?		# Realtek RTL8187/RTL8187B 802.11b/g
628
629# Prolific PL2301/PL2302 host-to-host adapter
630upl*	at uhub? port ?
631
632# Serial adapters
633ubsa*	at uhub? port ?		# Belkin serial adapter
634ucom*	at ubsa? portno ?
635
636uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
637ucom*	at uftdi? portno ?
638
639umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
640ucom*	at umct? portno ?
641
642uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
643ucom*	at uplcom? portno ?
644
645uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
646ucom*	at uvscom? portno ?
647
648# Diamond Multimedia Rio 500
649urio*	at uhub? port ?
650
651# USB Handspring Visor
652uvisor* at uhub? port ?
653ucom*	at uvisor?
654
655# Kyocera AIR-EDGE PHONE
656ukyopon* at uhub? port ?
657ucom*	at ukyopon? portno ?
658
659# USB scanners
660#uscanner* at uhub? port ?
661
662# USB scanners that use SCSI emulation, e.g., HP5300
663usscanner* at uhub? port ?
664
665# Y@P firmware loader
666uyap*	at uhub? port ?
667
668# D-Link DSB-R100 USB radio
669udsbr*	at uhub? port ?
670radio*	at udsbr?
671
672# USB Generic driver
673ugen*	at uhub? port ?
674
675# PCI IEEE1394 controllers
676fwohci* at pci? dev ? function ?	# IEEE1394 Open Host Controller
677
678# CardBus IEEE1394 controllers
679#fwohci* at cardbus? function ?	# IEEE1394 Open Host Controller
680
681ieee1394if* at fwohci?
682fwip*	at ieee1394if?			# IP over IEEE1394
683sbp*	at ieee1394if? euihi ? euilo ?	# SCSI over IEEE1394
684
685
686# SD/MMC/SDIO Controller and Device support
687
688# PCI SD/MMC controller
689sdhc*	at pci?				# SD Host Controller
690rtsx*	at pci?				# Realtek RTS5209/RTS5229 Card Reader
691
692# CardBus SD/MMC controller
693#sdhc*	at cardbus? function ?		# SD Host Controller
694
695sdmmc*	at sdhc?			# SD/MMC bus
696sdmmc*	at rtsx?			# SD/MMC bus
697ld*	at sdmmc?
698
699
700# Audio Devices
701
702# PCI audio devices
703auacer* at pci? dev ? function ?	# ALi M5455 integrated AC'97 Audio
704auich*	at pci? dev ? function ?	# Intel ICH integrated AC'97 Audio
705auixp*	at pci? dev ? function ?	# ATI IXP AC'97 Audio
706autri*	at pci? dev ? function ?	# Trident 4DWAVE based AC'97 Audio
707auvia*	at pci? dev ? function ?	# VIA VT82C686A integrated AC'97 Audio
708clcs*	at pci? dev ? function ?	# Cirrus Logic CS4280
709clct*	at pci? dev ? function ?	# Cirrus Logic CS4281
710cmpci*	at pci? dev ? function ?	# C-Media CMI8338/8738
711eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
712emuxki* at pci? dev ? function ?	# Creative SBLive! and PCI512
713esa*	at pci? dev ? function ?	# ESS Allegro-1 / Maestro-3 PCI Audio
714esm*	at pci? dev ? function ?	# ESS Maestro-1/2/2e PCI Audio Accelerator
715eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
716fms*	at pci? dev ? function ?	# Forte Media FM801
717neo*	at pci? dev ? function ?	# NeoMagic 256 AC'97 Audio
718sv*	at pci? dev ? function ?	# S3 SonicVibes
719yds*	at pci? dev ? function ?	# Yamaha DS-1 PCI Audio
720
721# OPL[23] FM synthesizers
722#opl0	at isa? port 0x388	# use only if not attached to sound card
723opl*	at cmpci? flags 1
724opl*	at eso?
725opl*	at fms?
726opl*	at sv?
727opl*	at yds?
728
729# High Definition Audio
730hdaudio*	at pci? dev ? function ?	# High Definition Audio
731hdafg*		at hdaudiobus?
732
733# Audio support
734audio*	at audiobus?
735
736spkr*	at audio?			# PC speaker (synthesized)
737
738# MPU 401 UARTs
739#mpu*	at isa? port 0x330 irq 9	# MPU401 or compatible card
740mpu*	at cmpci?
741mpu*	at eso?
742mpu*	at fms?
743mpu*	at yds?
744
745# MIDI support
746midi*	at midibus?
747
748# Bluetooth Controller and Device support
749
750# Bluetooth PCMCIA Controllers
751#bt3c* at pcmcia? function ?		# 3Com 3CRWB6096-A
752#btbc* at pcmcia? function ?		# AnyCom BlueCard LSE041/039/139
753
754# Bluetooth USB Controllers
755ubt* at uhub? port ?
756aubtfwl* at uhub? port ?
757
758# Bluetooth Device Hub
759#bthub* at bt3c?
760#bthub* at btbh?
761bthub* at ubt?
762
763# Bluetooth HID support
764bthidev* at bthub?
765
766# Bluetooth Mouse
767btms* at bthidev? reportid ?
768wsmouse* at btms? mux 0
769
770# Bluetooth Keyboard
771btkbd* at bthidev? reportid ?
772wskbd* at btkbd? console ? mux 1
773
774# Bluetooth Apple Magic Mouse
775btmagic* at bthub?
776wsmouse* at btmagic? mux 0
777
778# Bluetooth Audio support
779btsco* at bthub?
780
781
782# Cryptographic Devices
783
784# PCI cryptographic devices
785hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
786ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
787
788cinclude "arch/i386/conf/GENERIC.local"
789cinclude "arch/i386/conf/XEN3_DOM0.local"
790
791# Pseudo-Devices
792
793pseudo-device	crypto		# /dev/crypto device
794pseudo-device	swcrypto	# software crypto implementation
795
796# disk/mass storage pseudo-devices
797pseudo-device	bio			# RAID control device driver
798pseudo-device	ccd			# concatenated/striped disk devices
799pseudo-device	cgd			# cryptographic disk devices
800pseudo-device	raid			# RAIDframe disk driver
801options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
802# Options to enable various other RAIDframe RAID types.
803#options 	RF_INCLUDE_EVENODD=1
804#options 	RF_INCLUDE_RAID5_RS=1
805#options 	RF_INCLUDE_PARITYLOGGING=1
806#options 	RF_INCLUDE_CHAINDECLUSTER=1
807#options 	RF_INCLUDE_INTERDECLUSTER=1
808#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
809#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
810pseudo-device	fss			# file system snapshot device
811
812pseudo-device	md			# memory disk device (ramdisk)
813pseudo-device	vnd			# disk-like interface to files
814pseudo-device	dm			# device-mapper driver for LVM
815
816# network pseudo-devices
817pseudo-device	bpfilter		# Berkeley packet filter
818pseudo-device	loop			# network loopback
819pseudo-device	ppp			# Point-to-Point Protocol
820pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
821pseudo-device	sl			# Serial Line IP
822pseudo-device	strip			# Starmode Radio IP (Metricom)
823pseudo-device	irframetty		# IrDA frame line discipline
824pseudo-device	tap			# virtual Ethernet
825pseudo-device	tun			# network tunneling over tty
826pseudo-device	gre			# generic L3 over IP tunnel
827pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
828#pseudo-device	faith			# IPv[46] tcp relay translation i/f
829pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
830pseudo-device	vlan			# IEEE 802.1q encapsulation
831pseudo-device	bridge			# simple inter-network bridging
832#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
833pseudo-device	l2tp			# L2TPv3 interface
834pseudo-device	npf			# NPF packet filter
835
836# accept filters
837pseudo-device	accf_data		# "dataready" accept filter
838pseudo-device	accf_http		# "httpready" accept filter
839
840# miscellaneous pseudo-devices
841pseudo-device	pty			# pseudo-terminals
842pseudo-device	sequencer		# MIDI sequencer
843# rnd works; RND_COM does not on port i386 yet.
844#options 	RND_COM			# use "com" randomness as well (BROKEN)
845pseudo-device	clockctl		# user control of clock subsystem
846pseudo-device	ksyms			# /dev/ksyms
847pseudo-device	putter			# for puffs and pud
848
849# a pseudo device needed for Coda	# also needs CODA (above)
850pseudo-device	vcoda			# coda minicache <-> venus comm.
851
852# a pseudo device needed for SMBFS
853pseudo-device	nsmb			# experimental - SMB requester
854
855# wscons pseudo-devices
856pseudo-device	wsmux			# mouse & keyboard multiplexor
857pseudo-device	wsfont
858
859# userland interface to drivers, including autoconf and properties retrieval
860pseudo-device	drvctl
861
862# xen pseudo-devices
863pseudo-device	xenevt
864pseudo-device	xvif
865pseudo-device	xbdback
866
867options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
868options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
869
870ppb*	at pci? dev ? function ?	# PCI-PCI bridges
871pci*	at ppb? bus ?
872
873# pci backend devices, used for PCI pass-through. To export a PCI device
874# to a domU, the device has to be attached to the pciback driver in the dom0.
875# you can force a device to attach to the pciback driver in dom0 passing
876# pciback.hide=(bus:dev.fun)(bus:dev.func) to the dom0 kernel boot parameters.
877# bus and dev are 2-digits hex number, func is a single-digit number:
878# pciback.hide=(00:1a.0)(00:1a.1)(00:1a.7)
879pciback* at pci?			#pci backend device
880
881acpi0		at hypervisor?		# ACPI access in PV mode
882acpi0		at mainbus?		# ACPI access in PVH(VM) mode
883
884options 	MPBIOS
885#options 	MPDEBUG
886#options 	MPVERBOSE
887#options 	ACPIVERBOSE
888#options 	PCI_ADDR_FIXUP		# fixup PCI I/O addresses
889#options 	PCI_BUS_FIXUP		# fixup PCI bus numbering
890#options 	PCI_INTR_FIXUP		# fixup PCI interrupt routing
891
892ioapic* 	at mainbus? apid ?
893
894# ACPI devices
895acpiacad*	at acpi?		# ACPI AC Adapter
896acpibat*	at acpi?		# ACPI Battery
897acpibut*	at acpi?		# ACPI Button
898acpidalb*	at acpi?		# ACPI Direct Application Launch Button
899# The ACPI Embedded Controller is generally configured via the special ECDT.
900# This is required as parts of the DSDT can reference the EC before the normal
901# attach phase.
902acpiec* 	at acpi?		# ACPI Embedded Controller (late binding)
903acpiecdt*	at acpi?		# ACPI Embedded Controller (early binding)
904acpilid*	at acpi?		# ACPI Lid Switch
905aibs*		at acpi?		# ASUSTeK AI Booster hardware monitor
906hpqlb*		at acpi?		# HP Quick Launch Buttons
907