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