XEN3_DOM0 revision 1.108
1# $NetBSD: XEN3_DOM0,v 1.108 2014/09/19 17:30:03 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 	KMEMSTATS	# kernel memory statistics (vmstat -m)
53options 	DDB		# in-kernel debugger
54options 	DDB_ONPANIC=1	# see also sysctl(7): `ddb.onpanic'
55options 	DDB_HISTORY_SIZE=512	# enable history editing in DDB
56#options 	KGDB		# remote debugger
57#options 	KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x2f8,KGDB_DEVRATE=57600
58#makeoptions	DEBUG="-g"	# compile full symbol table
59makeoptions	COPTS="-O2 -fno-omit-frame-pointer"
60options DDB_COMMANDONENTER="trace;show registers"
61
62# Compatibility options
63options 	COMPAT_43	# 4.3BSD binary compatibility.
64options 	COMPAT_15	# NetBSD 1.5,
65options 	COMPAT_16	# NetBSD 1.6,
66options 	COMPAT_20	# NetBSD 2.0,
67options 	COMPAT_30	# NetBSD 3.0,
68options 	COMPAT_40	# NetBSD 4.0,
69options 	COMPAT_50	# NetBSD 5.0,
70options 	COMPAT_60	# NetBSD 6.0, and
71options 	COMPAT_70	# NetBSD 7.0 binary compatibility.
72#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
73
74options 	COMPAT_OSSAUDIO
75options 	COMPAT_NETBSD32
76options 	COMPAT_LINUX
77options 	COMPAT_LINUX32	# req. COMPAT_LINUX and COMPAT_NETBSD32
78options 	EXEC_ELF32
79options 	COMPAT_BSDPTY	# /dev/[pt]ty?? ptys.
80
81# Wedge support
82options 	DKWEDGE_AUTODISCOVER	# Automatically add dk(4) instances
83options 	DKWEDGE_METHOD_GPT	# Supports GPT partitions as wedges
84#options 	DKWEDGE_METHOD_BSDLABEL	# Support disklabel entries as wedges
85#options 	DKWEDGE_METHOD_MBR	# Support MBR partitions as wedges
86options		DKWEDGE_METHOD_APPLE    # Support Apple partitions as wedges
87
88# File systems
89file-system 	FFS		# UFS
90file-system 	EXT2FS		# second extended file system (linux)
91file-system 	LFS		# log-structured file system
92file-system 	MFS		# memory file system
93file-system 	NFS		# Network File System client
94file-system 	NTFS		# Windows/NT file system (experimental)
95file-system 	CD9660		# ISO 9660 + Rock Ridge file system
96file-system 	MSDOSFS		# MS-DOS file system
97file-system 	FDESC		# /dev/fd
98file-system 	KERNFS		# /kern
99file-system 	NULLFS		# loopback file system
100file-system 	OVERLAY		# overlay file system
101file-system	PUFFS		# Userspace file systems (e.g. ntfs-3g & sshfs)
102file-system 	PROCFS		# /proc
103file-system 	UMAPFS		# NULLFS + uid and gid remapping
104file-system 	UNION		# union file system
105file-system 	CODA		# Coda File System; also needs vcoda (below)
106file-system 	SMBFS		# experimental - CIFS; also needs nsmb (below)
107file-system 	PTYFS		# /dev/pts/N support
108file-system 	TMPFS		# Efficient memory file-system
109
110# File system options
111options 	QUOTA		# legacy UFS quotas
112options 	QUOTA2		# new, in-filesystem UFS quotas
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
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
125#options 	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
258ppb*	at pci? dev ? function ?	# PCI-PCI bridges
259# XXX 'puc's aren't really bridges, but there's no better place for them here
260puc*	at pci? dev ? function ?	# PCI "universal" comm. cards
261
262agp*	at pchb?
263
264# ISA bus support
265isa0	at ichlpcib?
266isa0	at pcib?
267isa0	at hypervisor?
268
269# Serial Devices
270
271# PCI serial interfaces
272com*	at puc? port ?			# 16x50s on "universal" comm boards
273cy*	at pci? dev ? function ?	# Cyclades Cyclom-Y serial boards
274cz*	at pci? dev ? function ?	# Cyclades-Z multi-port serial boards
275
276# ISA serial interfaces
277#options 	COM_HAYESP		# adds Hayes ESP serial board support
278# If a com port is used as Xen console it can't be used by the domain0 kernel
279# and there's no easy way to detect this yet. Leave com0 out as it's the
280# port usually used for serial console
281#com0	at isa? port 0x3f8 irq 4	# Standard PC serial ports
282com1	at isa? port 0x2f8 irq 3
283#com2	at isa? port 0x3e8 irq 5
284#com3	at isa? port 0x2e8 irq 9
285
286# Parallel Printer Interfaces
287
288# PCI parallel printer interfaces
289lpt*	at puc? port ?			# || ports on "universal" comm boards
290
291# ISA parallel printer interfaces
292lpt0	at isa? port 0x378 irq 7	# standard PC parallel ports
293
294# Hardware monitors
295
296amdnb_misc* at pci?			# AMD NB Misc Configuration
297amdtemp* at amdnb_misc?			# AMD CPU Temperature sensors
298
299# AMD 768 and 8111 power/ACPI controllers
300amdpm*	at pci? dev ? function ?	# RNG and SMBus 1.0 interface
301#iic*	at amdpm?			# sensors below are on this bus
302
303# Thermal monitor and fan controller
304#dbcool* at iic? addr 0x2C		# Unknown other motherboard(s)
305#dbcool* at iic? addr 0x2D		# Tyan S2881
306#dbcool* at iic? addr 0x2E		# Tyan S2882-D
307
308# Winbond LPC Super I/O
309#wbsio*	at isa? port 0x2e
310#wbsio*	at isa? port 0x4e
311
312# LM7[89] and compatible hardware monitors
313#lm0	at isa?	port 0x290		# other common: 0x280, 0x310, 0xc00
314#lm*	at wbsio?
315
316# VIA VT82C686A/VT8231 Hardware Monitor and Power Management TImer
317#viaenv* 	at pci? dev ? function ?
318
319
320# PCI network interfaces
321age*	at pci? dev ? function ?	# Attansic/Atheros L1 Gigabit Ethernet
322alc*	at pci? dev ? function ?	# Attansic/Atheros L1C/L2C Ethernet
323ale*	at pci? dev ? function ?	# Attansic/Atheros L1E Ethernet
324an*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11)
325ath*	at pci? dev ? function ?	# Atheros 5210/5211/5212 802.11
326atw*	at pci? dev ? function ?	# ADMtek ADM8211 (802.11)
327bce*	at pci? dev ? function ?	# Broadcom 4401 10/100 Ethernet
328bge*	at pci? dev ? function ?	# Broadcom 570x gigabit Ethernet
329bnx*	at pci? dev ? function ?	# Broadcom NetXtremeII gigabit Ethernet
330dge*	at pci? dev ? function ?	# Intel 82597 10GbE LR
331en*	at pci? dev ? function ?	# ENI/Adaptec ATM
332ep*	at pci? dev ? function ?	# 3Com 3c59x
333epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
334esh*	at pci? dev ? function ?	# Essential HIPPI card
335et*	at pci? dev ? function ?	# Agere/LSI ET1310/ET1301 Gigabit
336ex*	at pci? dev ? function ?	# 3Com 90x[BC]
337fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
338fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
339gsip*	at pci? dev ? function ?	# NS83820 Gigabit Ethernet
340hme*	at pci? dev ? function ?	# Sun Microelectronics STP2002-STQ
341ipw*	at pci? dev ? function ?	# Intel PRO/Wireless 2100
342iwi*	at pci? dev ? function ?	# Intel PRO/Wireless 2200BG
343iwn*	at pci? dev ? function ?	# Intel PRO/Wireless 4965AGN
344jme*	at pci? dev ? function ?	# JMicron JMC2[56]0 ethernet
345le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
346lii*	at pci? dev ? function ?	# Atheros L2 Fast-Ethernet
347lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
348mskc*	at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
349msk*	at mskc?			# Marvell Yukon 2 Gigabit Ethernet
350mtd*	at pci? dev ? function ?	# Myson MTD803 3-in-1 Ethernet
351ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
352nfe*	at pci?	dev ? function ?	# NVIDIA nForce Ethernet
353ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
354pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
355ral*	at pci? dev ? function ?	# Ralink Technology RT25x0 802.11a/b/g
356re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
357rtk*	at pci? dev ? function ?	# Realtek 8129/8139
358sf*	at pci? dev ? function ?	# Adaptec AIC-6915 Ethernet
359sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
360skc*	at pci? dev ? function ?	# SysKonnect SK9821 Gigabit Ethernet
361sk*	at skc?				# SysKonnect SK9821 Gigabit Ethernet
362ste*	at pci? dev ? function ?	# Sundance ST-201 Ethernet
363stge*	at pci? dev ? function ?	# Sundance/Tamarack TC9021 Gigabit
364ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
365tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
366tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
367txp*	at pci? dev ? function ?	# 3com 3cr990
368vge*	at pci? dev ? function ?	# VIATech VT612X Gigabit Ethernet
369vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
370wi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
371wm*	at pci? dev ? function ?	# Intel 8254x gigabit
372wpi*	at pci? dev ? function ?	# Intel PRO/Wireless 3945ABG
373xge*	at pci? dev ? function ?	# Neterion (S2io) Xframe-I 10GbE
374
375# MII/PHY support
376acphy*	at mii? phy ?			# Altima AC101 and AMD Am79c874 PHYs
377amhphy* at mii? phy ?			# AMD 79c901 Ethernet PHYs
378atphy*	at mii? phy ?			# Attansic/Atheros PHYs
379bmtphy* at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
380brgphy* at mii? phy ?			# Broadcom BCM5400-family PHYs
381ciphy*	at mii? phy ?			# Cicada CS8201 Gig-E PHYs
382dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
383etphy*	at mii? phy ?			# Agere/LSI ET1011 TruePHY Gig-E PHYs
384exphy*	at mii? phy ?			# 3Com internal PHYs
385gentbi* at mii? phy ?			# Generic Ten-Bit 1000BASE-[CLS]X PHYs
386glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
387gphyter* at mii? phy ?			# NS83861 Gig-E PHY
388icsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
389igphy*	at mii? phy ?			# Intel IGP01E1000
390ihphy*	at mii? phy ?			# Intel 82577 PHYs
391ikphy*	at mii? phy ?			# Intel 82563 PHYs
392inphy*	at mii? phy ?			# Intel 82555 PHYs
393iophy*	at mii? phy ?			# Intel 82553 PHYs
394lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
395makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
396nsphy*	at mii? phy ?			# NS83840 PHYs
397nsphyter* at mii? phy ? 		# NS83843 PHYs
398pnaphy* at mii? phy ?			# generic HomePNA PHYs
399qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
400rgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
401rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
402sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
403tlphy*	at mii? phy ?			# ThunderLAN PHYs
404tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
405ukphy*	at mii? phy ?			# generic unknown PHYs
406urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
407
408# I2O devices
409iop*	at pci? dev ? function ?	# I/O processor
410iopsp*	at iop? tid ?			# SCSI/FC-AL ports
411ld*	at iop? tid ?			# block devices
412# XXX dpti.c wants a processor type that is not assigned for x86-64
413#dpti*	at iop? tid 0			# DPT/Adaptec control interface
414
415# IDE and related devices
416# PCI IDE controllers - see pciide(4) for supported hardware.
417# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
418# how to set up DMA modes for this chip. This may work, or may cause
419# a machine hang with some controllers.
420pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
421acardide*	at pci? dev ? function ?	# Acard IDE controllers
422aceride*	at pci? dev ? function ?	# Acer Lab IDE controllers
423ahcisata*	at pci? dev ? function ?	# AHCI SATA controllers
424artsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
425cmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
426cypide* 	at pci? dev ? function ?	# Cypress IDE controllers
427geodeide*	at pci? dev ? function ?	# AMD Geode IDE controllers
428hptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
429iteide* 	at pci? dev ? function ?	# IT Express IDE controllers
430ixpide* 	at pci? dev ? function ?	# ATI IXP IDE controllers
431jmide*		at pci? dev ? function ?	# JMicron PCI-e PATA/SATA controllers
432ahcisata*	at jmide?
433optiide*	at pci? dev ? function ?	# Opti IDE controllers
434piixide*	at pci? dev ? function ?	# Intel IDE controllers
435pdcide* 	at pci? dev ? function ?	# Promise IDE controllers
436pdcsata*	at pci? dev ? function ?	# Promise SATA150 controllers
437rccide* 	at pci? dev ? function ?	# ServerWorks IDE controllers
438satalink*	at pci? dev ? function ?	# SiI SATALink controllers
439siisata*	at pci? dev ? function ?	# SiI SteelVine controllers
440siside* 	at pci? dev ? function ?	# SiS IDE controllers
441slide*		at pci? dev ? function ?	# Symphony Labs IDE controllers
442svwsata*	at pci? dev ? function ?	# ServerWorks SATA controllers
443stpcide*	at pci? dev ? function ?	# STMicro STPC IDE controllers
444viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
445
446# ATA (IDE) bus support
447atabus* at ata?
448
449# IDE drives
450# Flags are used only with controllers that support DMA operations
451# and mode settings (e.g. some pciide controllers)
452# The lowest order four bits (rightmost digit) of the flags define the PIO
453# mode to use, the next set of four bits the DMA mode and the third set the
454# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
455# to use, and the last bit must be 1 for this setting to be used.
456# For DMA and UDMA, 0xf (1111) means 'disable'.
457# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
458# (0xc=1100, 0xa=1010, 0xf=1111)
459# 0x0000 means "use whatever the drive claims to support".
460wd*	at atabus? drive ? flags 0x0000
461
462# ATA RAID configuration support, as found on some Promise controllers.
463pseudo-device	ataraid
464ld*	at ataraid? vendtype ? unit ?
465
466# ATAPI bus support
467atapibus* at atapi?
468
469# ATAPI devices
470# flags have the same meaning as for IDE drives.
471cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
472sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
473st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
474uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
475
476# SCSI Controllers and Devices
477
478# PCI SCSI controllers
479adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
480adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
481ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
482ahd*	at pci? dev ? function ?	# Adaptec 29320, 39320 (aic790x) SCSI
483bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
484dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
485iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
486isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
487mfi*	at pci? dev ? function ?	# LSI MegaRAID SAS
488mly*	at pci? dev ? function ?	# Mylex AcceleRAID and eXtremeRAID
489mpt*	at pci? dev ? function ?	# LSILogic 9x9 and 53c1030 (Fusion-MPT)
490mpii*	at pci? dev ? function ?	# LSI Logic Fusion-MPT II
491njs*	at pci? dev ? function ?	# Workbit NinjaSCSI-32
492pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
493siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
494esiop*	at pci? dev ? function ?	# Symbios 53c875 SCSI and newer
495#options 	SIOP_SYMLED		# drive the act. LED in software
496trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
497# SCSI bus support
498scsibus* at scsi?
499
500# SCSI devices
501sd*	at scsibus? target ? lun ?	# SCSI disk drives
502st*	at scsibus? target ? lun ?	# SCSI tape drives
503cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
504ch*	at scsibus? target ? lun ?	# SCSI autochangers
505ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
506ss*	at scsibus? target ? lun ?	# SCSI scanners
507uk*	at scsibus? target ? lun ?	# SCSI unknown
508
509# RAID controllers and devices
510aac*	at pci? dev ? function ?	# Adaptec AAC family
511amr*	at pci? dev ? function ?	# AMI/LSI Logic MegaRAID
512arcmsr* at pci? dev ? function ?	# Areca SATA RAID controllers
513cac*	at pci? dev ? function ?	# Compaq PCI array controllers
514ciss*	at pci? dev ? function ?	# HP Smart Array controllers
515icp*	at pci? dev ? function ?	# ICP-Vortex GDT & Intel RAID
516mlx*	at pci? dev ? function ?	# Mylex DAC960 & DEC SWXCR family
517twe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
518twa*	at pci? dev ? function ?	# 3ware Escalade 95xx RAID controllers
519
520ld*	at aac? unit ?			# logical disk devices
521ld*	at amr? unit ?
522ld*	at cac? unit ?
523ld*	at icp? unit ?
524ld*	at twe? unit ?
525ld*	at twa? unit ?
526ld*	at mlx? unit ?
527
528icpsp*	at icp? unit ?			# SCSI pass-through
529
530# wscons
531pckbc0		at isa?			# pc keyboard controller
532pckbd*		at pckbc?		# PC keyboard
533pms*		at pckbc?		# PS/2 mouse for wsmouse
534#options 	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
535options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
536#vga0		at isa?
537vga*		at pci? dev ? function ?
538#pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
539#machfb* 	at pci? dev ? function ? # ATI Mach64 framebuffer driver
540wsdisplay*	at vga? console ?
541#wsdisplay*	at pcdisplay? console ?
542#wsdisplay*	at machfb? console ?
543wskbd*		at pckbd? console ?
544wsmouse*	at pms? mux 0
545
546# USB Controller and Devices
547
548# PCI USB controllers
549# xhci*	at pci? dev ? function ?	# eXtensible Host Controller
550					# xhci is at best experimental
551ehci*	at pci? dev ? function ?	# Enhanced Host Controller
552ohci*	at pci? dev ? function ?	# Open Host Controller
553uhci*	at pci? dev ? function ?	# Universal Host Controller (Intel)
554
555# USB bus support
556# usb*	at xhci?
557usb*	at ehci?
558usb*	at ohci?
559usb*	at uhci?
560
561# USB Hubs
562uhub*	at usb?
563uhub*	at uhub? port ?
564
565# USB HID device
566uhidev* at uhub? port ? configuration ? interface ?
567
568# USB Mice
569ums*	at uhidev? reportid ?
570wsmouse* at ums? mux 0
571
572# USB eGalax touch-panel
573uep*	at uhub? port ?
574wsmouse* at uep? mux 0
575
576# USB Keyboards
577ukbd*	at uhidev? reportid ?
578wskbd*	at ukbd? console ? mux 1
579
580# USB serial adapter
581ucycom* at uhidev? reportid ?
582
583# USB Generic HID devices
584uhid*	at uhidev? reportid ?
585
586# USB Printer
587ulpt*	at uhub? port ? configuration ? interface ?
588
589# USB Modem
590umodem* at uhub? port ? configuration ?
591ucom*	at umodem?
592
593# Option N.V. Wireless WAN modems
594uhso*	at uhub? port ? configuration ?
595
596# USB Mass Storage
597umass*	at uhub? port ? configuration ? interface ?
598wd*	at umass?
599
600# USB audio
601uaudio* at uhub? port ? configuration ?
602
603# USB MIDI
604umidi*	at uhub? port ? configuration ?
605
606# USB IrDA
607# USB-IrDA bridge spec
608uirda*	at uhub? port ? configuration ? interface ?
609irframe* at uirda?
610
611# SigmaTel STIr4200 USB/IrDA Bridge
612ustir*	at uhub? port ?
613irframe* at ustir?
614
615# USB Ethernet adapters
616aue*	at uhub? port ?		# ADMtek AN986 Pegasus based adapters
617axe*	at uhub? port ?		# ASIX AX88172 based adapters
618cdce*	at uhub? port ?		# CDC, Ethernet Networking Control Model
619cue*	at uhub? port ?		# CATC USB-EL1201A based adapters
620kue*	at uhub? port ?		# Kawasaki LSI KL5KUSB101B based adapters
621udav*	at uhub? port ?		# Davicom DM9601 based adapters
622url*	at uhub? port ?		# Realtek RTL8150L based adapters
623urndis* at uhub? port ?		# Microsoft RNDIS specification
624
625# USB 802.11 adapters
626atu*	at uhub? port ?		# Atmel AT76C50XX based adapters
627ural*	at uhub? port ?		# Ralink Technology RT2500USB 802.11a/b/g
628rum*	at uhub? port ?		# Ralink Technology RT2501/RT2601 802.11a/b/g
629urtw*	at uhub? port ?		# Realtek RTL8187/RTL8187B 802.11b/g
630
631# Prolific PL2301/PL2302 host-to-host adapter
632upl*	at uhub? port ?
633
634# Serial adapters
635ubsa*	at uhub? port ?		# Belkin serial adapter
636ucom*	at ubsa? portno ?
637
638uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
639ucom*	at uftdi? portno ?
640
641umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
642ucom*	at umct? portno ?
643
644uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
645ucom*	at uplcom? portno ?
646
647uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
648ucom*	at uvscom? portno ?
649
650# Diamond Multimedia Rio 500
651urio*	at uhub? port ?
652
653# USB Handspring Visor
654uvisor* at uhub? port ?
655ucom*	at uvisor?
656
657# Kyocera AIR-EDGE PHONE
658ukyopon* at uhub? port ?
659ucom*	at ukyopon? portno ?
660
661# USB scanners
662uscanner* at uhub? port ?
663
664# USB scanners that use SCSI emulation, e.g., HP5300
665usscanner* at uhub? port ?
666
667# Y@P firmware loader
668uyap*	at uhub? port ?
669
670# D-Link DSB-R100 USB radio
671udsbr*	at uhub? port ?
672radio*	at udsbr?
673
674# USB Generic driver
675ugen*	at uhub? port ?
676
677# PCI IEEE1394 controllers
678fwohci* at pci? dev ? function ?	# IEEE1394 Open Host Controller
679
680# CardBus IEEE1394 controllers
681#fwohci* at cardbus? function ?		# IEEE1394 Open Host Controller
682
683ieee1394if* at fwohci?
684fwip*	at ieee1394if?			# IP over IEEE1394
685sbp*	at ieee1394if? euihi ? euilo ?	# SCSI over IEEE1394
686
687# PCI audio devices
688auacer* at pci? dev ? function ?	# ALi M5455 integrated AC'97 Audio
689auich*	at pci? dev ? function ?	# Intel ICH integrated AC'97 Audio
690auixp*	at pci? dev ? function ?	# ATI IXP AC'97 Audio
691autri*	at pci? dev ? function ?	# Trident 4DWAVE based AC'97 Audio
692auvia*	at pci? dev ? function ?	# VIA VT82C686A integrated AC'97 Audio
693#azalia* at pci? dev ? function ?	# High Definition Audio
694clcs*	at pci? dev ? function ?	# Cirrus Logic CS4280
695clct*	at pci? dev ? function ?	# Cirrus Logic CS4281
696cmpci*	at pci? dev ? function ?	# C-Media CMI8338/8738
697eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
698emuxki* at pci? dev ? function ?	# Creative SBLive! and PCI512
699esa*	at pci? dev ? function ?	# ESS Allegro-1 / Maestro-3 PCI Audio
700esm*	at pci? dev ? function ?	# ESS Maestro-1/2/2e PCI Audio Accelerator
701eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
702fms*	at pci? dev ? function ?	# Forte Media FM801
703neo*	at pci? dev ? function ?	# NeoMagic 256 AC'97 Audio
704sv*	at pci? dev ? function ?	# S3 SonicVibes
705yds*	at pci? dev ? function ?	# Yamaha DS-1 PCI Audio
706
707# OPL[23] FM synthesizers
708#opl0	at isa? port 0x388	# use only if not attached to sound card
709opl*	at cmpci? flags 1
710opl*	at eso?
711opl*	at fms?
712opl*	at sv?
713opl*	at yds?
714
715# High Definition Audio
716hdaudio*	at pci? dev ? function ?	# High Definition Audio
717hdafg*		at hdaudiobus?
718
719# Audio support
720audio*	at audiobus?
721
722# MPU 401 UARTs
723#mpu*	at isa? port 0x330 irq 9	# MPU401 or compatible card
724mpu*	at cmpci?
725mpu*	at eso?
726mpu*	at fms?
727mpu*	at yds?
728
729# MIDI support
730midi*	at midibus?
731
732# Bluetooth Controller and Device support
733
734# Bluetooth PCMCIA Controllers
735#bt3c* at pcmcia? function ?		# 3Com 3CRWB6096-A
736#btbc* at pcmcia? function ?		# AnyCom BlueCard LSE041/039/139
737
738# Bluetooth USB Controllers
739ubt* at uhub? port ?
740aubtfwl* at uhub? port ?
741
742# Bluetooth Device Hub
743#bthub* at bt3c?
744#bthub* at btbh?
745bthub* at ubt?
746
747# Bluetooth HID support
748bthidev* at bthub?
749
750# Bluetooth Mouse
751btms* at bthidev? reportid ?
752wsmouse* at btms? mux 0
753
754# Bluetooth Keyboard
755btkbd* at bthidev? reportid ?
756wskbd* at btkbd? console ? mux 1
757
758# Bluetooth Apple Magic Mouse
759btmagic* at bthub?
760wsmouse* at btmagic? mux 0
761
762# Bluetooth Audio support
763btsco* at bthub?
764
765# Cryptographic Devices
766
767# PCI cryptographic devices
768hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
769ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
770
771cinclude "arch/amd64/conf/GENERIC.local"
772
773# Pseudo-Devices
774
775#
776# accept filters
777pseudo-device	accf_data	# "dataready" accept filter
778pseudo-device	accf_http	# "httpready" accept filter
779
780pseudo-device	crypto		# /dev/crypto device
781pseudo-device	swcrypto	# software crypto implementation
782
783# disk/mass storage pseudo-devices
784pseudo-device	bio			# RAID control device driver
785pseudo-device	ccd			# concatenated/striped disk devices
786pseudo-device	cgd			# cryptographic disk devices
787pseudo-device	raid			# RAIDframe disk driver
788options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
789# Options to enable various other RAIDframe RAID types.
790#options 	RF_INCLUDE_EVENODD=1
791#options 	RF_INCLUDE_RAID5_RS=1
792#options 	RF_INCLUDE_PARITYLOGGING=1
793#options 	RF_INCLUDE_CHAINDECLUSTER=1
794#options 	RF_INCLUDE_INTERDECLUSTER=1
795#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
796#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
797pseudo-device	fss			# file system snapshot device
798
799pseudo-device	md			# memory disk device (ramdisk)
800pseudo-device	vnd			# disk-like interface to files
801pseudo-device	putter			# for puffs and pud
802pseudo-device	dm			# device-mapper driver for LVM
803
804# network pseudo-devices
805pseudo-device	bpfilter		# Berkeley packet filter
806pseudo-device	ipfilter		# IP filter (firewall) and NAT
807pseudo-device	loop			# network loopback
808pseudo-device	ppp			# Point-to-Point Protocol
809pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
810pseudo-device	sl			# Serial Line IP
811pseudo-device	tap			# virtual Ethernet
812pseudo-device	tun			# network tunneling over tty
813pseudo-device	gre			# generic L3 over IP tunnel
814pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
815#pseudo-device	faith			# IPv[46] tcp relay translation i/f
816pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
817pseudo-device	vlan			# IEEE 802.1q encapsulation
818pseudo-device	bridge			# simple inter-network bridging
819#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
820#pseudo-device	pf			# PF packet filter
821#pseudo-device	pflog			# PF log if
822#pseudo-device	pfsync			# PF sync if
823#pseudo-device	npf			# NPF packet filter
824
825# miscellaneous pseudo-devices
826pseudo-device	pty			# pseudo-terminals
827pseudo-device	clockctl		# user control of clock subsystem
828pseudo-device	ksyms			# /dev/ksyms
829
830# a pseudo device needed for Coda	# also needs CODA (above)
831pseudo-device	vcoda			# coda minicache <-> venus comm.
832
833# a pseudo device needed for SMBFS
834pseudo-device	nsmb			# experimental - SMB requester
835
836# wscons pseudo-devices
837pseudo-device	wsmux			# mouse & keyboard multiplexor
838pseudo-device	wsfont
839
840# userland interface to drivers, including autoconf and properties retrieval
841pseudo-device	drvctl
842
843# xen pseudo-devices
844pseudo-device	xenevt
845pseudo-device	xvif
846pseudo-device	xbdback
847
848options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
849options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
850