XEN3_DOM0 revision 1.182
1# $NetBSD: XEN3_DOM0,v 1.182 2020/07/28 09:38:06 jdolecek 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.182 $"
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_OSSAUDIO
73options 	COMPAT_NETBSD32
74options 	COMPAT_LINUX
75options 	COMPAT_LINUX32	# req. COMPAT_LINUX and COMPAT_NETBSD32
76options 	EXEC_ELF32
77
78# Wedge support
79options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
80options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
81#options 	DKWEDGE_METHOD_BSDLABEL	# Support disklabel entries as wedges
82#options 	DKWEDGE_METHOD_MBR	# Support MBR partitions as wedges
83options 	DKWEDGE_METHOD_APPLE	# Support Apple partitions as wedges
84#options 	DKWEDGE_METHOD_RDB	# Support RDB partitions as wedges
85
86# File systems
87include "conf/filesystems.config"
88
89# File system options
90options 	QUOTA		# legacy UFS quotas
91options 	QUOTA2		# new, in-filesystem UFS quotas
92#options 	DISKLABEL_EI	# disklabel Endian Independent support
93#options 	FFS_EI		# FFS Endian Independent support
94options 	WAPBL		# File system journaling support
95#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
96options 	NFSSERVER	# Network File System server
97#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
98options 	UFS_EXTATTR	# Extended attribute support for UFS1
99#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
100				# immutable) behave as system flags.
101
102# Networking options
103#options 	GATEWAY		# packet forwarding
104options 	INET		# IP + ICMP + TCP + UDP
105options 	INET6		# IPV6
106options 	IPSEC		# IP security
107#options 	IPSEC_DEBUG	# debug for IP security
108#options 	MROUTING	# IP multicast routing
109#options 	PIM		# Protocol Independent Multicast
110options 	NETATALK	# AppleTalk networking protocols
111options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
112options 	PPP_DEFLATE	# Deflate compression support for PPP
113options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
114#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
115
116#options 	ALTQ		# Manipulate network interfaces' output queues
117#options 	ALTQ_BLUE	# Stochastic Fair Blue
118#options 	ALTQ_CBQ	# Class-Based Queueing
119#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
120#options 	ALTQ_FIFOQ	# First-In First-Out Queue
121#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
122#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
123#options 	ALTQ_LOCALQ	# Local queueing discipline
124#options 	ALTQ_PRIQ	# Priority Queueing
125#options 	ALTQ_RED	# Random Early Detection
126#options 	ALTQ_RIO	# RED with IN/OUT
127#options 	ALTQ_WFQ	# Weighted Fair Queueing
128
129options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
130#options 	NFS_BOOT_BOOTSTATIC
131#options 	NFS_BOOTSTATIC_MYIP="\"169.254.1.2\""
132#options 	NFS_BOOTSTATIC_GWIP="\"169.254.1.1\""
133#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
134#options 	NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\""
135#options 	NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\""
136
137#
138# wscons options
139#
140# builtin terminal emulations
141#options 	WSEMUL_SUN		# sun terminal emulation
142options 	WSEMUL_VT100		# VT100 / VT220 emulation
143# different kernel output - see dev/wscons/wsdisplayvar.h
144options 	WS_KERNEL_FG=WSCOL_GREEN
145#options 	WS_KERNEL_BG=WSCOL_BLACK
146# compatibility to other console drivers
147options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
148options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
149options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
150options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
151# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
152#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
153# allocate a number of virtual screens at autoconfiguration time
154#options 	WSDISPLAY_DEFAULTSCREENS=4
155# use a large software cursor that doesn't blink
156options 	PCDISPLAY_SOFTCURSOR
157# modify the screen type of the console; defaults to "80x25"
158#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
159# work around a hardware bug that loaded fonts don't work; found on ATI cards
160#options 	VGA_CONSOLE_ATI_BROKEN_FONTSEL
161# console scrolling support.
162options 	WSDISPLAY_SCROLLSUPPORT
163# enable VGA raster mode capable of displaying multilingual text on console
164#options 	VGA_RASTERCONSOLE
165config		netbsd	root on ? type ?
166#config		netbsd	root on wd0a type ffs
167#config		netbsd	root on xennet0 type nfs
168
169mainbus0 at root
170
171cpu* at mainbus?
172
173# IPMI support
174ipmi0		at mainbus?
175ipmi_acpi*	at acpi?
176ipmi0		at ipmi_acpi? 
177
178hypervisor*	at mainbus?		# Xen hypervisor
179
180vcpu*		at hypervisor?		# Xen virtual CPUs
181
182xenbus* 	at hypervisor?		# Xen virtual bus
183
184xencons*	at hypervisor?		# Xen virtual console
185balloon*	at xenbus?		# Xen balloon device
186
187acpi0		at hypervisor?		# ACPI access in PV mode
188acpi0		at mainbus?		# ACPI access in PVH(VM) mode
189
190#options 	ACPI_ACTIVATE_DEV	# If set, activate inactive devices
191options 	ACPI_SCANPCI		# find PCI roots using ACPI
192#options 	ACPICA_PEDANTIC		# force strict conformance to the Spec.
193#options 	ACPIVERBOSE		# verbose ACPI configuration messages
194#options 	MIIVERBOSE		# verbose PHY autoconfig messages
195options 	MPBIOS			# configure CPUs and APICs using MPBIOS
196#options 	MPDEBUG			# MPBIOS configures PCI roots
197#options 	MPVERBOSE		# verbose MPBIOS autoconfig messages
198options 	MPBIOS_SCANPCI		# MPBIOS configures PCI roots
199#options 	PCI_ADDR_FIXUP		# fixup PCI I/O addresses
200#options 	PCI_BUS_FIXUP		# fixup PCI bus numbering
201#options 	PCI_INTR_FIXUP		# fixup PCI interrupt routing
202#options 	PCIVERBOSE		# verbose PCI device autoconfig messages
203#options 	USBVERBOSE		# verbose USB device autoconfig messages
204#options 	HDAUDIOVERBOSE		# verbose HDAUDIO driver messages
205
206ioapic* 	at mainbus? apid ?
207
208# ACPI devices
209acpiacad*	at acpi?		# ACPI AC Adapter
210acpibat*	at acpi?		# ACPI Battery
211acpibut*	at acpi?		# ACPI Button
212acpidalb*	at acpi?		# ACPI Direct Application Launch Button
213acpiec* 	at acpi?		# ACPI Embedded Controller (late)
214acpiecdt*	at acpi?		# ACPI Embedded Controller (early)
215acpilid*	at acpi?		# ACPI Lid Switch
216acpitz* 	at acpi?		# ACPI Thermal Zone
217aibs*		at acpi?		# ASUSTeK AI Booster hardware monitor
218hpqlb*		at acpi?		# HP Quick Launch Buttons
219pckbc*		at acpi?		# PC keyboard controller
220pcppi*		at acpi?		# AT-style speaker sound
221
222# PCI bus support
223pci*		at hypervisor? bus ?
224pci*		at pchb? bus ?
225ppb*		at pci? dev ? function ?	# PCI-PCI bridges
226pci*		at ppb? bus ?
227
228# pci backend devices, used for PCI pass-through. To export a PCI device
229# to a domU, the device has to be attached to the pciback driver in the dom0.
230# you can force a device to attach to the pciback driver in dom0 passing
231# pciback.hide=(bus:dev.fun)(bus:dev.func) to the dom0 kernel boot parameters.
232# bus and dev are 2-digits hex number, func is a single-digit number:
233# pciback.hide=(00:1a.0)(00:1a.1)(00:1a.7)
234pciback* at pci?			# pci backend device
235
236# PCI bridges
237ichlpcib* at pci? dev ? function ?	# Intel ICH PCI-ISA w/ timecounter,
238					# watchdog and SpeedStep support
239pcib*	at pci? dev ? function ?	# PCI-ISA bridges
240pchb*	at pci? dev ? function ?	# PCI-Host bridges
241ppb*	at pci? dev ? function ?	# PCI-PCI bridges
242# XXX 'puc's aren't really bridges, but there's no better place for them here
243puc*	at pci? dev ? function ?	# PCI "universal" comm. cards
244
245# ISA bus support
246isa0	at ichlpcib?
247isa0	at pcib?
248isa0	at hypervisor?
249
250# Serial Devices
251
252# PCI serial interfaces
253com*	at puc? port ?			# 16x50s on "universal" comm boards
254cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
255cz*	at pci? dev ? function ?	# Cyclades-Z multi-port serial boards
256
257# ISA serial interfaces
258#options 	COM_HAYESP		# adds Hayes ESP serial board support
259# If a com port is used as Xen console it can't be used by the domain0 kernel
260# and there's no easy way to detect this yet. Leave com0 out as it's the
261# port usually used for serial console
262#com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
263com1	at isa? port 0x2f8 irq 3
264#com2	at isa? port 0x3e8 irq 5
265#com3	at isa? port 0x2e8 irq 9
266
267# Parallel Printer Interfaces
268
269# PCI parallel printer interfaces
270lpt*	at puc? port ?			# || ports on "universal" comm boards
271
272# ISA parallel printer interfaces
273lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
274
275# Hardware monitors
276
277amdnb_misc* at pci?			# AMD NB Misc Configuration
278amdtemp* at amdnb_misc? 		# AMD CPU Temperature sensors
279
280amdsmn* at pci?				# AMD SMN Configuration
281amdzentemp* at amdsmnbus?		# AMD Ryzen Family 17h CPU temp sensors
282
283# AMD 768 and 8111 power/ACPI controllers
284amdpm*	at pci? dev ? function ?	# RNG and SMBus 1.0 interface
285#iic*	at amdpm?			# sensors below are on this bus
286
287# Intel ICH SMBus controller
288ichsmb* at pci? dev ? function ?
289iic*	at ichsmb?
290
291# I2C controller as found in some Intel PCH devices.
292dwiic*		at pci?			# I2C controller
293iic*		at dwiic?
294
295# Thermal monitor and fan controller
296#dbcool* at iic? addr 0x2C		# Unknown other motherboard(s)
297#dbcool* at iic? addr 0x2D		# Tyan S2881
298#dbcool* at iic? addr 0x2E		# Tyan S2882-D
299
300# Serial Presence Detect capable memory modules
301#spdmem* at iic? addr 0x50
302#spdmem* at iic? addr 0x51
303#spdmem* at iic? addr 0x52
304#spdmem* at iic? addr 0x53
305#spdmem* at iic? addr 0x54
306#spdmem* at iic? addr 0x55
307#spdmem* at iic? addr 0x56
308#spdmem* at iic? addr 0x57
309#sdtemp* at iic? addr 0x18
310#sdtemp* at iic? addr 0x19
311#sdtemp* at iic? addr 0x1a
312#sdtemp* at iic? addr 0x1b
313#sdtemp* at iic? addr 0x1c
314#sdtemp* at iic? addr 0x1d
315#sdtemp* at iic? addr 0x1e
316#sdtemp* at iic? addr 0x1f
317
318# Winbond LPC Super I/O
319#wbsio*	at isa? port 0x2e
320#wbsio*	at isa? port 0x4e
321
322# LM7[89] and compatible hardware monitors
323#lm0	at isa?	port 0x290		# other common: 0x280, 0x310, 0xc00
324#lm*	at wbsio?
325
326# VIA VT82C686A/VT8231 Hardware Monitor and Power Management TImer
327#viaenv* 	at pci? dev ? function ?
328
329
330# PCI network interfaces
331age*	at pci? dev ? function ?	# Attansic/Atheros L1 Gigabit Ethernet
332alc*	at pci? dev ? function ?	# Attansic/Atheros L1C/L2C Ethernet
333ale*	at pci? dev ? function ?	# Attansic/Atheros L1E Ethernet
334an*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11)
335aq*	at pci? dev ? function ?	# Aquantia AQC 10 gigabit
336ath*	at pci? dev ? function ?	# Atheros 5210/5211/5212 802.11
337atw*	at pci? dev ? function ?	# ADMtek ADM8211 (802.11)
338bce*	at pci? dev ? function ?	# Broadcom 4401 10/100 Ethernet
339bge*	at pci? dev ? function ?	# Broadcom 570x gigabit Ethernet
340bnx*	at pci? dev ? function ?	# Broadcom NetXtremeII gigabit Ethernet
341dge*	at pci? dev ? function ?	# Intel 82597 10GbE LR
342ep*	at pci? dev ? function ?	# 3Com 3c59x
343epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
344et*	at pci? dev ? function ?	# Agere/LSI ET1310/ET1301 Gigabit
345ex*	at pci? dev ? function ?	# 3Com 90x[BC]
346fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
347gsip*	at pci? dev ? function ?	# NS83820 Gigabit Ethernet
348hme*	at pci? dev ? function ?	# Sun Microelectronics STP2002-STQ
349ipw*	at pci? dev ? function ?	# Intel PRO/Wireless 2100
350iwi*	at pci? dev ? function ?	# Intel PRO/Wireless 2200BG
351iwn*	at pci? dev ? function ?	# Intel PRO/Wireless 4965AGN
352iwm*	at pci? dev ? function ?	# Intel Wireless WiFi Link 7xxx
353ixg*	at pci? dev ? function ?	# Intel 8259x 10 gigabit
354jme*	at pci? dev ? function ?	# JMicron JMC2[56]0 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# USB Handspring Visor
671uvisor* at uhub? port ?
672ucom*	at uvisor?
673
674# Kyocera AIR-EDGE PHONE
675ukyopon* at uhub? port ?
676ucom*	at ukyopon? portno ?
677
678# USB scanners
679#uscanner* at uhub? port ?
680
681# USB scanners that use SCSI emulation, e.g., HP5300
682usscanner* at uhub? port ?
683
684# D-Link DSB-R100 USB radio
685udsbr*	at uhub? port ?
686radio*	at udsbr?
687
688# USB Generic driver
689ugen*	at uhub? port ?
690
691# PCI IEEE1394 controllers
692fwohci* at pci? dev ? function ?	# IEEE1394 Open Host Controller
693
694# CardBus IEEE1394 controllers
695#fwohci* at cardbus? function ?		# IEEE1394 Open Host Controller
696
697ieee1394if* at fwohci?
698fwip*	at ieee1394if?			# IP over IEEE1394
699sbp*	at ieee1394if? euihi ? euilo ?	# SCSI over IEEE1394
700
701# PCI audio devices
702auacer* at pci? dev ? function ?	# ALi M5455 integrated AC'97 Audio
703auich*	at pci? dev ? function ?	# Intel ICH integrated AC'97 Audio
704auixp*	at pci? dev ? function ?	# ATI IXP AC'97 Audio
705autri*	at pci? dev ? function ?	# Trident 4DWAVE based AC'97 Audio
706auvia*	at pci? dev ? function ?	# VIA VT82C686A integrated AC'97 Audio
707clcs*	at pci? dev ? function ?	# Cirrus Logic CS4280
708clct*	at pci? dev ? function ?	# Cirrus Logic CS4281
709cmpci*	at pci? dev ? function ?	# C-Media CMI8338/8738
710eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
711emuxki* at pci? dev ? function ?	# Creative SBLive! and PCI512
712esa*	at pci? dev ? function ?	# ESS Allegro-1 / Maestro-3 PCI Audio
713esm*	at pci? dev ? function ?	# ESS Maestro-1/2/2e PCI Audio Accelerator
714eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
715fms*	at pci? dev ? function ?	# Forte Media FM801
716neo*	at pci? dev ? function ?	# NeoMagic 256 AC'97 Audio
717sv*	at pci? dev ? function ?	# S3 SonicVibes
718yds*	at pci? dev ? function ?	# Yamaha DS-1 PCI Audio
719
720# OPL[23] FM synthesizers
721#opl0	at isa? port 0x388	# use only if not attached to sound card
722opl*	at cmpci? flags 1
723opl*	at eso?
724opl*	at fms?
725opl*	at sv?
726opl*	at yds?
727
728# High Definition Audio
729hdaudio*	at pci? dev ? function ?	# High Definition Audio
730hdafg*		at hdaudiobus?
731
732# Audio support
733audio*	at audiobus?
734
735spkr*	at audio?		# PC speaker (synthesized)
736
737# MPU 401 UARTs
738#mpu*	at isa? port 0x330 irq 9	# MPU401 or compatible card
739mpu*	at cmpci?
740mpu*	at eso?
741mpu*	at fms?
742mpu*	at yds?
743
744# MIDI support
745midi*	at midibus?
746
747# Bluetooth Controller and Device support
748
749# Bluetooth PCMCIA Controllers
750#bt3c* at pcmcia? function ?		# 3Com 3CRWB6096-A
751#btbc* at pcmcia? function ?		# AnyCom BlueCard LSE041/039/139
752
753# Bluetooth USB Controllers
754ubt* at uhub? port ?
755aubtfwl* at uhub? port ?
756
757# Bluetooth Device Hub
758#bthub* at bt3c?
759#bthub* at btbh?
760bthub* at ubt?
761
762# Bluetooth HID support
763bthidev* at bthub?
764
765# Bluetooth Mouse
766btms* at bthidev? reportid ?
767wsmouse* at btms? mux 0
768
769# Bluetooth Keyboard
770btkbd* at bthidev? reportid ?
771wskbd* at btkbd? console ? mux 1
772
773# Bluetooth Apple Magic Mouse
774btmagic* at bthub?
775wsmouse* at btmagic? mux 0
776
777# Bluetooth Audio support
778btsco* at bthub?
779
780
781# SD/MMC/SDIO Controller and Device support
782
783# SD/MMC controller
784sdhc*	at pci?		# SD Host Controller
785rtsx*	at pci?		# Realtek RTS5209/RTS5229 Card Reader
786#sdhc*	at cardbus?	# SD Host Controller
787sdmmc*	at sdhc?	# SD/MMC bus
788sdmmc*	at rtsx?	# SD/MMC bus
789
790ld*	at sdmmc?
791
792
793# Cryptographic Devices
794
795# PCI cryptographic devices
796hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
797ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
798
799cinclude "arch/amd64/conf/GENERIC.local"
800cinclude "arch/amd64/conf/XEN3_DOM0.local"
801
802# Pseudo-Devices
803
804#
805# accept filters
806pseudo-device	accf_data	# "dataready" accept filter
807pseudo-device	accf_http	# "httpready" accept filter
808
809pseudo-device	crypto		# /dev/crypto device
810pseudo-device	swcrypto	# software crypto implementation
811
812# disk/mass storage pseudo-devices
813pseudo-device	bio			# RAID control device driver
814pseudo-device	ccd			# concatenated/striped disk devices
815pseudo-device	cgd			# cryptographic disk devices
816pseudo-device	raid			# RAIDframe disk driver
817options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
818# Options to enable various other RAIDframe RAID types.
819#options 	RF_INCLUDE_EVENODD=1
820#options 	RF_INCLUDE_RAID5_RS=1
821#options 	RF_INCLUDE_PARITYLOGGING=1
822#options 	RF_INCLUDE_CHAINDECLUSTER=1
823#options 	RF_INCLUDE_INTERDECLUSTER=1
824#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
825#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
826pseudo-device	fss			# file system snapshot device
827
828pseudo-device	md			# memory disk device (ramdisk)
829pseudo-device	vnd			# disk-like interface to files
830pseudo-device	dm			# device-mapper driver for LVM
831
832# network pseudo-devices
833pseudo-device	bpfilter		# Berkeley packet filter
834pseudo-device	loop			# network loopback
835pseudo-device	ppp			# Point-to-Point Protocol
836pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
837pseudo-device	sl			# Serial Line IP
838pseudo-device	tap			# virtual Ethernet
839pseudo-device	tun			# network tunneling over tty
840pseudo-device	gre			# generic L3 over IP tunnel
841pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
842#pseudo-device	faith			# IPv[46] tcp relay translation i/f
843pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
844pseudo-device	vlan			# IEEE 802.1q encapsulation
845pseudo-device	bridge			# simple inter-network bridging
846#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
847pseudo-device	l2tp			# L2TPv3 interface
848pseudo-device	npf			# NPF packet filter
849
850# miscellaneous pseudo-devices
851pseudo-device	pty			# pseudo-terminals
852pseudo-device	clockctl		# user control of clock subsystem
853pseudo-device	ksyms			# /dev/ksyms
854
855# iSCSI initiator
856#pseudo-device	iscsi
857
858# wscons pseudo-devices
859pseudo-device	wsmux			# mouse & keyboard multiplexor
860pseudo-device	wsfont
861
862# userland interface to drivers, including autoconf and properties retrieval
863pseudo-device	drvctl
864
865# xen pseudo-devices
866pseudo-device	xenevt
867pseudo-device	xvif
868pseudo-device	xbdback
869
870options 	PAX_MPROTECT=1		# PaX mprotect(2) restrictions
871options 	PAX_ASLR=1		# PaX Address Space Layout Randomization
872
873# Atheros HAL options
874include "external/isc/atheros_hal/conf/std.ath_hal"
875