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