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