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