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