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