XEN3PAE_DOM0 revision 1.17
1#	$NetBSD: XEN3PAE_DOM0,v 1.17 2020/01/19 06:55:23 thorpej 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
324et*	at pci? dev ? function ?	# Agere/LSI ET1310/ET1301 Gigabit
325ex*	at pci? dev ? function ?	# 3Com 3c90x[BC]
326fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
327fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
328gsip*	at pci? dev ? function ?	# NS83820 Gigabit Ethernet
329hme*	at pci? dev ? function ?	# Sun Microelectronics STP2002-STQ
330ipw*	at pci? dev ? function ?	# Intel PRO/Wireless 2100
331iwi*	at pci? dev ? function ?	# Intel PRO/Wireless 2200BG
332iwn*	at pci? dev ? function ?	# Intel PRO/Wireless 4965AGN
333iwm*	at pci? dev ? function ?	# Intel Wireless WiFi Link 7xxx
334jme*	at pci? dev ? function ?	# JMicron JMC2[56]0 Ethernet
335le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
336lii*	at pci? dev ? function ?	# Atheros L2 Fast-Ethernet
337mskc*	at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
338msk*	at mskc?			# Marvell Yukon 2 Gigabit Ethernet
339mtd*	at pci? dev ? function ?	# Myson MTD803 3-in-1 Ethernet
340ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
341nfe*	at pci?	dev ? function ?	# NVIDIA nForce Ethernet
342ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
343pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
344ral*	at pci? dev ? function ?	# Ralink Technology RT25x0 802.11a/b/g
345re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
346rtk*	at pci? dev ? function ?	# Realtek 8129/8139
347sf*	at pci? dev ? function ?	# Adaptec AIC-6915 Ethernet
348sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
349skc*	at pci? dev ? function ?	# SysKonnect SK9821 Gigabit Ethernet
350sk*	at skc?				# SysKonnect SK9821 Gigabit Ethernet
351ste*	at pci? dev ? function ?	# Sundance ST-201 Ethernet
352stge*	at pci? dev ? function ?	# Sundance/Tamarack TC9021 Gigabit
353ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
354tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
355tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
356txp*	at pci? dev ? function ?	# 3com 3cr990
357vge*	at pci? dev ? function ?	# VIATech VT612X Gigabit Ethernet
358vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
359wi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
360wm*	at pci? dev ? function ?	# Intel 8254x gigabit
361wpi*	at pci? dev ? function ?	# Intel PRO/Wireless 3945ABG
362xge*	at pci? dev ? function ?	# Neterion (S2io) Xframe-I 10GbE
363
364# MII/PHY support
365acphy*	at mii? phy ?			# Altima AC101 and AMD Am79c874 PHYs
366amhphy* at mii? phy ?			# AMD 79c901 Ethernet PHYs
367atphy*	at mii? phy ?			# Attansic/Atheros PHYs
368bmtphy* at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
369brgphy* at mii? phy ?			# Broadcom BCM5400-family PHYs
370ciphy*	at mii? phy ?			# Cicada CS8201 Gig-E PHYs
371dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
372etphy*	at mii? phy ?			# Agere/LSI ET1011 TruePHY Gig-E PHYs
373exphy*	at mii? phy ?			# 3Com internal PHYs
374gentbi* at mii? phy ?			# Generic Ten-Bit 1000BASE-[CLS]X PHYs
375glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
376gphyter* at mii? phy ?			# NS83861 Gig-E PHY
377icsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
378igphy*	at mii? phy ?			# Intel IGP01E1000
379ihphy*	at mii? phy ?			# Intel 82577 PHYs
380ikphy*	at mii? phy ?			# Intel 82563 PHYs
381inphy*	at mii? phy ?			# Intel 82555 PHYs
382iophy*	at mii? phy ?			# Intel 82553 PHYs
383lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
384makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
385nsphy*	at mii? phy ?			# NS83840 PHYs
386nsphyter* at mii? phy ? 		# NS83843 PHYs
387pnaphy* at mii? phy ?			# generic HomePNA PHYs
388qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
389rgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
390rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
391sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
392tlphy*	at mii? phy ?			# ThunderLAN PHYs
393tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
394ukphy*	at mii? phy ?			# generic unknown PHYs
395urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
396
397# I2C HID devices
398ihidev* at iic?
399
400# I2C Mice
401ims*	at ihidev? reportid ?
402wsmouse* at ims? mux 0
403
404# I2O devices
405iop*	at pci? dev ? function ?	# I/O processor
406iopsp*	at iop? tid ?			# SCSI/FC-AL ports
407ld*	at iop? tid ?			# block devices
408dpti*	at iop? tid 0			# DPT/Adaptec control interface
409
410# IDE and related devices
411# PCI IDE controllers - see pciide(4) for supported hardware.
412# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
413# how to set up DMA modes for this chip. This may work, or may cause
414# a machine hang with some controllers.
415pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
416acardide*	at pci? dev ? function ?	# Acard IDE controllers
417aceride*	at pci? dev ? function ?	# Acer Lab IDE controllers
418ahcisata*	at pci? dev ? function ?	# AHCI SATA controllers
419artsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
420cmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
421cypide* 	at pci? dev ? function ?	# Cypress IDE controllers
422geodeide*	at pci? dev ? function ?	# AMD Geode IDE controllers
423hptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
424iteide* 	at pci? dev ? function ?	# IT Express IDE controllers
425ixpide* 	at pci? dev ? function ?	# ATI IXP IDE controllers
426jmide*		at pci? dev ? function ?	# JMicron PCI-e PATA/SATA controllers
427ahcisata*	at jmide?
428optiide*	at pci? dev ? function ?	# Opti IDE controllers
429piixide*	at pci? dev ? function ?	# Intel IDE controllers
430pdcide* 	at pci? dev ? function ?	# Promise IDE controllers
431pdcsata*	at pci? dev ? function ?	# Promise SATA150 controllers
432rccide* 	at pci? dev ? function ?	# ServerWorks IDE controllers
433satalink*	at pci? dev ? function ?	# SiI SATALink controllers
434schide* 	at pci? dev ? function ?	# Intel SCH IDE controllers
435siisata*	at pci? dev ? function ?	# SiI SteelVine controllers
436siside* 	at pci? dev ? function ?	# SiS IDE controllers
437slide*		at pci? dev ? function ?	# Symphony Labs IDE controllers
438svwsata*	at pci? dev ? function ?	# ServerWorks SATA controllers
439stpcide*	at pci? dev ? function ?	# STMicro STPC IDE controllers
440viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
441
442# ATA (IDE) bus support
443atabus* at ata?
444
445# IDE drives
446# Flags are used only with controllers that support DMA operations
447# and mode settings (e.g. some pciide controllers)
448# The lowest order four bits (rightmost digit) of the flags define the PIO
449# mode to use, the next set of four bits the DMA mode and the third set the
450# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
451# to use, and the last bit must be 1 for this setting to be used.
452# For DMA and UDMA, 0xf (1111) means 'disable'.
453# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
454# (0xc=1100, 0xa=1010, 0xf=1111)
455# 0x0000 means "use whatever the drive claims to support".
456wd*	at atabus? drive ? flags 0x0000
457
458# ATA RAID configuration support, as found on some Promise controllers.
459pseudo-device	ataraid
460ld*	at ataraid? vendtype ? unit ?
461
462# ATAPI bus support
463atapibus* at atapi?
464
465# ATAPI devices
466# flags have the same meaning as for IDE drives.
467cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
468sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
469st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
470uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
471
472# SCSI Controllers and Devices
473
474# PCI SCSI controllers
475adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
476adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
477ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
478ahd*	at pci? dev ? function ?	# Adaptec 29320, 39320 (aic790x) SCSI
479bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
480dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
481iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
482isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
483mfi*	at pci? dev ? function ?	# LSI MegaRAID SAS
484mfii*	at pci? dev ? function ?	# LSI MegaRAID SAS (Fusion and newer)
485mly*	at pci? dev ? function ?	# Mylex AcceleRAID and eXtremeRAID
486mpt*	at pci? dev ? function ?	# LSILogic 9x9 and 53c1030 (Fusion-MPT)
487mpii*	at pci? dev ? function ?	# LSI Logic Fusion-MPT II
488njs*	at pci? dev ? function ?	# Workbit NinjaSCSI-32
489pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
490siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
491esiop*	at pci? dev ? function ?	# Symbios 53c875 SCSI and newer
492#options 	SIOP_SYMLED		# drive the act. LED in software
493trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
494# SCSI bus support
495scsibus* at scsi?
496
497# SCSI devices
498sd*	at scsibus? target ? lun ?	# SCSI disk drives
499st*	at scsibus? target ? lun ?	# SCSI tape drives
500cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
501ch*	at scsibus? target ? lun ?	# SCSI autochangers
502ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
503ss*	at scsibus? target ? lun ?	# SCSI scanners
504uk*	at scsibus? target ? lun ?	# SCSI unknown
505
506# RAID controllers and devices
507aac*	at pci? dev ? function ?	# Adaptec AAC family
508amr*	at pci? dev ? function ?	# AMI/LSI Logic MegaRAID
509arcmsr* at pci? dev ? function ?	# Areca SATA RAID controllers
510cac*	at pci? dev ? function ?	# Compaq PCI array controllers
511ciss*	at pci? dev ? function ?	# HP Smart Array controllers
512icp*	at pci? dev ? function ?	# ICP-Vortex GDT & Intel RAID
513mlx*	at pci? dev ? function ?	# Mylex DAC960 & DEC SWXCR family
514twe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
515twa*	at pci? dev ? function ?	# 3ware Escalade 95xx RAID controllers
516
517ld*	at aac? unit ?			# logical disk devices
518ld*	at amr? unit ?
519ld*	at cac? unit ?
520ld*	at icp? unit ?
521ld*	at twe? unit ?
522ld*	at twa? unit ?
523ld*	at mlx? unit ?
524
525icpsp*	at icp? unit ?			# SCSI pass-through
526
527# wscons
528pckbc0		at isa?			# PC keyboard controller
529pckbd*		at pckbc?		# PC keyboard
530pms*		at pckbc?		# PS/2 mouse for wsmouse
531#options 	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
532options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
533#vga0		at isa?
534vga*		at pci? dev ? function ?
535#pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
536#machfb* 	at pci? dev ? function ? # ATI Mach64 framebuffer driver
537wsdisplay*	at vga? console ?
538#wsdisplay*	at pcdisplay? console ?
539#wsdisplay*	at machfb? console ?
540wskbd*		at pckbd? console ?
541wsmouse*	at pms? mux 0
542
543# USB Controller and Devices
544
545# PCI USB controllers
546xhci*	at pci? dev ? function ?	# eXtensible Host Controller
547ehci*	at pci? dev ? function ?	# Enhanced Host Controller
548ohci*	at pci? dev ? function ?	# Open Host Controller
549uhci*	at pci? dev ? function ?	# Universal Host Controller (Intel)
550
551# USB bus support
552usb*	at xhci?
553usb*	at ehci?
554usb*	at ohci?
555usb*	at uhci?
556
557# USB Hubs
558uhub*	at usb?
559uhub*	at uhub? port ?
560
561# USB HID device
562uhidev* at uhub? port ? configuration ? interface ?
563
564# USB Mice
565ums*	at uhidev? reportid ?
566wsmouse* at ums? mux 0
567
568# USB eGalax touch-panel
569uep*	at uhub? port ?
570wsmouse* at uep? mux 0
571
572# USB Keyboards
573ukbd*	at uhidev? reportid ?
574wskbd*	at ukbd? console ? mux 1
575
576# USB serial adapter
577ucycom* at uhidev? reportid ?
578
579# USB Generic HID devices
580uhid*	at uhidev? reportid ?
581
582# USB Printer
583ulpt*	at uhub? port ? configuration ? interface ?
584
585# USB Modem
586umodem* at uhub? port ? configuration ?
587ucom*	at umodem?
588
589# Option N.V. Wireless WAN modems
590uhso*	at uhub? port ? configuration ?
591
592# USB Mass Storage
593umass*	at uhub? port ? configuration ? interface ?
594
595# USB audio
596uaudio* at uhub? port ? configuration ?
597
598# USB MIDI
599umidi*	at uhub? port ? configuration ?
600
601# USB IrDA
602# USB-IrDA bridge spec
603uirda*	at uhub? port ? configuration ? interface ?
604irframe* at uirda?
605
606# SigmaTel STIr4200 USB/IrDA Bridge
607ustir*	at uhub? port ?
608irframe* at ustir?
609
610# USB Ethernet adapters
611aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
612axe*	at uhub? port ?		# ASIX AX88172 based adapters
613cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
614cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
615kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
616mue*	at uhub? port ?		# Microchip LAN75xx/LAN78xx based adapters
617udav*	at uhub? port ?		# Davicom DM9601 based adapters
618ure*	at uhub? port ?		# Realtek RTL8152/RTL8153 based adapters
619url*	at uhub? port ?		# Realtek RTL8150L based adapters
620urndis*	at uhub? port ?		# Microsoft RNDIS specification
621
622# USB 802.11 adapters
623atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
624ural*	at uhub? port ?		# Ralink Technology RT2500USB 802.11a/b/g
625rum*	at uhub? port ?		# Ralink Technology RT2501/RT2601 802.11a/b/g
626urtw*	at uhub? port ?		# Realtek RTL8187/RTL8187B 802.11b/g
627
628# Prolific PL2301/PL2302 host-to-host adapter
629upl*	at uhub? port ?
630
631# Serial adapters
632ubsa*	at uhub? port ?		# Belkin serial adapter
633ucom*	at ubsa? portno ?
634
635uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
636ucom*	at uftdi? portno ?
637
638umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
639ucom*	at umct? portno ?
640
641uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
642ucom*	at uplcom? portno ?
643
644uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
645ucom*	at uvscom? portno ?
646
647# Diamond Multimedia Rio 500
648urio*	at uhub? port ?
649
650# USB Handspring Visor
651uvisor* at uhub? port ?
652ucom*	at uvisor?
653
654# Kyocera AIR-EDGE PHONE
655ukyopon* at uhub? port ?
656ucom*	at ukyopon? portno ?
657
658# USB scanners
659#uscanner* at uhub? port ?
660
661# USB scanners that use SCSI emulation, e.g., HP5300
662usscanner* at uhub? port ?
663
664# Y@P firmware loader
665uyap*	at uhub? port ?
666
667# D-Link DSB-R100 USB radio
668udsbr*	at uhub? port ?
669radio*	at udsbr?
670
671# USB Generic driver
672ugen*	at uhub? port ?
673
674# PCI IEEE1394 controllers
675fwohci* at pci? dev ? function ?	# IEEE1394 Open Host Controller
676
677# CardBus IEEE1394 controllers
678#fwohci* at cardbus? function ?	# IEEE1394 Open Host Controller
679
680ieee1394if* at fwohci?
681fwip*	at ieee1394if?			# IP over IEEE1394
682sbp*	at ieee1394if? euihi ? euilo ?	# SCSI over IEEE1394
683
684
685# SD/MMC/SDIO Controller and Device support
686
687# PCI SD/MMC controller
688sdhc*	at pci?				# SD Host Controller
689rtsx*	at pci?				# Realtek RTS5209/RTS5229 Card Reader
690
691# CardBus SD/MMC controller
692#sdhc*	at cardbus? function ?		# SD Host Controller
693
694sdmmc*	at sdhc?			# SD/MMC bus
695sdmmc*	at rtsx?			# SD/MMC bus
696ld*	at sdmmc?
697
698
699# Audio Devices
700
701# PCI audio devices
702auacer* at pci? dev ? function ?	# ALi M5455 integrated AC'97 Audio
703auich*	at pci? dev ? function ?	# Intel ICH integrated AC'97 Audio
704auixp*	at pci? dev ? function ?	# ATI IXP AC'97 Audio
705autri*	at pci? dev ? function ?	# Trident 4DWAVE based AC'97 Audio
706auvia*	at pci? dev ? function ?	# VIA VT82C686A integrated AC'97 Audio
707clcs*	at pci? dev ? function ?	# Cirrus Logic CS4280
708clct*	at pci? dev ? function ?	# Cirrus Logic CS4281
709cmpci*	at pci? dev ? function ?	# C-Media CMI8338/8738
710eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
711emuxki* at pci? dev ? function ?	# Creative SBLive! and PCI512
712esa*	at pci? dev ? function ?	# ESS Allegro-1 / Maestro-3 PCI Audio
713esm*	at pci? dev ? function ?	# ESS Maestro-1/2/2e PCI Audio Accelerator
714eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
715fms*	at pci? dev ? function ?	# Forte Media FM801
716neo*	at pci? dev ? function ?	# NeoMagic 256 AC'97 Audio
717sv*	at pci? dev ? function ?	# S3 SonicVibes
718yds*	at pci? dev ? function ?	# Yamaha DS-1 PCI Audio
719
720# OPL[23] FM synthesizers
721#opl0	at isa? port 0x388	# use only if not attached to sound card
722opl*	at cmpci? flags 1
723opl*	at eso?
724opl*	at fms?
725opl*	at sv?
726opl*	at yds?
727
728# High Definition Audio
729hdaudio*	at pci? dev ? function ?	# High Definition Audio
730hdafg*		at hdaudiobus?
731
732# Audio support
733audio*	at audiobus?
734
735spkr*	at audio?			# PC speaker (synthesized)
736
737# MPU 401 UARTs
738#mpu*	at isa? port 0x330 irq 9	# MPU401 or compatible card
739mpu*	at cmpci?
740mpu*	at eso?
741mpu*	at fms?
742mpu*	at yds?
743
744# MIDI support
745midi*	at midibus?
746
747# Bluetooth Controller and Device support
748
749# Bluetooth PCMCIA Controllers
750#bt3c* at pcmcia? function ?		# 3Com 3CRWB6096-A
751#btbc* at pcmcia? function ?		# AnyCom BlueCard LSE041/039/139
752
753# Bluetooth USB Controllers
754ubt* at uhub? port ?
755aubtfwl* at uhub? port ?
756
757# Bluetooth Device Hub
758#bthub* at bt3c?
759#bthub* at btbh?
760bthub* at ubt?
761
762# Bluetooth HID support
763bthidev* at bthub?
764
765# Bluetooth Mouse
766btms* at bthidev? reportid ?
767wsmouse* at btms? mux 0
768
769# Bluetooth Keyboard
770btkbd* at bthidev? reportid ?
771wskbd* at btkbd? console ? mux 1
772
773# Bluetooth Apple Magic Mouse
774btmagic* at bthub?
775wsmouse* at btmagic? mux 0
776
777# Bluetooth Audio support
778btsco* at bthub?
779
780
781# Cryptographic Devices
782
783# PCI cryptographic devices
784hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
785ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
786
787cinclude "arch/i386/conf/GENERIC.local"
788cinclude "arch/i386/conf/XEN3_DOM0.local"
789
790# Pseudo-Devices
791
792pseudo-device	crypto		# /dev/crypto device
793pseudo-device	swcrypto	# software crypto implementation
794
795# disk/mass storage pseudo-devices
796pseudo-device	bio			# RAID control device driver
797pseudo-device	ccd			# concatenated/striped disk devices
798pseudo-device	cgd			# cryptographic disk devices
799pseudo-device	raid			# RAIDframe disk driver
800options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
801# Options to enable various other RAIDframe RAID types.
802#options 	RF_INCLUDE_EVENODD=1
803#options 	RF_INCLUDE_RAID5_RS=1
804#options 	RF_INCLUDE_PARITYLOGGING=1
805#options 	RF_INCLUDE_CHAINDECLUSTER=1
806#options 	RF_INCLUDE_INTERDECLUSTER=1
807#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
808#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
809pseudo-device	fss			# file system snapshot device
810
811pseudo-device	md			# memory disk device (ramdisk)
812pseudo-device	vnd			# disk-like interface to files
813pseudo-device	dm			# device-mapper driver for LVM
814
815# network pseudo-devices
816pseudo-device	bpfilter		# Berkeley packet filter
817pseudo-device	loop			# network loopback
818pseudo-device	ppp			# Point-to-Point Protocol
819pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
820pseudo-device	sl			# Serial Line IP
821pseudo-device	irframetty		# IrDA frame line discipline
822pseudo-device	tap			# virtual Ethernet
823pseudo-device	tun			# network tunneling over tty
824pseudo-device	gre			# generic L3 over IP tunnel
825pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC 1933)
826#pseudo-device	faith			# IPv[46] tcp relay translation i/f
827pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
828pseudo-device	vlan			# IEEE 802.1q encapsulation
829pseudo-device	bridge			# simple inter-network bridging
830#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
831pseudo-device	l2tp			# L2TPv3 interface
832pseudo-device	npf			# NPF packet filter
833
834# accept filters
835pseudo-device	accf_data		# "dataready" accept filter
836pseudo-device	accf_http		# "httpready" accept filter
837
838# miscellaneous pseudo-devices
839pseudo-device	pty			# pseudo-terminals
840pseudo-device	sequencer		# MIDI sequencer
841# rnd works; RND_COM does not on port i386 yet.
842#options 	RND_COM			# use "com" randomness as well (BROKEN)
843pseudo-device	clockctl		# user control of clock subsystem
844pseudo-device	ksyms			# /dev/ksyms
845pseudo-device	putter			# for puffs and pud
846
847# a pseudo device needed for Coda	# also needs CODA (above)
848pseudo-device	vcoda			# coda minicache <-> venus comm.
849
850# a pseudo device needed for SMBFS
851pseudo-device	nsmb			# experimental - SMB requester
852
853# wscons pseudo-devices
854pseudo-device	wsmux			# mouse & keyboard multiplexor
855pseudo-device	wsfont
856
857# userland interface to drivers, including autoconf and properties retrieval
858pseudo-device	drvctl
859
860# xen pseudo-devices
861pseudo-device	xenevt
862pseudo-device	xvif
863pseudo-device	xbdback
864
865options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
866options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
867
868ppb*	at pci? dev ? function ?	# PCI-PCI bridges
869pci*	at ppb? bus ?
870
871# pci backend devices, used for PCI pass-through. To export a PCI device
872# to a domU, the device has to be attached to the pciback driver in the dom0.
873# you can force a device to attach to the pciback driver in dom0 passing
874# pciback.hide=(bus:dev.fun)(bus:dev.func) to the dom0 kernel boot parameters.
875# bus and dev are 2-digits hex number, func is a single-digit number:
876# pciback.hide=(00:1a.0)(00:1a.1)(00:1a.7)
877pciback* at pci?			#pci backend device
878
879acpi0		at hypervisor?		# ACPI access in PV mode
880acpi0		at mainbus?		# ACPI access in PVH(VM) mode
881
882options 	MPBIOS
883#options 	MPDEBUG
884#options 	MPVERBOSE
885#options 	ACPIVERBOSE
886#options 	PCI_ADDR_FIXUP		# fixup PCI I/O addresses
887#options 	PCI_BUS_FIXUP		# fixup PCI bus numbering
888#options 	PCI_INTR_FIXUP		# fixup PCI interrupt routing
889
890ioapic* 	at mainbus? apid ?
891
892# ACPI devices
893acpiacad*	at acpi?		# ACPI AC Adapter
894acpibat*	at acpi?		# ACPI Battery
895acpibut*	at acpi?		# ACPI Button
896acpidalb*	at acpi?		# ACPI Direct Application Launch Button
897# The ACPI Embedded Controller is generally configured via the special ECDT.
898# This is required as parts of the DSDT can reference the EC before the normal
899# attach phase.
900acpiec* 	at acpi?		# ACPI Embedded Controller (late binding)
901acpiecdt*	at acpi?		# ACPI Embedded Controller (early binding)
902acpilid*	at acpi?		# ACPI Lid Switch
903aibs*		at acpi?		# ASUSTeK AI Booster hardware monitor
904hpqlb*		at acpi?		# HP Quick Launch Buttons
905