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