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