XEN3_DOM0 revision 1.179
1# $NetBSD: XEN3_DOM0,v 1.179 2020/05/16 13:46:10 maya 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.179 $"
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 ?
227options 	NO_PCI_MSI_MSIX
228
229# pci backend devices, used for PCI pass-through. To export a PCI device
230# to a domU, the device has to be attached to the pciback driver in the dom0.
231# you can force a device to attach to the pciback driver in dom0 passing
232# pciback.hide=(bus:dev.fun)(bus:dev.func) to the dom0 kernel boot parameters.
233# bus and dev are 2-digits hex number, func is a single-digit number:
234# pciback.hide=(00:1a.0)(00:1a.1)(00:1a.7)
235pciback* at pci?			# pci backend device
236
237# PCI bridges
238ichlpcib* at pci? dev ? function ?	# Intel ICH PCI-ISA w/ timecounter,
239					# watchdog and SpeedStep support
240pcib*	at pci? dev ? function ?	# PCI-ISA bridges
241pchb*	at pci? dev ? function ?	# PCI-Host bridges
242ppb*	at pci? dev ? function ?	# PCI-PCI bridges
243# XXX 'puc's aren't really bridges, but there's no better place for them here
244puc*	at pci? dev ? function ?	# PCI "universal" comm. cards
245
246# ISA bus support
247isa0	at ichlpcib?
248isa0	at pcib?
249isa0	at hypervisor?
250
251# Serial Devices
252
253# PCI serial interfaces
254com*	at puc? port ?			# 16x50s on "universal" comm boards
255cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
256cz*	at pci? dev ? function ?	# Cyclades-Z multi-port serial boards
257
258# ISA serial interfaces
259#options 	COM_HAYESP		# adds Hayes ESP serial board support
260# If a com port is used as Xen console it can't be used by the domain0 kernel
261# and there's no easy way to detect this yet. Leave com0 out as it's the
262# port usually used for serial console
263#com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
264com1	at isa? port 0x2f8 irq 3
265#com2	at isa? port 0x3e8 irq 5
266#com3	at isa? port 0x2e8 irq 9
267
268# Parallel Printer Interfaces
269
270# PCI parallel printer interfaces
271lpt*	at puc? port ?			# || ports on "universal" comm boards
272
273# ISA parallel printer interfaces
274lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
275
276# Hardware monitors
277
278amdnb_misc* at pci?			# AMD NB Misc Configuration
279amdtemp* at amdnb_misc? 		# AMD CPU Temperature sensors
280
281amdsmn* at pci?				# AMD SMN Configuration
282amdzentemp* at amdsmnbus?		# AMD Ryzen Family 17h CPU temp sensors
283
284# AMD 768 and 8111 power/ACPI controllers
285amdpm*	at pci? dev ? function ?	# RNG and SMBus 1.0 interface
286#iic*	at amdpm?			# sensors below are on this bus
287
288# Intel ICH SMBus controller
289ichsmb* at pci? dev ? function ?
290iic*	at ichsmb?
291
292# I2C controller as found in some Intel PCH devices.
293dwiic*		at pci?			# I2C controller
294iic*		at dwiic?
295
296# Thermal monitor and fan controller
297#dbcool* at iic? addr 0x2C		# Unknown other motherboard(s)
298#dbcool* at iic? addr 0x2D		# Tyan S2881
299#dbcool* at iic? addr 0x2E		# Tyan S2882-D
300
301# Serial Presence Detect capable memory modules
302#spdmem* at iic? addr 0x50
303#spdmem* at iic? addr 0x51
304#spdmem* at iic? addr 0x52
305#spdmem* at iic? addr 0x53
306#spdmem* at iic? addr 0x54
307#spdmem* at iic? addr 0x55
308#spdmem* at iic? addr 0x56
309#spdmem* at iic? addr 0x57
310#sdtemp* at iic? addr 0x18
311#sdtemp* at iic? addr 0x19
312#sdtemp* at iic? addr 0x1a
313#sdtemp* at iic? addr 0x1b
314#sdtemp* at iic? addr 0x1c
315#sdtemp* at iic? addr 0x1d
316#sdtemp* at iic? addr 0x1e
317#sdtemp* at iic? addr 0x1f
318
319# Winbond LPC Super I/O
320#wbsio*	at isa? port 0x2e
321#wbsio*	at isa? port 0x4e
322
323# LM7[89] and compatible hardware monitors
324#lm0	at isa?	port 0x290		# other common: 0x280, 0x310, 0xc00
325#lm*	at wbsio?
326
327# VIA VT82C686A/VT8231 Hardware Monitor and Power Management TImer
328#viaenv* 	at pci? dev ? function ?
329
330
331# PCI network interfaces
332age*	at pci? dev ? function ?	# Attansic/Atheros L1 Gigabit Ethernet
333alc*	at pci? dev ? function ?	# Attansic/Atheros L1C/L2C Ethernet
334ale*	at pci? dev ? function ?	# Attansic/Atheros L1E Ethernet
335an*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11)
336aq*	at pci? dev ? function ?	# Aquantia AQC 10 gigabit
337ath*	at pci? dev ? function ?	# Atheros 5210/5211/5212 802.11
338atw*	at pci? dev ? function ?	# ADMtek ADM8211 (802.11)
339bce*	at pci? dev ? function ?	# Broadcom 4401 10/100 Ethernet
340bge*	at pci? dev ? function ?	# Broadcom 570x gigabit Ethernet
341bnx*	at pci? dev ? function ?	# Broadcom NetXtremeII gigabit Ethernet
342dge*	at pci? dev ? function ?	# Intel 82597 10GbE LR
343ep*	at pci? dev ? function ?	# 3Com 3c59x
344epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
345et*	at pci? dev ? function ?	# Agere/LSI ET1310/ET1301 Gigabit
346ex*	at pci? dev ? function ?	# 3Com 90x[BC]
347fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
348gsip*	at pci? dev ? function ?	# NS83820 Gigabit Ethernet
349hme*	at pci? dev ? function ?	# Sun Microelectronics STP2002-STQ
350ipw*	at pci? dev ? function ?	# Intel PRO/Wireless 2100
351iwi*	at pci? dev ? function ?	# Intel PRO/Wireless 2200BG
352iwn*	at pci? dev ? function ?	# Intel PRO/Wireless 4965AGN
353iwm*	at pci? dev ? function ?	# Intel Wireless WiFi Link 7xxx
354ixg*	at pci? dev ? function ?	# Intel 8259x 10 gigabit
355jme*	at pci? dev ? function ?	# JMicron JMC2[56]0 ethernet
356lii*	at pci? dev ? function ?	# Atheros L2 Fast-Ethernet
357mskc*	at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
358msk*	at mskc?			# Marvell Yukon 2 Gigabit Ethernet
359mtd*	at pci? dev ? function ?	# Myson MTD803 3-in-1 Ethernet
360ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
361nfe*	at pci?	dev ? function ?	# NVIDIA nForce Ethernet
362ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
363pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
364ral*	at pci? dev ? function ?	# Ralink Technology RT25x0 802.11a/b/g
365re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
366rtk*	at pci? dev ? function ?	# Realtek 8129/8139
367sf*	at pci? dev ? function ?	# Adaptec AIC-6915 Ethernet
368sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
369skc*	at pci? dev ? function ?	# SysKonnect SK9821 Gigabit Ethernet
370sk*	at skc?				# SysKonnect SK9821 Gigabit Ethernet
371ste*	at pci? dev ? function ?	# Sundance ST-201 Ethernet
372stge*	at pci? dev ? function ?	# Sundance/Tamarack TC9021 Gigabit
373ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
374tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
375tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
376txp*	at pci? dev ? function ?	# 3com 3cr990
377vge*	at pci? dev ? function ?	# VIATech VT612X Gigabit Ethernet
378vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
379wi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
380wm*	at pci? dev ? function ?	# Intel 8254x gigabit
381wpi*	at pci? dev ? function ?	# Intel PRO/Wireless 3945ABG
382xge*	at pci? dev ? function ?	# Neterion (S2io) Xframe-I 10GbE
383
384# MII/PHY support
385acphy*	at mii? phy ?			# Altima AC101 and AMD Am79c874 PHYs
386amhphy* at mii? phy ?			# AMD 79c901 Ethernet PHYs
387atphy*	at mii? phy ?			# Attansic/Atheros PHYs
388bmtphy* at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
389brgphy* at mii? phy ?			# Broadcom BCM5400-family PHYs
390ciphy*	at mii? phy ?			# Cicada CS8201 Gig-E PHYs
391dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
392etphy*	at mii? phy ?			# Agere/LSI ET1011 TruePHY Gig-E PHYs
393exphy*	at mii? phy ?			# 3Com internal PHYs
394gentbi* at mii? phy ?			# Generic Ten-Bit 1000BASE-[CLS]X PHYs
395glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
396gphyter* at mii? phy ?			# NS83861 Gig-E PHY
397icsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
398igphy*	at mii? phy ?			# Intel IGP01E1000
399ihphy*	at mii? phy ?			# Intel 82577 PHYs
400ikphy*	at mii? phy ?			# Intel 82563 PHYs
401inphy*	at mii? phy ?			# Intel 82555 PHYs
402iophy*	at mii? phy ?			# Intel 82553 PHYs
403lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
404makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
405nsphy*	at mii? phy ?			# NS83840 PHYs
406nsphyter* at mii? phy ? 		# NS83843 PHYs
407pnaphy* at mii? phy ?			# generic HomePNA PHYs
408qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
409rgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
410rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
411sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
412tlphy*	at mii? phy ?			# ThunderLAN PHYs
413tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
414ukphy*	at mii? phy ?			# generic unknown PHYs
415urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
416
417# I2C HID devices
418ihidev* at iic?
419
420# I2C Mice
421ims*	at ihidev? reportid ?
422wsmouse* at ims? mux 0
423
424# I2O devices
425iop*	at pci? dev ? function ?	# I/O processor
426iopsp*	at iop? tid ?			# SCSI/FC-AL ports
427ld*	at iop? tid ?			# block devices
428# XXX dpti.c wants a processor type that is not assigned for x86-64
429#dpti*	at iop? tid 0			# DPT/Adaptec control interface
430
431# IDE and related devices
432# PCI IDE controllers - see pciide(4) for supported hardware.
433# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
434# how to set up DMA modes for this chip. This may work, or may cause
435# a machine hang with some controllers.
436pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
437acardide*	at pci? dev ? function ?	# Acard IDE controllers
438aceride*	at pci? dev ? function ?	# Acer Lab IDE controllers
439ahcisata*	at pci? dev ? function ?	# AHCI SATA controllers
440artsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
441cmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
442cypide* 	at pci? dev ? function ?	# Cypress IDE controllers
443geodeide*	at pci? dev ? function ?	# AMD Geode IDE controllers
444hptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
445iteide* 	at pci? dev ? function ?	# IT Express IDE controllers
446ixpide* 	at pci? dev ? function ?	# ATI IXP IDE controllers
447jmide*		at pci? dev ? function ?	# JMicron PCI-e PATA/SATA controllers
448ahcisata*	at jmide?
449optiide*	at pci? dev ? function ?	# Opti IDE controllers
450piixide*	at pci? dev ? function ?	# Intel IDE controllers
451pdcide* 	at pci? dev ? function ?	# Promise IDE controllers
452pdcsata*	at pci? dev ? function ?	# Promise SATA150 controllers
453rccide* 	at pci? dev ? function ?	# ServerWorks IDE controllers
454satalink*	at pci? dev ? function ?	# SiI SATALink controllers
455siisata*	at pci? dev ? function ?	# SiI SteelVine controllers
456siside* 	at pci? dev ? function ?	# SiS IDE controllers
457slide*		at pci? dev ? function ?	# Symphony Labs IDE controllers
458svwsata*	at pci? dev ? function ?	# ServerWorks SATA controllers
459stpcide*	at pci? dev ? function ?	# STMicro STPC IDE controllers
460viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
461
462# ATA (IDE) bus support
463atabus* at ata?
464
465# IDE drives
466# Flags are used only with controllers that support DMA operations
467# and mode settings (e.g. some pciide controllers)
468# The lowest order four bits (rightmost digit) of the flags define the PIO
469# mode to use, the next set of four bits the DMA mode and the third set the
470# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
471# to use, and the last bit must be 1 for this setting to be used.
472# For DMA and UDMA, 0xf (1111) means 'disable'.
473# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
474# (0xc=1100, 0xa=1010, 0xf=1111)
475# 0x0000 means "use whatever the drive claims to support".
476wd*	at atabus? drive ? flags 0x0000
477
478# ATA RAID configuration support, as found on some Promise controllers.
479pseudo-device	ataraid
480ld*	at ataraid? vendtype ? unit ?
481
482# ATAPI bus support
483atapibus* at atapi?
484
485# ATAPI devices
486# flags have the same meaning as for IDE drives.
487cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
488sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
489st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
490uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
491
492# SCSI Controllers and Devices
493
494# PCI SCSI controllers
495adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
496adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
497ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
498ahd*	at pci? dev ? function ?	# Adaptec 29320, 39320 (aic790x) SCSI
499bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
500dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
501iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
502isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
503mfi*	at pci? dev ? function ?	# LSI MegaRAID SAS
504mfii*	at pci? dev ? function ?	# LSI MegaRAID SAS (Fusion and newer)
505mly*	at pci? dev ? function ?	# Mylex AcceleRAID and eXtremeRAID
506mpt*	at pci? dev ? function ?	# LSILogic 9x9 and 53c1030 (Fusion-MPT)
507mpii*	at pci? dev ? function ?	# LSI Logic Fusion-MPT II
508njs*	at pci? dev ? function ?	# Workbit NinjaSCSI-32
509pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
510siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
511esiop*	at pci? dev ? function ?	# Symbios 53c875 SCSI and newer
512#options 	SIOP_SYMLED		# drive the act. LED in software
513trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
514# SCSI bus support
515scsibus* at scsi?
516
517# SCSI devices
518sd*	at scsibus? target ? lun ?	# SCSI disk drives
519st*	at scsibus? target ? lun ?	# SCSI tape drives
520cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
521ch*	at scsibus? target ? lun ?	# SCSI autochangers
522ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
523ss*	at scsibus? target ? lun ?	# SCSI scanners
524uk*	at scsibus? target ? lun ?	# SCSI unknown
525
526# RAID controllers and devices
527aac*	at pci? dev ? function ?	# Adaptec AAC family
528amr*	at pci? dev ? function ?	# AMI/LSI Logic MegaRAID
529arcmsr* at pci? dev ? function ?	# Areca SATA RAID controllers
530cac*	at pci? dev ? function ?	# Compaq PCI array controllers
531ciss*	at pci? dev ? function ?	# HP Smart Array controllers
532icp*	at pci? dev ? function ?	# ICP-Vortex GDT & Intel RAID
533mlx*	at pci? dev ? function ?	# Mylex DAC960 & DEC SWXCR family
534twe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
535twa*	at pci? dev ? function ?	# 3ware Escalade 95xx RAID controllers
536
537ld*	at aac? unit ?			# logical disk devices
538ld*	at amr? unit ?
539ld*	at cac? unit ?
540ld*	at icp? unit ?
541ld*	at twe? unit ?
542ld*	at twa? unit ?
543ld*	at mlx? unit ?
544
545icpsp*	at icp? unit ?			# SCSI pass-through
546
547# NVM Express controllers and devices
548nvme*	at pci? dev ? function ?
549ld*	at nvme? nsid ?
550
551# wscons
552pckbc0		at isa?			# pc keyboard controller
553pckbd*		at pckbc?		# PC keyboard
554pms*		at pckbc?		# PS/2 mouse for wsmouse
555#options 	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
556options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
557#vga0		at isa?
558vga*		at pci? dev ? function ?
559#pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
560#machfb* 	at pci? dev ? function ? # ATI Mach64 framebuffer driver
561wsdisplay*	at vga? console ?
562#wsdisplay*	at pcdisplay? console ?
563#wsdisplay*	at machfb? console ?
564wskbd*		at pckbd? console ?
565wsmouse*	at pms? mux 0
566
567# USB Controller and Devices
568
569# PCI USB controllers
570xhci*	at pci? dev ? function ?	# eXtensible Host Controller
571ehci*	at pci? dev ? function ?	# Enhanced Host Controller
572ohci*	at pci? dev ? function ?	# Open Host Controller
573uhci*	at pci? dev ? function ?	# Universal Host Controller (Intel)
574
575# USB bus support
576usb*	at xhci?
577usb*	at ehci?
578usb*	at ohci?
579usb*	at uhci?
580
581# USB Hubs
582uhub*	at usb?
583uhub*	at uhub? port ?
584
585# USB HID device
586uhidev* at uhub? port ? configuration ? interface ?
587
588# USB Mice
589ums*	at uhidev? reportid ?
590wsmouse* at ums? mux 0
591
592# USB eGalax touch-panel
593uep*	at uhub? port ?
594wsmouse* at uep? mux 0
595
596# USB Keyboards
597ukbd*	at uhidev? reportid ?
598wskbd*	at ukbd? console ? mux 1
599
600# USB serial adapter
601ucycom* at uhidev? reportid ?
602
603# USB Generic HID devices
604uhid*	at uhidev? reportid ?
605
606# USB Printer
607ulpt*	at uhub? port ? configuration ? interface ?
608
609# USB Modem
610umodem* at uhub? port ? configuration ?
611ucom*	at umodem?
612
613# Option N.V. Wireless WAN modems
614uhso*	at uhub? port ? configuration ?
615
616# USB Mass Storage
617umass*	at uhub? port ? configuration ? interface ?
618
619# USB audio
620uaudio* at uhub? port ? configuration ?
621
622# USB MIDI
623umidi*	at uhub? port ? configuration ?
624
625# USB IrDA
626# USB-IrDA bridge spec
627uirda*	at uhub? port ? configuration ? interface ?
628irframe* at uirda?
629
630# SigmaTel STIr4200 USB/IrDA Bridge
631ustir*	at uhub? port ?
632irframe* at ustir?
633
634# USB Ethernet adapters
635aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
636axe*	at uhub? port ?		# ASIX AX88172 based adapters
637cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
638cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
639kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
640mue*	at uhub? port ?		# Microchip LAN75xx/LAN78xx based adapters
641udav*	at uhub? port ?		# Davicom DM9601 based adapters
642ure*	at uhub? port ?		# Realtek RTL8152/RTL8153 based adapters
643url*	at uhub? port ?		# Realtek RTL8150L based adapters
644urndis* at uhub? port ? 	# Microsoft RNDIS specification
645
646# USB 802.11 adapters
647atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
648ural*	at uhub? port ?		# Ralink Technology RT2500USB 802.11a/b/g
649rum*	at uhub? port ?		# Ralink Technology RT2501/RT2601 802.11a/b/g
650urtw*	at uhub? port ?		# Realtek RTL8187/RTL8187B 802.11b/g
651
652# Prolific PL2301/PL2302 host-to-host adapter
653upl*	at uhub? port ?
654
655# Serial adapters
656ubsa*	at uhub? port ?		# Belkin serial adapter
657ucom*	at ubsa? portno ?
658
659uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
660ucom*	at uftdi? portno ?
661
662umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
663ucom*	at umct? portno ?
664
665uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
666ucom*	at uplcom? portno ?
667
668uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
669ucom*	at uvscom? portno ?
670
671# USB Handspring Visor
672uvisor* at uhub? port ?
673ucom*	at uvisor?
674
675# Kyocera AIR-EDGE PHONE
676ukyopon* at uhub? port ?
677ucom*	at ukyopon? portno ?
678
679# USB scanners
680#uscanner* at uhub? port ?
681
682# USB scanners that use SCSI emulation, e.g., HP5300
683usscanner* at uhub? port ?
684
685# D-Link DSB-R100 USB radio
686udsbr*	at uhub? port ?
687radio*	at udsbr?
688
689# USB Generic driver
690ugen*	at uhub? port ?
691
692# PCI IEEE1394 controllers
693fwohci* at pci? dev ? function ?	# IEEE1394 Open Host Controller
694
695# CardBus IEEE1394 controllers
696#fwohci* at cardbus? function ?		# IEEE1394 Open Host Controller
697
698ieee1394if* at fwohci?
699fwip*	at ieee1394if?			# IP over IEEE1394
700sbp*	at ieee1394if? euihi ? euilo ?	# SCSI over IEEE1394
701
702# PCI audio devices
703auacer* at pci? dev ? function ?	# ALi M5455 integrated AC'97 Audio
704auich*	at pci? dev ? function ?	# Intel ICH integrated AC'97 Audio
705auixp*	at pci? dev ? function ?	# ATI IXP AC'97 Audio
706autri*	at pci? dev ? function ?	# Trident 4DWAVE based AC'97 Audio
707auvia*	at pci? dev ? function ?	# VIA VT82C686A integrated AC'97 Audio
708clcs*	at pci? dev ? function ?	# Cirrus Logic CS4280
709clct*	at pci? dev ? function ?	# Cirrus Logic CS4281
710cmpci*	at pci? dev ? function ?	# C-Media CMI8338/8738
711eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
712emuxki* at pci? dev ? function ?	# Creative SBLive! and PCI512
713esa*	at pci? dev ? function ?	# ESS Allegro-1 / Maestro-3 PCI Audio
714esm*	at pci? dev ? function ?	# ESS Maestro-1/2/2e PCI Audio Accelerator
715eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
716fms*	at pci? dev ? function ?	# Forte Media FM801
717neo*	at pci? dev ? function ?	# NeoMagic 256 AC'97 Audio
718sv*	at pci? dev ? function ?	# S3 SonicVibes
719yds*	at pci? dev ? function ?	# Yamaha DS-1 PCI Audio
720
721# OPL[23] FM synthesizers
722#opl0	at isa? port 0x388	# use only if not attached to sound card
723opl*	at cmpci? flags 1
724opl*	at eso?
725opl*	at fms?
726opl*	at sv?
727opl*	at yds?
728
729# High Definition Audio
730hdaudio*	at pci? dev ? function ?	# High Definition Audio
731hdafg*		at hdaudiobus?
732
733# Audio support
734audio*	at audiobus?
735
736spkr*	at audio?		# PC speaker (synthesized)
737
738# MPU 401 UARTs
739#mpu*	at isa? port 0x330 irq 9	# MPU401 or compatible card
740mpu*	at cmpci?
741mpu*	at eso?
742mpu*	at fms?
743mpu*	at yds?
744
745# MIDI support
746midi*	at midibus?
747
748# Bluetooth Controller and Device support
749
750# Bluetooth PCMCIA Controllers
751#bt3c* at pcmcia? function ?		# 3Com 3CRWB6096-A
752#btbc* at pcmcia? function ?		# AnyCom BlueCard LSE041/039/139
753
754# Bluetooth USB Controllers
755ubt* at uhub? port ?
756aubtfwl* at uhub? port ?
757
758# Bluetooth Device Hub
759#bthub* at bt3c?
760#bthub* at btbh?
761bthub* at ubt?
762
763# Bluetooth HID support
764bthidev* at bthub?
765
766# Bluetooth Mouse
767btms* at bthidev? reportid ?
768wsmouse* at btms? mux 0
769
770# Bluetooth Keyboard
771btkbd* at bthidev? reportid ?
772wskbd* at btkbd? console ? mux 1
773
774# Bluetooth Apple Magic Mouse
775btmagic* at bthub?
776wsmouse* at btmagic? mux 0
777
778# Bluetooth Audio support
779btsco* at bthub?
780
781
782# SD/MMC/SDIO Controller and Device support
783
784# SD/MMC controller
785sdhc*	at pci?		# SD Host Controller
786rtsx*	at pci?		# Realtek RTS5209/RTS5229 Card Reader
787#sdhc*	at cardbus?	# SD Host Controller
788sdmmc*	at sdhc?	# SD/MMC bus
789sdmmc*	at rtsx?	# SD/MMC bus
790
791ld*	at sdmmc?
792
793
794# Cryptographic Devices
795
796# PCI cryptographic devices
797hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
798ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
799
800cinclude "arch/amd64/conf/GENERIC.local"
801cinclude "arch/amd64/conf/XEN3_DOM0.local"
802
803# Pseudo-Devices
804
805#
806# accept filters
807pseudo-device	accf_data	# "dataready" accept filter
808pseudo-device	accf_http	# "httpready" accept filter
809
810pseudo-device	crypto		# /dev/crypto device
811pseudo-device	swcrypto	# software crypto implementation
812
813# disk/mass storage pseudo-devices
814pseudo-device	bio			# RAID control device driver
815pseudo-device	ccd			# concatenated/striped disk devices
816pseudo-device	cgd			# cryptographic disk devices
817pseudo-device	raid			# RAIDframe disk driver
818options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
819# Options to enable various other RAIDframe RAID types.
820#options 	RF_INCLUDE_EVENODD=1
821#options 	RF_INCLUDE_RAID5_RS=1
822#options 	RF_INCLUDE_PARITYLOGGING=1
823#options 	RF_INCLUDE_CHAINDECLUSTER=1
824#options 	RF_INCLUDE_INTERDECLUSTER=1
825#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
826#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
827pseudo-device	fss			# file system snapshot device
828
829pseudo-device	md			# memory disk device (ramdisk)
830pseudo-device	vnd			# disk-like interface to files
831pseudo-device	dm			# device-mapper driver for LVM
832
833# network pseudo-devices
834pseudo-device	bpfilter		# Berkeley packet filter
835pseudo-device	loop			# network loopback
836pseudo-device	ppp			# Point-to-Point Protocol
837pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
838pseudo-device	sl			# Serial Line IP
839pseudo-device	tap			# virtual Ethernet
840pseudo-device	tun			# network tunneling over tty
841pseudo-device	gre			# generic L3 over IP tunnel
842pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
843#pseudo-device	faith			# IPv[46] tcp relay translation i/f
844pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
845pseudo-device	vlan			# IEEE 802.1q encapsulation
846pseudo-device	bridge			# simple inter-network bridging
847#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
848pseudo-device	l2tp			# L2TPv3 interface
849pseudo-device	npf			# NPF packet filter
850
851# miscellaneous pseudo-devices
852pseudo-device	pty			# pseudo-terminals
853pseudo-device	clockctl		# user control of clock subsystem
854pseudo-device	ksyms			# /dev/ksyms
855
856# iSCSI initiator
857#pseudo-device	iscsi
858
859# wscons pseudo-devices
860pseudo-device	wsmux			# mouse & keyboard multiplexor
861pseudo-device	wsfont
862
863# userland interface to drivers, including autoconf and properties retrieval
864pseudo-device	drvctl
865
866# xen pseudo-devices
867pseudo-device	xenevt
868pseudo-device	xvif
869pseudo-device	xbdback
870
871options 	PAX_MPROTECT=1		# PaX mprotect(2) restrictions
872options 	PAX_ASLR=1		# PaX Address Space Layout Randomization
873
874# Atheros HAL options
875include "external/isc/atheros_hal/conf/std.ath_hal"
876