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