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