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