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