XEN3PAE_DOM0 revision 1.8
1#	$NetBSD: XEN3PAE_DOM0,v 1.8 2018/11/24 18:23:29 bouyer Exp $
2#
3#	XEN3_0: Xen 3.0 domain0 kernel
4
5include 	"arch/xen/conf/std.xen"
6
7#options 	MULTIPROCESSOR	# (not yet - dom0 stuff is not MP-safe)
8
9options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
10
11#options 	UVMHIST
12#options 	UVMHIST_PRINT
13#options 	SYSCALL_DEBUG
14
15maxusers	32		# estimated number of users
16
17#
18options 	XEN
19options 	PAE
20#options 	__XEN_INTERFACE_VERSION__=0x00030205 # Xen 3.1 interface
21
22# boot messages with MPBIOS, acpi and ioapic can be quite large
23options 	MSGBUFSIZE=24576
24
25options 	DOM0OPS
26# making MCLBYTES = PAGE_SIZE avoids a copy when a mbuf cluster is sent
27# to a domU, at the expense of a higher memory usage by the network stack.
28#options 	MCLSHIFT=12
29
30makeoptions	CPUFLAGS="-march=i686"
31
32#options 	USER_LDT	# user-settable LDT; used by WINE
33
34# CPU features
35est0		at cpu0		# Intel Enhanced SpeedStep (non-ACPI)
36powernow0	at cpu0		# AMD PowerNow! and Cool'n'Quiet (non-ACPI)
37
38#options 	MTRR		# memory-type range register syscall support
39
40#options 	CONSDEVNAME="\"xencons\""
41#options 	CONS_OVERRIDE
42
43options 	INSECURE	# disable kernel security levels - X needs this
44
45options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
46options 	NTP		# NTP phase/frequency locked loop
47
48options 	KTRACE		# system call tracing via ktrace(1)
49
50options 	CPU_UCODE	# cpu ucode loading support
51
52options 	SYSVMSG		# System V-like message queues
53options 	SYSVSEM		# System V-like semaphores
54#options 	SEMMNI=10	# number of semaphore identifiers
55#options 	SEMMNS=60	# number of semaphores in system
56#options 	SEMUME=10	# max number of undo entries per process
57#options 	SEMMNU=30	# number of undo structures in system
58options 	SYSVSHM		# System V-like memory sharing
59#options 	SHMMAXPGS=2048	# 2048 pages is the default
60
61options 	MODULAR		# new style module(7) framework
62options 	USERCONF	# userconf(4) support
63options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
64
65# Alternate buffer queue strategies for better responsiveness under high
66# disk I/O load.
67#options 	BUFQ_READPRIO
68options 	BUFQ_PRIOCSCAN
69
70# Diagnostic/debugging support options
71options 	DIAGNOSTIC	# inexpensive kernel consistency checks
72#options 	DEBUG		# expensive debugging checks/support
73options 	DDB		# in-kernel debugger
74options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
75options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
76#options 	KGDB		# remote debugger
77#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
78#makeoptions	DEBUG="-g"	# compile full symbol table
79options DDB_COMMANDONENTER="show registers"
80
81# Compatibility options
82include 	"conf/compat_netbsd09.config"
83options 	COMPAT_NOMID	# NetBSD 0.8, 386BSD, and BSDI
84#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
85
86options 	COMPAT_OSSAUDIO	# OSS (Voxware) audio driver compatibility
87options 	COMPAT_LINUX	# binary compatibility with Linux
88#options 	COMPAT_FREEBSD	# binary compatibility with FreeBSD
89
90# Wedge support
91options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
92options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
93#options 	DKWEDGE_METHOD_BSDLABEL	# Support disklabel entries as wedges
94#options 	DKWEDGE_METHOD_MBR	# Support MBR partitions as wedges
95options 	DKWEDGE_METHOD_APPLE	# Support Apple partitions as wedges
96#options 	DKWEDGE_METHOD_RDB	# Support RDB partitions as wedges
97
98# File systems
99file-system	FFS		# UFS
100file-system	EXT2FS		# second extended file system (linux)
101file-system	LFS		# log-structured file system
102file-system	MFS		# memory file system
103file-system	NFS		# Network File System client
104file-system	NTFS		# Windows/NT file system (experimental)
105file-system	CD9660		# ISO 9660 + Rock Ridge file system
106file-system	MSDOSFS		# MS-DOS file system
107file-system	FDESC		# /dev/fd
108file-system	KERNFS		# /kern
109file-system	NULLFS		# loopback file system
110file-system	OVERLAY		# overlay file system
111file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
112file-system	PROCFS		# /proc
113file-system	UMAPFS		# NULLFS + uid and gid remapping
114file-system	UNION		# union file system
115file-system	CODA		# Coda File System; also needs vcoda (below)
116file-system	SMBFS		# experimental - CIFS; also needs nsmb (below)
117file-system	PTYFS		# /dev/pts/N support
118file-system	TMPFS		# Efficient memory file-system
119
120# File system options
121options 	QUOTA		# legacy UFS quotas
122options 	QUOTA2		# new, in-filesystem UFS quotas
123#options 	DISKLABEL_EI	# disklabel Endian Independent support
124#options 	FFS_EI		# FFS Endian Independent support
125options 	WAPBL		# File system journaling support
126#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
127options 	NFSSERVER	# Network File System server
128#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
129options 	UFS_EXTATTR	# Extended attribute support for UFS1
130#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
131				# immutable) behave as system flags.
132
133# Networking options
134#options 	GATEWAY		# packet forwarding
135options 	INET		# IP + ICMP + TCP + UDP
136options 	INET6		# IPv6
137options 	IPSEC		# IP security
138#options 	IPSEC_DEBUG	# debug for IP security
139#options 	MROUTING	# IP multicast routing
140#options 	PIM		# Protocol Independent Multicast
141options 	NETATALK	# AppleTalk networking protocols
142options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
143options 	PPP_DEFLATE	# Deflate compression support for PPP
144options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
145#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
146
147#options 	ALTQ		# Manipulate network interfaces' output queues
148#options 	ALTQ_BLUE	# Stochastic Fair Blue
149#options 	ALTQ_CBQ	# Class-Based Queueing
150#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
151#options 	ALTQ_FIFOQ	# First-In First-Out Queue
152#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
153#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
154#options 	ALTQ_LOCALQ	# Local queueing discipline
155#options 	ALTQ_PRIQ	# Priority Queueing
156#options 	ALTQ_RED	# Random Early Detection
157#options 	ALTQ_RIO	# RED with IN/OUT
158#options 	ALTQ_WFQ	# Weighted Fair Queueing
159
160# These options enable verbose messages for several subsystems.
161# Warning, these may compile large string tables into the kernel!
162#options 	MIIVERBOSE	# verbose PHY autoconfig messages
163#options 	PCIVERBOSE	# verbose PCI device autoconfig messages
164#options 	PCI_CONFIG_DUMP	# verbosely dump PCI config space
165options 	SCSIVERBOSE	# human readable SCSI error messages
166#options 	USBVERBOSE	# verbose USB device autoconfig messages
167#options 	HDAUDIOVERBOSE	# verbose HDAUDIO driver messages
168
169options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
170#options 	NFS_BOOT_BOOTSTATIC
171#options 	NFS_BOOTSTATIC_MYIP="\"169.254.1.2\""
172#options 	NFS_BOOTSTATIC_GWIP="\"169.254.1.1\""
173#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
174#options 	NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\""
175#options 	NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\""
176
177options 	WSEMUL_VT100		# VT100 / VT220 emulation
178options 	WS_KERNEL_FG=WSCOL_GREEN
179options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
180options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
181options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
182options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
183options 	WSDISPLAY_DEFAULTSCREENS=4
184options 	WSDISPLAY_SCROLLSUPPORT
185options 	PCDISPLAY_SOFTCURSOR
186
187config		netbsd	root on ? type ?
188#config		netbsd	root on wd0a type ffs
189#config		netbsd	root on xennet0 type nfs
190
191mainbus0 at root
192
193cpu* at mainbus?
194
195# IPMI support
196ipmi0		at mainbus?
197
198hypervisor*	at mainbus?		# Xen hypervisor
199
200vcpu*		at hypervisor?		# Xen virtual CPUs
201xenbus* 	at hypervisor?		# Xen virtual bus
202
203xencons*	at hypervisor?		# Xen virtual console
204#xennet* 	at hypervisor?		# Xen virtual network interface
205balloon*	at xenbus?		# Xen balloon device
206
207#xbd*		at hypervisor?		# Xen virtual block device
208#wd*		at hypervisor?		# Xen vbd (wd identity)
209#sd*		at hypervisor?		# Xen vbd (sd identity)
210#cd*		at hypervisor?		# Xen vbd (cd identity)
211
212# PCI bus support
213pci*		at hypervisor? bus ?
214pci*		at pchb? bus ?
215
216# PCI bridges
217ichlpcib* at pci? dev ? function ?	# Intel ICH PCI-ISA w/ timecounter,
218					# watchdog and SpeedStep support
219pcib*	at pci? dev ? function ?	# PCI-ISA bridges
220pchb*	at pci? dev ? function ?	# PCI-Host bridges
221options 	AGP_X86
222ppb*	at pci? dev ? function ?	# PCI-PCI bridges
223# XXX 'puc's aren't really bridges, but there's no better place for them here
224puc*	at pci? dev ? function ?	# PCI "universal" comm. cards
225
226agp*	at pchb?
227
228# ISA bus support
229isa0	at ichlpcib?
230isa0	at pcib?
231isa0	at hypervisor?
232
233# Serial Devices
234
235# PCI serial interfaces
236com*	at puc? port ?			# 16x50s on "universal" comm boards
237cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
238cz*	at pci? dev ? function ?	# Cyclades-Z multi-port serial boards
239
240# ISA serial interfaces
241#options 	COM_HAYESP		# adds Hayes ESP serial board support
242# If a com port is used as Xen console it can't be used by the domain0 kernel
243# and there's no easy way to detect this yet. Leave com0 out as it's the
244# port usually used for serial console
245#com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
246com1	at isa? port 0x2f8 irq 3
247#com2	at isa? port 0x3e8 irq 5
248#com3	at isa? port 0x2e8 irq 9
249
250# Parallel Printer Interfaces
251
252# PCI parallel printer interfaces
253lpt*	at puc? port ?			# || ports on "universal" comm boards
254
255# ISA parallel printer interfaces
256lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
257
258# Hardware monitors
259
260amdnb_misc* at pci?			# AMD NB Misc Configuration
261amdtemp* at amdnb_misc?			# AMD CPU Temperature sensors
262
263# AMD 768 and 8111 power/ACPI controllers
264amdpm*	at pci? dev ? function ?	# RNG and SMBus 1.0 interface
265
266# Intel ICH SMBus controller
267ichsmb* at pci? dev ? function ?
268iic*	at ichsmb?
269
270# I2C controller as found in some Intel PCH devices.
271dwiic*		at pci?			# I2C controller
272iic*		at dwiic?
273
274# dbCool thermal monitor and fan controller
275#iic*	at amdpm?			# sensors below are on this bus
276#dbcool* at iic? addr 0x2C		# Unknown other motherboard(s)
277#dbcool* at iic? addr 0x2D		# Tyan S2881
278#dbcool* at iic? addr 0x2E		# Tyan S2882-D
279
280# Serial Presence Detect capable memory modules
281#spdmem* at iic? addr 0x50
282#spdmem* at iic? addr 0x51
283#spdmem* at iic? addr 0x52
284#spdmem* at iic? addr 0x53
285#spdmem* at iic? addr 0x54
286#spdmem* at iic? addr 0x55
287#spdmem* at iic? addr 0x56
288#spdmem* at iic? addr 0x57
289#sdtemp* at iic? addr 0x18
290#sdtemp* at iic? addr 0x19
291#sdtemp* at iic? addr 0x1a
292#sdtemp* at iic? addr 0x1b
293#sdtemp* at iic? addr 0x1c
294#sdtemp* at iic? addr 0x1d
295#sdtemp* at iic? addr 0x1e
296#sdtemp* at iic? addr 0x1f
297
298# Winbond LPC Super I/O
299#wbsio*	at isa? port 0x2e
300#wbsio*	at isa? port 0x4e
301
302# LM7[89] and compatible hardware monitors
303# Use flags to select temp sensor type (see lm(4) man page for details)
304#lm0	at isa?	port 0x290 flags 0x0	# other common: 0x280, 0x310, 0xc00
305#lm*	at wbsio?
306
307# VIA VT82C686A/VT8231 Hardware Monitor and Power Management TImer
308#viaenv* 	at pci? dev ? function ?
309
310
311# PCI network interfaces
312age*	at pci? dev ? function ?	# Attansic/Atheros L1 Gigabit Ethernet
313an*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11)
314ale*	at pci? dev ? function ?	# Attansic/Atheros L1E Ethernet
315ath*	at pci? dev ? function ?	# Atheros 5210/5211/5212 802.11
316atw*	at pci? dev ? function ?	# ADMtek ADM8211 (802.11)
317bce*	at pci? dev ? function ?	# Broadcom 4401 10/100 Ethernet
318bge*	at pci? dev ? function ?	# Broadcom 570x gigabit Ethernet
319bnx*	at pci? dev ? function ?	# Broadcom NetXtremeII gigabit Ethernet
320dge*	at pci? dev ? function ?	# Intel 82597 10GbE LR
321ep*	at pci? dev ? function ?	# 3Com 3c59x
322epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
323esh*	at pci? dev ? function ?	# Essential HIPPI card
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
337lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
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
548					# xhci is at best experimental
549ehci*	at pci? dev ? function ?	# Enhanced Host Controller
550ohci*	at pci? dev ? function ?	# Open Host Controller
551uhci*	at pci? dev ? function ?	# Universal Host Controller (Intel)
552
553# USB bus support
554usb*	at xhci?
555usb*	at ehci?
556usb*	at ohci?
557usb*	at uhci?
558
559# USB Hubs
560uhub*	at usb?
561uhub*	at uhub? port ?
562
563# USB HID device
564uhidev* at uhub? port ? configuration ? interface ?
565
566# USB Mice
567ums*	at uhidev? reportid ?
568wsmouse* at ums? mux 0
569
570# USB eGalax touch-panel
571uep*	at uhub? port ?
572wsmouse* at uep? mux 0
573
574# USB Keyboards
575ukbd*	at uhidev? reportid ?
576wskbd*	at ukbd? console ? mux 1
577
578# USB serial adapter
579ucycom* at uhidev? reportid ?
580
581# USB Generic HID devices
582uhid*	at uhidev? reportid ?
583
584# USB Printer
585ulpt*	at uhub? port ? configuration ? interface ?
586
587# USB Modem
588umodem* at uhub? port ? configuration ?
589ucom*	at umodem?
590
591# Option N.V. Wireless WAN modems
592uhso*	at uhub? port ? configuration ?
593
594# USB Mass Storage
595umass*	at uhub? port ? configuration ? interface ?
596
597# USB audio
598uaudio* at uhub? port ? configuration ?
599
600# USB MIDI
601umidi*	at uhub? port ? configuration ?
602
603# USB IrDA
604# USB-IrDA bridge spec
605uirda*	at uhub? port ? configuration ? interface ?
606irframe* at uirda?
607
608# SigmaTel STIr4200 USB/IrDA Bridge
609ustir*	at uhub? port ?
610irframe* at ustir?
611
612# USB Ethernet adapters
613aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
614axe*	at uhub? port ?		# ASIX AX88172 based adapters
615cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
616cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
617kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
618mue*	at uhub? port ?		# Microchip LAN75xx/LAN78xx based adapters
619udav*	at uhub? port ?		# Davicom DM9601 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?
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