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