XEN3_DOM0 revision 1.168
1# $NetBSD: XEN3_DOM0,v 1.168 2019/08/09 08:01:06 rin Exp $
2
3include 	"arch/amd64/conf/std.xen"
4
5options		XENPV		# PV dom0 support
6#options 	MULTIPROCESSOR	# (not yet - dom0 stuff is not MP-safe)
7
8options 	INCLUDE_CONFIG_FILE	# embed config file in kernel binary
9
10#options 	UVMHIST
11#options 	UVMHIST_PRINT
12#options 	SYSCALL_DEBUG
13
14#ident		"XEN3_DOM0-$Revision: 1.168 $"
15
16maxusers	32		# estimated number of users
17
18#
19options 	DOM0OPS
20
21# boot messages with MPBIOS, acpi and ioapic can be quite large
22options 	MSGBUFSIZE=24576
23
24#options 	USER_LDT	# user-settable LDT; used by WINE
25
26# CPU features
27est0		at cpu0		# Intel Enhanced SpeedStep (non-ACPI)
28powernow0	at cpu0		# AMD PowerNow! and Cool'n'Quiet (non-ACPI)
29
30#options 	MTRR		# memory-type range register syscall support
31
32#options 	CONSDEVNAME="\"xencons\""
33#options 	CONS_OVERRIDE
34
35options 	INSECURE	# disable kernel security levels - X needs this
36
37options 	RTC_OFFSET=0	# hardware clock is this many mins. west of GMT
38options 	NTP		# NTP phase/frequency locked loop
39
40options 	KTRACE		# system call tracing via ktrace(1)
41
42options 	CPU_UCODE	# cpu ucode loading support
43
44options 	SYSVMSG		# System V-like message queues
45options 	SYSVSEM		# System V-like semaphores
46options 	SYSVSHM		# System V-like memory sharing
47
48options 	MODULAR		# new style module(7) framework
49options 	USERCONF	# userconf(4) support
50options 	SYSCTL_INCLUDE_DESCR	# Include sysctl descriptions in kernel
51
52# Alternate buffer queue strategies for better responsiveness under high
53# disk I/O load.
54#options 	BUFQ_READPRIO
55options 	BUFQ_PRIOCSCAN
56
57# Diagnostic/debugging support options
58options 	DIAGNOSTIC	# inexpensive kernel consistency checks
59#options 	DEBUG		# expensive debugging checks/support
60options 	DDB		# in-kernel debugger
61options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
62options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
63#options 	KGDB		# remote debugger
64#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
65#makeoptions	DEBUG="-g"	# compile full symbol table
66makeoptions	COPTS="-O2 -fno-omit-frame-pointer"
67options DDB_COMMANDONENTER="show registers"
68
69# Compatibility options
70include 	"conf/compat_netbsd15.config"
71#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
72
73options 	COMPAT_OSSAUDIO
74options 	COMPAT_NETBSD32
75options 	COMPAT_LINUX
76options 	COMPAT_LINUX32	# req. COMPAT_LINUX and COMPAT_NETBSD32
77options 	EXEC_ELF32
78
79# Wedge support
80options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
81options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
82#options 	DKWEDGE_METHOD_BSDLABEL	# Support disklabel entries as wedges
83#options 	DKWEDGE_METHOD_MBR	# Support MBR partitions as wedges
84options 	DKWEDGE_METHOD_APPLE	# Support Apple partitions as wedges
85#options 	DKWEDGE_METHOD_RDB	# Support RDB partitions as wedges
86
87# File systems
88include "conf/filesystems.config"
89
90# File system options
91options 	QUOTA		# legacy UFS quotas
92options 	QUOTA2		# new, in-filesystem UFS quotas
93#options 	DISKLABEL_EI	# disklabel Endian Independent support
94#options 	FFS_EI		# FFS Endian Independent support
95options 	WAPBL		# File system journaling support
96#options 	UFS_DIRHASH	# UFS Large Directory Hashing - Experimental
97options 	NFSSERVER	# Network File System server
98#options 	FFS_NO_SNAPSHOT	# No FFS snapshot support
99options 	UFS_EXTATTR	# Extended attribute support for UFS1
100#options 	EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and
101				# immutable) behave as system flags.
102
103# Networking options
104#options 	GATEWAY		# packet forwarding
105options 	INET		# IP + ICMP + TCP + UDP
106options 	INET6		# IPV6
107options 	IPSEC		# IP security
108#options 	IPSEC_DEBUG	# debug for IP security
109#options 	MROUTING	# IP multicast routing
110#options 	PIM		# Protocol Independent Multicast
111options 	NETATALK	# AppleTalk networking protocols
112options 	PPP_BSDCOMP	# BSD-Compress compression support for PPP
113options 	PPP_DEFLATE	# Deflate compression support for PPP
114options 	PPP_FILTER	# Active filter support for PPP (requires bpf)
115#options 	TCP_DEBUG	# Record last TCP_NDEBUG packets with SO_DEBUG
116
117#options 	ALTQ		# Manipulate network interfaces' output queues
118#options 	ALTQ_BLUE	# Stochastic Fair Blue
119#options 	ALTQ_CBQ	# Class-Based Queueing
120#options 	ALTQ_CDNR	# Diffserv Traffic Conditioner
121#options 	ALTQ_FIFOQ	# First-In First-Out Queue
122#options 	ALTQ_FLOWVALVE	# RED/flow-valve (red-penalty-box)
123#options 	ALTQ_HFSC	# Hierarchical Fair Service Curve
124#options 	ALTQ_LOCALQ	# Local queueing discipline
125#options 	ALTQ_PRIQ	# Priority Queueing
126#options 	ALTQ_RED	# Random Early Detection
127#options 	ALTQ_RIO	# RED with IN/OUT
128#options 	ALTQ_WFQ	# Weighted Fair Queueing
129
130options 	NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM
131#options 	NFS_BOOT_BOOTSTATIC
132#options 	NFS_BOOTSTATIC_MYIP="\"169.254.1.2\""
133#options 	NFS_BOOTSTATIC_GWIP="\"169.254.1.1\""
134#options 	NFS_BOOTSTATIC_MASK="\"255.255.255.0\""
135#options 	NFS_BOOTSTATIC_SERVADDR="\"169.254.1.1\""
136#options 	NFS_BOOTSTATIC_SERVER="\"server:/path/to/root\""
137
138#
139# wscons options
140#
141# builtin terminal emulations
142#options 	WSEMUL_SUN		# sun terminal emulation
143options 	WSEMUL_VT100		# VT100 / VT220 emulation
144# different kernel output - see dev/wscons/wsdisplayvar.h
145options 	WS_KERNEL_FG=WSCOL_GREEN
146#options 	WS_KERNEL_BG=WSCOL_BLACK
147# compatibility to other console drivers
148options 	WSDISPLAY_COMPAT_PCVT		# emulate some ioctls
149options 	WSDISPLAY_COMPAT_SYSCONS	# emulate some ioctls
150options 	WSDISPLAY_COMPAT_USL		# wsconscfg VT handling
151options 	WSDISPLAY_COMPAT_RAWKBD		# can get raw scancodes
152# see dev/pckbport/wskbdmap_mfii.c for implemented layouts
153#options 	PCKBD_LAYOUT="(KB_DE | KB_NODEAD)"
154# allocate a number of virtual screens at autoconfiguration time
155#options 	WSDISPLAY_DEFAULTSCREENS=4
156# use a large software cursor that doesn't blink
157options 	PCDISPLAY_SOFTCURSOR
158# modify the screen type of the console; defaults to "80x25"
159#options 	VGA_CONSOLE_SCREENTYPE="\"80x24\""
160# work around a hardware bug that loaded fonts don't work; found on ATI cards
161#options 	VGA_CONSOLE_ATI_BROKEN_FONTSEL
162# console scrolling support.
163options 	WSDISPLAY_SCROLLSUPPORT
164# enable VGA raster mode capable of displaying multilingual text on console
165#options 	VGA_RASTERCONSOLE
166config		netbsd	root on ? type ?
167#config		netbsd	root on wd0a type ffs
168#config		netbsd	root on xennet0 type nfs
169
170mainbus0 at root
171
172cpu* at mainbus?
173
174# IPMI support
175ipmi0		at mainbus?
176ipmi_acpi*	at acpi?
177ipmi0		at ipmi_acpi? 
178
179hypervisor*	at mainbus?		# Xen hypervisor
180
181vcpu*		at hypervisor?		# Xen virtual CPUs
182
183xenbus* 	at hypervisor?		# Xen virtual bus
184
185xencons*	at hypervisor?		# Xen virtual console
186balloon*	at xenbus?		# Xen balloon device
187
188acpi0		at hypervisor?		# ACPI access in PV mode
189acpi0		at mainbus?		# ACPI access in PVH(VM) mode
190
191#options 	ACPI_ACTIVATE_DEV	# If set, activate inactive devices
192options 	ACPI_SCANPCI		# find PCI roots using ACPI
193#options 	ACPICA_PEDANTIC		# force strict conformance to the Spec.
194#options 	ACPIVERBOSE		# verbose ACPI configuration messages
195#options 	MIIVERBOSE		# verbose PHY autoconfig messages
196options 	MPBIOS			# configure CPUs and APICs using MPBIOS
197#options 	MPDEBUG			# MPBIOS configures PCI roots
198#options 	MPVERBOSE		# verbose MPBIOS autoconfig messages
199options 	MPBIOS_SCANPCI		# MPBIOS configures PCI roots
200#options 	PCI_ADDR_FIXUP		# fixup PCI I/O addresses
201#options 	PCI_BUS_FIXUP		# fixup PCI bus numbering
202#options 	PCI_INTR_FIXUP		# fixup PCI interrupt routing
203#options 	PCIVERBOSE		# verbose PCI device autoconfig messages
204#options 	USBVERBOSE		# verbose USB device autoconfig messages
205#options 	HDAUDIOVERBOSE		# verbose HDAUDIO driver messages
206
207ioapic* 	at mainbus? apid ?
208
209# ACPI devices
210acpiacad*	at acpi?		# ACPI AC Adapter
211acpibat*	at acpi?		# ACPI Battery
212acpibut*	at acpi?		# ACPI Button
213acpidalb*	at acpi?		# ACPI Direct Application Launch Button
214acpiec* 	at acpi?		# ACPI Embedded Controller (late)
215acpiecdt*	at acpi?		# ACPI Embedded Controller (early)
216acpilid*	at acpi?		# ACPI Lid Switch
217acpitz* 	at acpi?		# ACPI Thermal Zone
218aibs*		at acpi?		# ASUSTeK AI Booster hardware monitor
219hpqlb*		at acpi?		# HP Quick Launch Buttons
220pckbc*		at acpi?		# PC keyboard controller
221pcppi*		at acpi?		# AT-style speaker sound
222
223# PCI bus support
224pci*		at hypervisor? bus ?
225pci*		at pchb? bus ?
226ppb*		at pci? dev ? function ?	# PCI-PCI bridges
227pci*		at ppb? bus ?
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)
336ath*	at pci? dev ? function ?	# Atheros 5210/5211/5212 802.11
337atw*	at pci? dev ? function ?	# ADMtek ADM8211 (802.11)
338bce*	at pci? dev ? function ?	# Broadcom 4401 10/100 Ethernet
339bge*	at pci? dev ? function ?	# Broadcom 570x gigabit Ethernet
340bnx*	at pci? dev ? function ?	# Broadcom NetXtremeII gigabit Ethernet
341dge*	at pci? dev ? function ?	# Intel 82597 10GbE LR
342ep*	at pci? dev ? function ?	# 3Com 3c59x
343epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
344esh*	at pci? dev ? function ?	# Essential HIPPI card
345et*	at pci? dev ? function ?	# Agere/LSI ET1310/ET1301 Gigabit
346ex*	at pci? dev ? function ?	# 3Com 90x[BC]
347fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
348fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
349gsip*	at pci? dev ? function ?	# NS83820 Gigabit Ethernet
350hme*	at pci? dev ? function ?	# Sun Microelectronics STP2002-STQ
351ipw*	at pci? dev ? function ?	# Intel PRO/Wireless 2100
352iwi*	at pci? dev ? function ?	# Intel PRO/Wireless 2200BG
353iwn*	at pci? dev ? function ?	# Intel PRO/Wireless 4965AGN
354iwm*	at pci? dev ? function ?	# Intel Wireless WiFi Link 7xxx
355ixg*	at pci? dev ? function ?	# Intel 8259x 10 gigabit
356jme*	at pci? dev ? function ?	# JMicron JMC2[56]0 ethernet
357le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
358lii*	at pci? dev ? function ?	# Atheros L2 Fast-Ethernet
359mskc*	at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
360msk*	at mskc?			# Marvell Yukon 2 Gigabit Ethernet
361mtd*	at pci? dev ? function ?	# Myson MTD803 3-in-1 Ethernet
362ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
363nfe*	at pci?	dev ? function ?	# NVIDIA nForce Ethernet
364ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
365pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
366ral*	at pci? dev ? function ?	# Ralink Technology RT25x0 802.11a/b/g
367re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
368rtk*	at pci? dev ? function ?	# Realtek 8129/8139
369sf*	at pci? dev ? function ?	# Adaptec AIC-6915 Ethernet
370sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
371skc*	at pci? dev ? function ?	# SysKonnect SK9821 Gigabit Ethernet
372sk*	at skc?				# SysKonnect SK9821 Gigabit Ethernet
373ste*	at pci? dev ? function ?	# Sundance ST-201 Ethernet
374stge*	at pci? dev ? function ?	# Sundance/Tamarack TC9021 Gigabit
375ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
376tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
377tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
378txp*	at pci? dev ? function ?	# 3com 3cr990
379vge*	at pci? dev ? function ?	# VIATech VT612X Gigabit Ethernet
380vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
381wi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
382wm*	at pci? dev ? function ?	# Intel 8254x gigabit
383wpi*	at pci? dev ? function ?	# Intel PRO/Wireless 3945ABG
384xge*	at pci? dev ? function ?	# Neterion (S2io) Xframe-I 10GbE
385
386# MII/PHY support
387acphy*	at mii? phy ?			# Altima AC101 and AMD Am79c874 PHYs
388amhphy* at mii? phy ?			# AMD 79c901 Ethernet PHYs
389atphy*	at mii? phy ?			# Attansic/Atheros PHYs
390bmtphy* at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
391brgphy* at mii? phy ?			# Broadcom BCM5400-family PHYs
392ciphy*	at mii? phy ?			# Cicada CS8201 Gig-E PHYs
393dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
394etphy*	at mii? phy ?			# Agere/LSI ET1011 TruePHY Gig-E PHYs
395exphy*	at mii? phy ?			# 3Com internal PHYs
396gentbi* at mii? phy ?			# Generic Ten-Bit 1000BASE-[CLS]X PHYs
397glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
398gphyter* at mii? phy ?			# NS83861 Gig-E PHY
399icsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
400igphy*	at mii? phy ?			# Intel IGP01E1000
401ihphy*	at mii? phy ?			# Intel 82577 PHYs
402ikphy*	at mii? phy ?			# Intel 82563 PHYs
403inphy*	at mii? phy ?			# Intel 82555 PHYs
404iophy*	at mii? phy ?			# Intel 82553 PHYs
405lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
406makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
407nsphy*	at mii? phy ?			# NS83840 PHYs
408nsphyter* at mii? phy ? 		# NS83843 PHYs
409pnaphy* at mii? phy ?			# generic HomePNA PHYs
410qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
411rgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
412rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
413sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
414tlphy*	at mii? phy ?			# ThunderLAN PHYs
415tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
416ukphy*	at mii? phy ?			# generic unknown PHYs
417urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
418
419# I2C HID devices
420ihidev* at iic?
421
422# I2C Mice
423ims*	at ihidev? reportid ?
424wsmouse* at ims? mux 0
425
426# I2O devices
427iop*	at pci? dev ? function ?	# I/O processor
428iopsp*	at iop? tid ?			# SCSI/FC-AL ports
429ld*	at iop? tid ?			# block devices
430# XXX dpti.c wants a processor type that is not assigned for x86-64
431#dpti*	at iop? tid 0			# DPT/Adaptec control interface
432
433# IDE and related devices
434# PCI IDE controllers - see pciide(4) for supported hardware.
435# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
436# how to set up DMA modes for this chip. This may work, or may cause
437# a machine hang with some controllers.
438pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
439acardide*	at pci? dev ? function ?	# Acard IDE controllers
440aceride*	at pci? dev ? function ?	# Acer Lab IDE controllers
441ahcisata*	at pci? dev ? function ?	# AHCI SATA controllers
442artsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
443cmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
444cypide* 	at pci? dev ? function ?	# Cypress IDE controllers
445geodeide*	at pci? dev ? function ?	# AMD Geode IDE controllers
446hptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
447iteide* 	at pci? dev ? function ?	# IT Express IDE controllers
448ixpide* 	at pci? dev ? function ?	# ATI IXP IDE controllers
449jmide*		at pci? dev ? function ?	# JMicron PCI-e PATA/SATA controllers
450ahcisata*	at jmide?
451optiide*	at pci? dev ? function ?	# Opti IDE controllers
452piixide*	at pci? dev ? function ?	# Intel IDE controllers
453pdcide* 	at pci? dev ? function ?	# Promise IDE controllers
454pdcsata*	at pci? dev ? function ?	# Promise SATA150 controllers
455rccide* 	at pci? dev ? function ?	# ServerWorks IDE controllers
456satalink*	at pci? dev ? function ?	# SiI SATALink controllers
457siisata*	at pci? dev ? function ?	# SiI SteelVine controllers
458siside* 	at pci? dev ? function ?	# SiS IDE controllers
459slide*		at pci? dev ? function ?	# Symphony Labs IDE controllers
460svwsata*	at pci? dev ? function ?	# ServerWorks SATA controllers
461stpcide*	at pci? dev ? function ?	# STMicro STPC IDE controllers
462viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
463
464# ATA (IDE) bus support
465atabus* at ata?
466
467# IDE drives
468# Flags are used only with controllers that support DMA operations
469# and mode settings (e.g. some pciide controllers)
470# The lowest order four bits (rightmost digit) of the flags define the PIO
471# mode to use, the next set of four bits the DMA mode and the third set the
472# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
473# to use, and the last bit must be 1 for this setting to be used.
474# For DMA and UDMA, 0xf (1111) means 'disable'.
475# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
476# (0xc=1100, 0xa=1010, 0xf=1111)
477# 0x0000 means "use whatever the drive claims to support".
478wd*	at atabus? drive ? flags 0x0000
479
480# ATA RAID configuration support, as found on some Promise controllers.
481pseudo-device	ataraid
482ld*	at ataraid? vendtype ? unit ?
483
484# ATAPI bus support
485atapibus* at atapi?
486
487# ATAPI devices
488# flags have the same meaning as for IDE drives.
489cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
490sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
491st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
492uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
493
494# SCSI Controllers and Devices
495
496# PCI SCSI controllers
497adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
498adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
499ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
500ahd*	at pci? dev ? function ?	# Adaptec 29320, 39320 (aic790x) SCSI
501bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
502dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
503iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
504isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
505mfi*	at pci? dev ? function ?	# LSI MegaRAID SAS
506mfii*	at pci? dev ? function ?	# LSI MegaRAID SAS (Fusion and newer)
507mly*	at pci? dev ? function ?	# Mylex AcceleRAID and eXtremeRAID
508mpt*	at pci? dev ? function ?	# LSILogic 9x9 and 53c1030 (Fusion-MPT)
509mpii*	at pci? dev ? function ?	# LSI Logic Fusion-MPT II
510njs*	at pci? dev ? function ?	# Workbit NinjaSCSI-32
511pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
512siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
513esiop*	at pci? dev ? function ?	# Symbios 53c875 SCSI and newer
514#options 	SIOP_SYMLED		# drive the act. LED in software
515trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
516# SCSI bus support
517scsibus* at scsi?
518
519# SCSI devices
520sd*	at scsibus? target ? lun ?	# SCSI disk drives
521st*	at scsibus? target ? lun ?	# SCSI tape drives
522cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
523ch*	at scsibus? target ? lun ?	# SCSI autochangers
524ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
525ss*	at scsibus? target ? lun ?	# SCSI scanners
526uk*	at scsibus? target ? lun ?	# SCSI unknown
527
528# RAID controllers and devices
529aac*	at pci? dev ? function ?	# Adaptec AAC family
530amr*	at pci? dev ? function ?	# AMI/LSI Logic MegaRAID
531arcmsr* at pci? dev ? function ?	# Areca SATA RAID controllers
532cac*	at pci? dev ? function ?	# Compaq PCI array controllers
533ciss*	at pci? dev ? function ?	# HP Smart Array controllers
534icp*	at pci? dev ? function ?	# ICP-Vortex GDT & Intel RAID
535mlx*	at pci? dev ? function ?	# Mylex DAC960 & DEC SWXCR family
536twe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
537twa*	at pci? dev ? function ?	# 3ware Escalade 95xx RAID controllers
538
539ld*	at aac? unit ?			# logical disk devices
540ld*	at amr? unit ?
541ld*	at cac? unit ?
542ld*	at icp? unit ?
543ld*	at twe? unit ?
544ld*	at twa? unit ?
545ld*	at mlx? unit ?
546
547icpsp*	at icp? unit ?			# SCSI pass-through
548
549# NVM Express controllers and devices
550nvme*	at pci? dev ? function ?
551ld*	at nvme? nsid ?
552
553# wscons
554pckbc0		at isa?			# pc keyboard controller
555pckbd*		at pckbc?		# PC keyboard
556pms*		at pckbc?		# PS/2 mouse for wsmouse
557#options 	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
558options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
559#vga0		at isa?
560vga*		at pci? dev ? function ?
561#pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
562#machfb* 	at pci? dev ? function ? # ATI Mach64 framebuffer driver
563wsdisplay*	at vga? console ?
564#wsdisplay*	at pcdisplay? console ?
565#wsdisplay*	at machfb? console ?
566wskbd*		at pckbd? console ?
567wsmouse*	at pms? mux 0
568
569# USB Controller and Devices
570
571# PCI USB controllers
572xhci*	at pci? dev ? function ?	# eXtensible Host Controller
573ehci*	at pci? dev ? function ?	# Enhanced Host Controller
574ohci*	at pci? dev ? function ?	# Open Host Controller
575uhci*	at pci? dev ? function ?	# Universal Host Controller (Intel)
576
577# USB bus support
578usb*	at xhci?
579usb*	at ehci?
580usb*	at ohci?
581usb*	at uhci?
582
583# USB Hubs
584uhub*	at usb?
585uhub*	at uhub? port ?
586
587# USB HID device
588uhidev* at uhub? port ? configuration ? interface ?
589
590# USB Mice
591ums*	at uhidev? reportid ?
592wsmouse* at ums? mux 0
593
594# USB eGalax touch-panel
595uep*	at uhub? port ?
596wsmouse* at uep? mux 0
597
598# USB Keyboards
599ukbd*	at uhidev? reportid ?
600wskbd*	at ukbd? console ? mux 1
601
602# USB serial adapter
603ucycom* at uhidev? reportid ?
604
605# USB Generic HID devices
606uhid*	at uhidev? reportid ?
607
608# USB Printer
609ulpt*	at uhub? port ? configuration ? interface ?
610
611# USB Modem
612umodem* at uhub? port ? configuration ?
613ucom*	at umodem?
614
615# Option N.V. Wireless WAN modems
616uhso*	at uhub? port ? configuration ?
617
618# USB Mass Storage
619umass*	at uhub? port ? configuration ? interface ?
620
621# USB audio
622uaudio* at uhub? port ? configuration ?
623
624# USB MIDI
625umidi*	at uhub? port ? configuration ?
626
627# USB IrDA
628# USB-IrDA bridge spec
629uirda*	at uhub? port ? configuration ? interface ?
630irframe* at uirda?
631
632# SigmaTel STIr4200 USB/IrDA Bridge
633ustir*	at uhub? port ?
634irframe* at ustir?
635
636# USB Ethernet adapters
637aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
638axe*	at uhub? port ?		# ASIX AX88172 based adapters
639cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
640cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
641kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
642mue*	at uhub? port ?		# Microchip LAN75xx/LAN78xx based adapters
643udav*	at uhub? port ?		# Davicom DM9601 based adapters
644ure*	at uhub? port ?		# Realtek RTL8152/RTL8153 based adapters
645url*	at uhub? port ?		# Realtek RTL8150L based adapters
646urndis* at uhub? port ? 	# Microsoft RNDIS specification
647
648# USB 802.11 adapters
649atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
650ural*	at uhub? port ?		# Ralink Technology RT2500USB 802.11a/b/g
651rum*	at uhub? port ?		# Ralink Technology RT2501/RT2601 802.11a/b/g
652urtw*	at uhub? port ?		# Realtek RTL8187/RTL8187B 802.11b/g
653
654# Prolific PL2301/PL2302 host-to-host adapter
655upl*	at uhub? port ?
656
657# Serial adapters
658ubsa*	at uhub? port ?		# Belkin serial adapter
659ucom*	at ubsa? portno ?
660
661uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
662ucom*	at uftdi? portno ?
663
664umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
665ucom*	at umct? portno ?
666
667uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
668ucom*	at uplcom? portno ?
669
670uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
671ucom*	at uvscom? portno ?
672
673# Diamond Multimedia Rio 500
674urio*	at uhub? port ?
675
676# USB Handspring Visor
677uvisor* at uhub? port ?
678ucom*	at uvisor?
679
680# Kyocera AIR-EDGE PHONE
681ukyopon* at uhub? port ?
682ucom*	at ukyopon? portno ?
683
684# USB scanners
685#uscanner* at uhub? port ?
686
687# USB scanners that use SCSI emulation, e.g., HP5300
688usscanner* at uhub? port ?
689
690# Y@P firmware loader
691uyap*	at uhub? port ?
692
693# D-Link DSB-R100 USB radio
694udsbr*	at uhub? port ?
695radio*	at udsbr?
696
697# USB Generic driver
698ugen*	at uhub? port ?
699
700# PCI IEEE1394 controllers
701fwohci* at pci? dev ? function ?	# IEEE1394 Open Host Controller
702
703# CardBus IEEE1394 controllers
704#fwohci* at cardbus? function ?		# IEEE1394 Open Host Controller
705
706ieee1394if* at fwohci?
707fwip*	at ieee1394if?			# IP over IEEE1394
708sbp*	at ieee1394if? euihi ? euilo ?	# SCSI over IEEE1394
709
710# PCI audio devices
711auacer* at pci? dev ? function ?	# ALi M5455 integrated AC'97 Audio
712auich*	at pci? dev ? function ?	# Intel ICH integrated AC'97 Audio
713auixp*	at pci? dev ? function ?	# ATI IXP AC'97 Audio
714autri*	at pci? dev ? function ?	# Trident 4DWAVE based AC'97 Audio
715auvia*	at pci? dev ? function ?	# VIA VT82C686A integrated AC'97 Audio
716#azalia* at pci? dev ? function ?	# High Definition Audio
717clcs*	at pci? dev ? function ?	# Cirrus Logic CS4280
718clct*	at pci? dev ? function ?	# Cirrus Logic CS4281
719cmpci*	at pci? dev ? function ?	# C-Media CMI8338/8738
720eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
721emuxki* at pci? dev ? function ?	# Creative SBLive! and PCI512
722esa*	at pci? dev ? function ?	# ESS Allegro-1 / Maestro-3 PCI Audio
723esm*	at pci? dev ? function ?	# ESS Maestro-1/2/2e PCI Audio Accelerator
724eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
725fms*	at pci? dev ? function ?	# Forte Media FM801
726neo*	at pci? dev ? function ?	# NeoMagic 256 AC'97 Audio
727sv*	at pci? dev ? function ?	# S3 SonicVibes
728yds*	at pci? dev ? function ?	# Yamaha DS-1 PCI Audio
729
730# OPL[23] FM synthesizers
731#opl0	at isa? port 0x388	# use only if not attached to sound card
732opl*	at cmpci? flags 1
733opl*	at eso?
734opl*	at fms?
735opl*	at sv?
736opl*	at yds?
737
738# High Definition Audio
739hdaudio*	at pci? dev ? function ?	# High Definition Audio
740hdafg*		at hdaudiobus?
741
742# Audio support
743audio*	at audiobus?
744
745spkr*	at audio?		# PC speaker (synthesized)
746
747# MPU 401 UARTs
748#mpu*	at isa? port 0x330 irq 9	# MPU401 or compatible card
749mpu*	at cmpci?
750mpu*	at eso?
751mpu*	at fms?
752mpu*	at yds?
753
754# MIDI support
755midi*	at midibus?
756
757# Bluetooth Controller and Device support
758
759# Bluetooth PCMCIA Controllers
760#bt3c* at pcmcia? function ?		# 3Com 3CRWB6096-A
761#btbc* at pcmcia? function ?		# AnyCom BlueCard LSE041/039/139
762
763# Bluetooth USB Controllers
764ubt* at uhub? port ?
765aubtfwl* at uhub? port ?
766
767# Bluetooth Device Hub
768#bthub* at bt3c?
769#bthub* at btbh?
770bthub* at ubt?
771
772# Bluetooth HID support
773bthidev* at bthub?
774
775# Bluetooth Mouse
776btms* at bthidev? reportid ?
777wsmouse* at btms? mux 0
778
779# Bluetooth Keyboard
780btkbd* at bthidev? reportid ?
781wskbd* at btkbd? console ? mux 1
782
783# Bluetooth Apple Magic Mouse
784btmagic* at bthub?
785wsmouse* at btmagic? mux 0
786
787# Bluetooth Audio support
788btsco* at bthub?
789
790
791# SD/MMC/SDIO Controller and Device support
792
793# SD/MMC controller
794sdhc*	at pci?		# SD Host Controller
795rtsx*	at pci?		# Realtek RTS5209/RTS5229 Card Reader
796#sdhc*	at cardbus?	# SD Host Controller
797sdmmc*	at sdhc?	# SD/MMC bus
798sdmmc*	at rtsx?	# SD/MMC bus
799
800ld*	at sdmmc?
801
802
803# Cryptographic Devices
804
805# PCI cryptographic devices
806hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
807ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
808
809cinclude "arch/amd64/conf/GENERIC.local"
810cinclude "arch/amd64/conf/XEN3_DOM0.local"
811
812# Pseudo-Devices
813
814#
815# accept filters
816pseudo-device	accf_data	# "dataready" accept filter
817pseudo-device	accf_http	# "httpready" accept filter
818
819pseudo-device	crypto		# /dev/crypto device
820pseudo-device	swcrypto	# software crypto implementation
821
822# disk/mass storage pseudo-devices
823pseudo-device	bio			# RAID control device driver
824pseudo-device	ccd			# concatenated/striped disk devices
825pseudo-device	cgd			# cryptographic disk devices
826pseudo-device	raid			# RAIDframe disk driver
827options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
828# Options to enable various other RAIDframe RAID types.
829#options 	RF_INCLUDE_EVENODD=1
830#options 	RF_INCLUDE_RAID5_RS=1
831#options 	RF_INCLUDE_PARITYLOGGING=1
832#options 	RF_INCLUDE_CHAINDECLUSTER=1
833#options 	RF_INCLUDE_INTERDECLUSTER=1
834#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
835#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
836pseudo-device	fss			# file system snapshot device
837
838pseudo-device	md			# memory disk device (ramdisk)
839pseudo-device	vnd			# disk-like interface to files
840pseudo-device	dm			# device-mapper driver for LVM
841
842# network pseudo-devices
843pseudo-device	bpfilter		# Berkeley packet filter
844pseudo-device	loop			# network loopback
845pseudo-device	ppp			# Point-to-Point Protocol
846pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
847pseudo-device	sl			# Serial Line IP
848pseudo-device	tap			# virtual Ethernet
849pseudo-device	tun			# network tunneling over tty
850pseudo-device	gre			# generic L3 over IP tunnel
851pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
852#pseudo-device	faith			# IPv[46] tcp relay translation i/f
853pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
854pseudo-device	vlan			# IEEE 802.1q encapsulation
855pseudo-device	bridge			# simple inter-network bridging
856#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
857pseudo-device	l2tp			# L2TPv3 interface
858pseudo-device	npf			# NPF packet filter
859
860# miscellaneous pseudo-devices
861pseudo-device	pty			# pseudo-terminals
862pseudo-device	clockctl		# user control of clock subsystem
863pseudo-device	ksyms			# /dev/ksyms
864
865# iSCSI initiator
866#pseudo-device	iscsi
867
868# wscons pseudo-devices
869pseudo-device	wsmux			# mouse & keyboard multiplexor
870pseudo-device	wsfont
871
872# userland interface to drivers, including autoconf and properties retrieval
873pseudo-device	drvctl
874
875# xen pseudo-devices
876pseudo-device	xenevt
877pseudo-device	xvif
878pseudo-device	xbdback
879
880options 	PAX_MPROTECT=1		# PaX mprotect(2) restrictions
881options 	PAX_ASLR=1		# PaX Address Space Layout Randomization
882
883# Atheros HAL options
884include "external/isc/atheros_hal/conf/std.ath_hal"
885