XEN3_DOM0 revision 1.172
1# $NetBSD: XEN3_DOM0,v 1.172 2020/01/20 18:38:19 thorpej 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.172 $"
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
354le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
355lii*	at pci? dev ? function ?	# Atheros L2 Fast-Ethernet
356mskc*	at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
357msk*	at mskc?			# Marvell Yukon 2 Gigabit Ethernet
358mtd*	at pci? dev ? function ?	# Myson MTD803 3-in-1 Ethernet
359ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
360nfe*	at pci?	dev ? function ?	# NVIDIA nForce Ethernet
361ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
362pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
363ral*	at pci? dev ? function ?	# Ralink Technology RT25x0 802.11a/b/g
364re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
365rtk*	at pci? dev ? function ?	# Realtek 8129/8139
366sf*	at pci? dev ? function ?	# Adaptec AIC-6915 Ethernet
367sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
368skc*	at pci? dev ? function ?	# SysKonnect SK9821 Gigabit Ethernet
369sk*	at skc?				# SysKonnect SK9821 Gigabit Ethernet
370ste*	at pci? dev ? function ?	# Sundance ST-201 Ethernet
371stge*	at pci? dev ? function ?	# Sundance/Tamarack TC9021 Gigabit
372ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
373tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
374tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
375txp*	at pci? dev ? function ?	# 3com 3cr990
376vge*	at pci? dev ? function ?	# VIATech VT612X Gigabit Ethernet
377vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
378wi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
379wm*	at pci? dev ? function ?	# Intel 8254x gigabit
380wpi*	at pci? dev ? function ?	# Intel PRO/Wireless 3945ABG
381xge*	at pci? dev ? function ?	# Neterion (S2io) Xframe-I 10GbE
382
383# MII/PHY support
384acphy*	at mii? phy ?			# Altima AC101 and AMD Am79c874 PHYs
385amhphy* at mii? phy ?			# AMD 79c901 Ethernet PHYs
386atphy*	at mii? phy ?			# Attansic/Atheros PHYs
387bmtphy* at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
388brgphy* at mii? phy ?			# Broadcom BCM5400-family PHYs
389ciphy*	at mii? phy ?			# Cicada CS8201 Gig-E PHYs
390dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
391etphy*	at mii? phy ?			# Agere/LSI ET1011 TruePHY Gig-E PHYs
392exphy*	at mii? phy ?			# 3Com internal PHYs
393gentbi* at mii? phy ?			# Generic Ten-Bit 1000BASE-[CLS]X PHYs
394glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
395gphyter* at mii? phy ?			# NS83861 Gig-E PHY
396icsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
397igphy*	at mii? phy ?			# Intel IGP01E1000
398ihphy*	at mii? phy ?			# Intel 82577 PHYs
399ikphy*	at mii? phy ?			# Intel 82563 PHYs
400inphy*	at mii? phy ?			# Intel 82555 PHYs
401iophy*	at mii? phy ?			# Intel 82553 PHYs
402lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
403makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
404nsphy*	at mii? phy ?			# NS83840 PHYs
405nsphyter* at mii? phy ? 		# NS83843 PHYs
406pnaphy* at mii? phy ?			# generic HomePNA PHYs
407qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
408rgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
409rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
410sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
411tlphy*	at mii? phy ?			# ThunderLAN PHYs
412tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
413ukphy*	at mii? phy ?			# generic unknown PHYs
414urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
415
416# I2C HID devices
417ihidev* at iic?
418
419# I2C Mice
420ims*	at ihidev? reportid ?
421wsmouse* at ims? mux 0
422
423# I2O devices
424iop*	at pci? dev ? function ?	# I/O processor
425iopsp*	at iop? tid ?			# SCSI/FC-AL ports
426ld*	at iop? tid ?			# block devices
427# XXX dpti.c wants a processor type that is not assigned for x86-64
428#dpti*	at iop? tid 0			# DPT/Adaptec control interface
429
430# IDE and related devices
431# PCI IDE controllers - see pciide(4) for supported hardware.
432# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
433# how to set up DMA modes for this chip. This may work, or may cause
434# a machine hang with some controllers.
435pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
436acardide*	at pci? dev ? function ?	# Acard IDE controllers
437aceride*	at pci? dev ? function ?	# Acer Lab IDE controllers
438ahcisata*	at pci? dev ? function ?	# AHCI SATA controllers
439artsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
440cmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
441cypide* 	at pci? dev ? function ?	# Cypress IDE controllers
442geodeide*	at pci? dev ? function ?	# AMD Geode IDE controllers
443hptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
444iteide* 	at pci? dev ? function ?	# IT Express IDE controllers
445ixpide* 	at pci? dev ? function ?	# ATI IXP IDE controllers
446jmide*		at pci? dev ? function ?	# JMicron PCI-e PATA/SATA controllers
447ahcisata*	at jmide?
448optiide*	at pci? dev ? function ?	# Opti IDE controllers
449piixide*	at pci? dev ? function ?	# Intel IDE controllers
450pdcide* 	at pci? dev ? function ?	# Promise IDE controllers
451pdcsata*	at pci? dev ? function ?	# Promise SATA150 controllers
452rccide* 	at pci? dev ? function ?	# ServerWorks IDE controllers
453satalink*	at pci? dev ? function ?	# SiI SATALink controllers
454siisata*	at pci? dev ? function ?	# SiI SteelVine controllers
455siside* 	at pci? dev ? function ?	# SiS IDE controllers
456slide*		at pci? dev ? function ?	# Symphony Labs IDE controllers
457svwsata*	at pci? dev ? function ?	# ServerWorks SATA controllers
458stpcide*	at pci? dev ? function ?	# STMicro STPC IDE controllers
459viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
460
461# ATA (IDE) bus support
462atabus* at ata?
463
464# IDE drives
465# Flags are used only with controllers that support DMA operations
466# and mode settings (e.g. some pciide controllers)
467# The lowest order four bits (rightmost digit) of the flags define the PIO
468# mode to use, the next set of four bits the DMA mode and the third set the
469# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
470# to use, and the last bit must be 1 for this setting to be used.
471# For DMA and UDMA, 0xf (1111) means 'disable'.
472# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
473# (0xc=1100, 0xa=1010, 0xf=1111)
474# 0x0000 means "use whatever the drive claims to support".
475wd*	at atabus? drive ? flags 0x0000
476
477# ATA RAID configuration support, as found on some Promise controllers.
478pseudo-device	ataraid
479ld*	at ataraid? vendtype ? unit ?
480
481# ATAPI bus support
482atapibus* at atapi?
483
484# ATAPI devices
485# flags have the same meaning as for IDE drives.
486cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
487sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
488st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
489uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
490
491# SCSI Controllers and Devices
492
493# PCI SCSI controllers
494adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
495adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
496ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
497ahd*	at pci? dev ? function ?	# Adaptec 29320, 39320 (aic790x) SCSI
498bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
499dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
500iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
501isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
502mfi*	at pci? dev ? function ?	# LSI MegaRAID SAS
503mfii*	at pci? dev ? function ?	# LSI MegaRAID SAS (Fusion and newer)
504mly*	at pci? dev ? function ?	# Mylex AcceleRAID and eXtremeRAID
505mpt*	at pci? dev ? function ?	# LSILogic 9x9 and 53c1030 (Fusion-MPT)
506mpii*	at pci? dev ? function ?	# LSI Logic Fusion-MPT II
507njs*	at pci? dev ? function ?	# Workbit NinjaSCSI-32
508pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
509siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
510esiop*	at pci? dev ? function ?	# Symbios 53c875 SCSI and newer
511#options 	SIOP_SYMLED		# drive the act. LED in software
512trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
513# SCSI bus support
514scsibus* at scsi?
515
516# SCSI devices
517sd*	at scsibus? target ? lun ?	# SCSI disk drives
518st*	at scsibus? target ? lun ?	# SCSI tape drives
519cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
520ch*	at scsibus? target ? lun ?	# SCSI autochangers
521ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
522ss*	at scsibus? target ? lun ?	# SCSI scanners
523uk*	at scsibus? target ? lun ?	# SCSI unknown
524
525# RAID controllers and devices
526aac*	at pci? dev ? function ?	# Adaptec AAC family
527amr*	at pci? dev ? function ?	# AMI/LSI Logic MegaRAID
528arcmsr* at pci? dev ? function ?	# Areca SATA RAID controllers
529cac*	at pci? dev ? function ?	# Compaq PCI array controllers
530ciss*	at pci? dev ? function ?	# HP Smart Array controllers
531icp*	at pci? dev ? function ?	# ICP-Vortex GDT & Intel RAID
532mlx*	at pci? dev ? function ?	# Mylex DAC960 & DEC SWXCR family
533twe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
534twa*	at pci? dev ? function ?	# 3ware Escalade 95xx RAID controllers
535
536ld*	at aac? unit ?			# logical disk devices
537ld*	at amr? unit ?
538ld*	at cac? unit ?
539ld*	at icp? unit ?
540ld*	at twe? unit ?
541ld*	at twa? unit ?
542ld*	at mlx? unit ?
543
544icpsp*	at icp? unit ?			# SCSI pass-through
545
546# NVM Express controllers and devices
547nvme*	at pci? dev ? function ?
548ld*	at nvme? nsid ?
549
550# wscons
551pckbc0		at isa?			# pc keyboard controller
552pckbd*		at pckbc?		# PC keyboard
553pms*		at pckbc?		# PS/2 mouse for wsmouse
554#options 	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
555options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
556#vga0		at isa?
557vga*		at pci? dev ? function ?
558#pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
559#machfb* 	at pci? dev ? function ? # ATI Mach64 framebuffer driver
560wsdisplay*	at vga? console ?
561#wsdisplay*	at pcdisplay? console ?
562#wsdisplay*	at machfb? console ?
563wskbd*		at pckbd? console ?
564wsmouse*	at pms? mux 0
565
566# USB Controller and Devices
567
568# PCI USB controllers
569xhci*	at pci? dev ? function ?	# eXtensible Host Controller
570ehci*	at pci? dev ? function ?	# Enhanced Host Controller
571ohci*	at pci? dev ? function ?	# Open Host Controller
572uhci*	at pci? dev ? function ?	# Universal Host Controller (Intel)
573
574# USB bus support
575usb*	at xhci?
576usb*	at ehci?
577usb*	at ohci?
578usb*	at uhci?
579
580# USB Hubs
581uhub*	at usb?
582uhub*	at uhub? port ?
583
584# USB HID device
585uhidev* at uhub? port ? configuration ? interface ?
586
587# USB Mice
588ums*	at uhidev? reportid ?
589wsmouse* at ums? mux 0
590
591# USB eGalax touch-panel
592uep*	at uhub? port ?
593wsmouse* at uep? mux 0
594
595# USB Keyboards
596ukbd*	at uhidev? reportid ?
597wskbd*	at ukbd? console ? mux 1
598
599# USB serial adapter
600ucycom* at uhidev? reportid ?
601
602# USB Generic HID devices
603uhid*	at uhidev? reportid ?
604
605# USB Printer
606ulpt*	at uhub? port ? configuration ? interface ?
607
608# USB Modem
609umodem* at uhub? port ? configuration ?
610ucom*	at umodem?
611
612# Option N.V. Wireless WAN modems
613uhso*	at uhub? port ? configuration ?
614
615# USB Mass Storage
616umass*	at uhub? port ? configuration ? interface ?
617
618# USB audio
619uaudio* at uhub? port ? configuration ?
620
621# USB MIDI
622umidi*	at uhub? port ? configuration ?
623
624# USB IrDA
625# USB-IrDA bridge spec
626uirda*	at uhub? port ? configuration ? interface ?
627irframe* at uirda?
628
629# SigmaTel STIr4200 USB/IrDA Bridge
630ustir*	at uhub? port ?
631irframe* at ustir?
632
633# USB Ethernet adapters
634aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
635axe*	at uhub? port ?		# ASIX AX88172 based adapters
636cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
637cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
638kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
639mue*	at uhub? port ?		# Microchip LAN75xx/LAN78xx based adapters
640udav*	at uhub? port ?		# Davicom DM9601 based adapters
641ure*	at uhub? port ?		# Realtek RTL8152/RTL8153 based adapters
642url*	at uhub? port ?		# Realtek RTL8150L based adapters
643urndis* at uhub? port ? 	# Microsoft RNDIS specification
644
645# USB 802.11 adapters
646atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
647ural*	at uhub? port ?		# Ralink Technology RT2500USB 802.11a/b/g
648rum*	at uhub? port ?		# Ralink Technology RT2501/RT2601 802.11a/b/g
649urtw*	at uhub? port ?		# Realtek RTL8187/RTL8187B 802.11b/g
650
651# Prolific PL2301/PL2302 host-to-host adapter
652upl*	at uhub? port ?
653
654# Serial adapters
655ubsa*	at uhub? port ?		# Belkin serial adapter
656ucom*	at ubsa? portno ?
657
658uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
659ucom*	at uftdi? portno ?
660
661umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
662ucom*	at umct? portno ?
663
664uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
665ucom*	at uplcom? portno ?
666
667uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
668ucom*	at uvscom? portno ?
669
670# Diamond Multimedia Rio 500
671urio*	at uhub? port ?
672
673# USB Handspring Visor
674uvisor* at uhub? port ?
675ucom*	at uvisor?
676
677# Kyocera AIR-EDGE PHONE
678ukyopon* at uhub? port ?
679ucom*	at ukyopon? portno ?
680
681# USB scanners
682#uscanner* at uhub? port ?
683
684# USB scanners that use SCSI emulation, e.g., HP5300
685usscanner* at uhub? port ?
686
687# Y@P firmware loader
688uyap*	at uhub? port ?
689
690# D-Link DSB-R100 USB radio
691udsbr*	at uhub? port ?
692radio*	at udsbr?
693
694# USB Generic driver
695ugen*	at uhub? port ?
696
697# PCI IEEE1394 controllers
698fwohci* at pci? dev ? function ?	# IEEE1394 Open Host Controller
699
700# CardBus IEEE1394 controllers
701#fwohci* at cardbus? function ?		# IEEE1394 Open Host Controller
702
703ieee1394if* at fwohci?
704fwip*	at ieee1394if?			# IP over IEEE1394
705sbp*	at ieee1394if? euihi ? euilo ?	# SCSI over IEEE1394
706
707# PCI audio devices
708auacer* at pci? dev ? function ?	# ALi M5455 integrated AC'97 Audio
709auich*	at pci? dev ? function ?	# Intel ICH integrated AC'97 Audio
710auixp*	at pci? dev ? function ?	# ATI IXP AC'97 Audio
711autri*	at pci? dev ? function ?	# Trident 4DWAVE based AC'97 Audio
712auvia*	at pci? dev ? function ?	# VIA VT82C686A integrated AC'97 Audio
713#azalia* at pci? dev ? function ?	# High Definition Audio
714clcs*	at pci? dev ? function ?	# Cirrus Logic CS4280
715clct*	at pci? dev ? function ?	# Cirrus Logic CS4281
716cmpci*	at pci? dev ? function ?	# C-Media CMI8338/8738
717eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
718emuxki* at pci? dev ? function ?	# Creative SBLive! and PCI512
719esa*	at pci? dev ? function ?	# ESS Allegro-1 / Maestro-3 PCI Audio
720esm*	at pci? dev ? function ?	# ESS Maestro-1/2/2e PCI Audio Accelerator
721eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
722fms*	at pci? dev ? function ?	# Forte Media FM801
723neo*	at pci? dev ? function ?	# NeoMagic 256 AC'97 Audio
724sv*	at pci? dev ? function ?	# S3 SonicVibes
725yds*	at pci? dev ? function ?	# Yamaha DS-1 PCI Audio
726
727# OPL[23] FM synthesizers
728#opl0	at isa? port 0x388	# use only if not attached to sound card
729opl*	at cmpci? flags 1
730opl*	at eso?
731opl*	at fms?
732opl*	at sv?
733opl*	at yds?
734
735# High Definition Audio
736hdaudio*	at pci? dev ? function ?	# High Definition Audio
737hdafg*		at hdaudiobus?
738
739# Audio support
740audio*	at audiobus?
741
742spkr*	at audio?		# PC speaker (synthesized)
743
744# MPU 401 UARTs
745#mpu*	at isa? port 0x330 irq 9	# MPU401 or compatible card
746mpu*	at cmpci?
747mpu*	at eso?
748mpu*	at fms?
749mpu*	at yds?
750
751# MIDI support
752midi*	at midibus?
753
754# Bluetooth Controller and Device support
755
756# Bluetooth PCMCIA Controllers
757#bt3c* at pcmcia? function ?		# 3Com 3CRWB6096-A
758#btbc* at pcmcia? function ?		# AnyCom BlueCard LSE041/039/139
759
760# Bluetooth USB Controllers
761ubt* at uhub? port ?
762aubtfwl* at uhub? port ?
763
764# Bluetooth Device Hub
765#bthub* at bt3c?
766#bthub* at btbh?
767bthub* at ubt?
768
769# Bluetooth HID support
770bthidev* at bthub?
771
772# Bluetooth Mouse
773btms* at bthidev? reportid ?
774wsmouse* at btms? mux 0
775
776# Bluetooth Keyboard
777btkbd* at bthidev? reportid ?
778wskbd* at btkbd? console ? mux 1
779
780# Bluetooth Apple Magic Mouse
781btmagic* at bthub?
782wsmouse* at btmagic? mux 0
783
784# Bluetooth Audio support
785btsco* at bthub?
786
787
788# SD/MMC/SDIO Controller and Device support
789
790# SD/MMC controller
791sdhc*	at pci?		# SD Host Controller
792rtsx*	at pci?		# Realtek RTS5209/RTS5229 Card Reader
793#sdhc*	at cardbus?	# SD Host Controller
794sdmmc*	at sdhc?	# SD/MMC bus
795sdmmc*	at rtsx?	# SD/MMC bus
796
797ld*	at sdmmc?
798
799
800# Cryptographic Devices
801
802# PCI cryptographic devices
803hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
804ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
805
806cinclude "arch/amd64/conf/GENERIC.local"
807cinclude "arch/amd64/conf/XEN3_DOM0.local"
808
809# Pseudo-Devices
810
811#
812# accept filters
813pseudo-device	accf_data	# "dataready" accept filter
814pseudo-device	accf_http	# "httpready" accept filter
815
816pseudo-device	crypto		# /dev/crypto device
817pseudo-device	swcrypto	# software crypto implementation
818
819# disk/mass storage pseudo-devices
820pseudo-device	bio			# RAID control device driver
821pseudo-device	ccd			# concatenated/striped disk devices
822pseudo-device	cgd			# cryptographic disk devices
823pseudo-device	raid			# RAIDframe disk driver
824options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
825# Options to enable various other RAIDframe RAID types.
826#options 	RF_INCLUDE_EVENODD=1
827#options 	RF_INCLUDE_RAID5_RS=1
828#options 	RF_INCLUDE_PARITYLOGGING=1
829#options 	RF_INCLUDE_CHAINDECLUSTER=1
830#options 	RF_INCLUDE_INTERDECLUSTER=1
831#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
832#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
833pseudo-device	fss			# file system snapshot device
834
835pseudo-device	md			# memory disk device (ramdisk)
836pseudo-device	vnd			# disk-like interface to files
837pseudo-device	dm			# device-mapper driver for LVM
838
839# network pseudo-devices
840pseudo-device	bpfilter		# Berkeley packet filter
841pseudo-device	loop			# network loopback
842pseudo-device	ppp			# Point-to-Point Protocol
843pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
844pseudo-device	sl			# Serial Line IP
845pseudo-device	tap			# virtual Ethernet
846pseudo-device	tun			# network tunneling over tty
847pseudo-device	gre			# generic L3 over IP tunnel
848pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
849#pseudo-device	faith			# IPv[46] tcp relay translation i/f
850pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
851pseudo-device	vlan			# IEEE 802.1q encapsulation
852pseudo-device	bridge			# simple inter-network bridging
853#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
854pseudo-device	l2tp			# L2TPv3 interface
855pseudo-device	npf			# NPF packet filter
856
857# miscellaneous pseudo-devices
858pseudo-device	pty			# pseudo-terminals
859pseudo-device	clockctl		# user control of clock subsystem
860pseudo-device	ksyms			# /dev/ksyms
861
862# iSCSI initiator
863#pseudo-device	iscsi
864
865# wscons pseudo-devices
866pseudo-device	wsmux			# mouse & keyboard multiplexor
867pseudo-device	wsfont
868
869# userland interface to drivers, including autoconf and properties retrieval
870pseudo-device	drvctl
871
872# xen pseudo-devices
873pseudo-device	xenevt
874pseudo-device	xvif
875pseudo-device	xbdback
876
877options 	PAX_MPROTECT=1		# PaX mprotect(2) restrictions
878options 	PAX_ASLR=1		# PaX Address Space Layout Randomization
879
880# Atheros HAL options
881include "external/isc/atheros_hal/conf/std.ath_hal"
882