XEN3_DOM0 revision 1.92
1# $NetBSD: XEN3_DOM0,v 1.92 2013/02/09 17:42:34 khorben 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	# expensive 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(8): `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_15	# compatibility with NetBSD 1.5,
64options 	COMPAT_16	# NetBSD 1.6,
65options 	COMPAT_20	# NetBSD 2.0,
66options 	COMPAT_30	# NetBSD 3.0,
67options 	COMPAT_40	# NetBSD 4.0 compatibility.
68options 	COMPAT_43	# and 4.3BSD
69#options 	COMPAT_386BSD_MBRPART # recognize old partition ID
70options 	COMPAT_50	# NetBSD 5.0
71options 	COMPAT_60	# NetBSD 6.0 compatibility.
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
325alc*	at pci? dev ? function ?	# Attansic/Atheros L1C/L2C Ethernet
326ale*	at pci? dev ? function ?	# Attansic/Atheros L1E Ethernet
327an*	at pci? dev ? function ?	# Aironet PC4500/PC4800 (802.11)
328ath*	at pci? dev ? function ?	# Atheros 5210/5211/5212 802.11
329atw*	at pci? dev ? function ?	# ADMtek ADM8211 (802.11)
330bce*	at pci? dev ? function ?	# Broadcom 4401 10/100 Ethernet
331bge*	at pci? dev ? function ?	# Broadcom 570x gigabit Ethernet
332bnx*	at pci? dev ? function ?	# Broadcom NetXtremeII gigabit Ethernet
333dge*	at pci? dev ? function ?	# Intel 82597 10GbE LR
334en*	at pci? dev ? function ?	# ENI/Adaptec ATM
335ep*	at pci? dev ? function ?	# 3Com 3c59x
336epic*	at pci? dev ? function ?	# SMC EPIC/100 Ethernet
337esh*	at pci? dev ? function ?	# Essential HIPPI card
338et*	at pci? dev ? function ?	# Agere/LSI ET1310/ET1301 Gigabit
339ex*	at pci? dev ? function ?	# 3Com 90x[BC]
340fpa*	at pci? dev ? function ?	# DEC DEFPA FDDI
341fxp*	at pci? dev ? function ?	# Intel EtherExpress PRO 10+/100B
342gsip*	at pci? dev ? function ?	# NS83820 Gigabit Ethernet
343hme*	at pci? dev ? function ?	# Sun Microelectronics STP2002-STQ
344ipw*	at pci? dev ? function ?	# Intel PRO/Wireless 2100
345iwi*	at pci? dev ? function ?	# Intel PRO/Wireless 2200BG
346iwn*	at pci? dev ? function ?	# Intel PRO/Wireless 4965AGN
347jme*	at pci? dev ? function ?	# JMicron JMC2[56]0 ethernet
348le*	at pci? dev ? function ?	# PCnet-PCI Ethernet
349lii*	at pci? dev ? function ?	# Atheros L2 Fast-Ethernet
350lmc*	at pci? dev ? function ?	# Lan Media Corp SSI/HSSI/DS3
351mskc*	at pci? dev ? function ?	# Marvell Yukon 2 Gigabit Ethernet
352msk*	at mskc?			# Marvell Yukon 2 Gigabit Ethernet
353mtd*	at pci? dev ? function ?	# Myson MTD803 3-in-1 Ethernet
354ne*	at pci? dev ? function ?	# NE2000-compatible Ethernet
355nfe*	at pci?	dev ? function ?	# NVIDIA nForce Ethernet
356ntwoc*	at pci? dev ? function ?	# Riscom/N2 PCI Sync Serial
357pcn*	at pci? dev ? function ?	# AMD PCnet-PCI Ethernet
358ral*	at pci? dev ? function ?	# Ralink Technology RT25x0 802.11a/b/g
359re*	at pci? dev ? function ?	# Realtek 8139C+/8169/8169S/8110S
360rtk*	at pci? dev ? function ?	# Realtek 8129/8139
361sf*	at pci? dev ? function ?	# Adaptec AIC-6915 Ethernet
362sip*	at pci? dev ? function ?	# SiS 900/DP83815 Ethernet
363skc*	at pci? dev ? function ?	# SysKonnect SK9821 Gigabit Ethernet
364sk*	at skc?				# SysKonnect SK9821 Gigabit Ethernet
365ste*	at pci? dev ? function ?	# Sundance ST-201 Ethernet
366stge*	at pci? dev ? function ?	# Sundance/Tamarack TC9021 Gigabit
367ti*	at pci? dev ? function ?	# Alteon ACEnic gigabit Ethernet
368tl*	at pci? dev ? function ?	# ThunderLAN-based Ethernet
369tlp*	at pci? dev ? function ?	# DECchip 21x4x and clones
370txp*	at pci? dev ? function ?	# 3com 3cr990
371vge*	at pci? dev ? function ?	# VIATech VT612X Gigabit Ethernet
372vr*	at pci? dev ? function ?	# VIA Rhine Fast Ethernet
373wi*	at pci? dev ? function ?	# Intersil Prism Mini-PCI (802.11b)
374wm*	at pci? dev ? function ?	# Intel 8254x gigabit
375wpi*	at pci? dev ? function ?	# Intel PRO/Wireless 3945ABG
376xge*	at pci? dev ? function ?	# Neterion (S2io) Xframe-I 10GbE
377
378# MII/PHY support
379acphy*	at mii? phy ?			# Altima AC101 and AMD Am79c874 PHYs
380amhphy* at mii? phy ?			# AMD 79c901 Ethernet PHYs
381atphy*	at mii? phy ?			# Attansic/Atheros PHYs
382bmtphy* at mii? phy ?			# Broadcom BCM5201 and BCM5202 PHYs
383brgphy* at mii? phy ?			# Broadcom BCM5400-family PHYs
384ciphy*	at mii? phy ?			# Cicada CS8201 Gig-E PHYs
385dmphy*	at mii? phy ?			# Davicom DM9101 PHYs
386etphy*	at mii? phy ?			# Agere/LSI ET1011 TruePHY Gig-E PHYs
387exphy*	at mii? phy ?			# 3Com internal PHYs
388gentbi* at mii? phy ?			# Generic Ten-Bit 1000BASE-[CLS]X PHYs
389glxtphy* at mii? phy ?			# Level One LXT-1000 PHYs
390gphyter* at mii? phy ?			# NS83861 Gig-E PHY
391icsphy* at mii? phy ?			# Integrated Circuit Systems ICS189x
392igphy*	at mii? phy ?			# Intel IGP01E1000
393ihphy*	at mii? phy ?			# Intel 82577 PHYs
394ikphy*	at mii? phy ?			# Intel 82563 PHYs
395inphy*	at mii? phy ?			# Intel 82555 PHYs
396iophy*	at mii? phy ?			# Intel 82553 PHYs
397lxtphy* at mii? phy ?			# Level One LXT-970 PHYs
398makphy* at mii? phy ?			# Marvell Semiconductor 88E1000 PHYs
399nsphy*	at mii? phy ?			# NS83840 PHYs
400nsphyter* at mii? phy ? 		# NS83843 PHYs
401pnaphy* at mii? phy ?			# generic HomePNA PHYs
402qsphy*	at mii? phy ?			# Quality Semiconductor QS6612 PHYs
403rgephy* at mii? phy ?			# Realtek 8169S/8110S internal PHYs
404rlphy*	at mii? phy ?			# Realtek 8139/8201L PHYs
405sqphy*	at mii? phy ?			# Seeq 80220/80221/80223 PHYs
406tlphy*	at mii? phy ?			# ThunderLAN PHYs
407tqphy*	at mii? phy ?			# TDK Semiconductor PHYs
408ukphy*	at mii? phy ?			# generic unknown PHYs
409urlphy* at mii? phy ?			# Realtek RTL8150L internal PHYs
410
411# I2O devices
412iop*	at pci? dev ? function ?	# I/O processor
413iopsp*	at iop? tid ?			# SCSI/FC-AL ports
414ld*	at iop? tid ?			# block devices
415# XXX dpti.c wants a processor type that is not assigned for x86-64
416#dpti*	at iop? tid 0			# DPT/Adaptec control interface
417
418# IDE and related devices
419# PCI IDE controllers - see pciide(4) for supported hardware.
420# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know
421# how to set up DMA modes for this chip. This may work, or may cause
422# a machine hang with some controllers.
423pciide* 	at pci? dev ? function ? flags 0x0000	# GENERIC pciide driver
424acardide*	at pci? dev ? function ?	# Acard IDE controllers
425aceride*	at pci? dev ? function ?	# Acer Lab IDE controllers
426ahcisata*	at pci? dev ? function ?	# AHCI SATA controllers
427artsata*	at pci? dev ? function ?	# Intel i31244 SATA controller
428cmdide* 	at pci? dev ? function ?	# CMD tech IDE controllers
429cypide* 	at pci? dev ? function ?	# Cypress IDE controllers
430geodeide*	at pci? dev ? function ?	# AMD Geode IDE controllers
431hptide* 	at pci? dev ? function ?	# Triones/HighPoint IDE controllers
432iteide* 	at pci? dev ? function ?	# IT Express IDE controllers
433ixpide* 	at pci? dev ? function ?	# ATI IXP IDE controllers
434jmide*		at pci? dev ? function ?	# JMicron PCI-e PATA/SATA controllers
435ahcisata*	at jmide?
436optiide*	at pci? dev ? function ?	# Opti IDE controllers
437piixide*	at pci? dev ? function ?	# Intel IDE controllers
438pdcide* 	at pci? dev ? function ?	# Promise IDE controllers
439pdcsata*	at pci? dev ? function ?	# Promise SATA150 controllers
440rccide* 	at pci? dev ? function ?	# ServerWorks IDE controllers
441satalink*	at pci? dev ? function ?	# SiI SATALink controllers
442siisata*	at pci? dev ? function ?	# SiI SteelVine controllers
443siside* 	at pci? dev ? function ?	# SiS IDE controllers
444slide*		at pci? dev ? function ?	# Symphony Labs IDE controllers
445svwsata*	at pci? dev ? function ?	# ServerWorks SATA controllers
446stpcide*	at pci? dev ? function ?	# STMicro STPC IDE controllers
447viaide* 	at pci? dev ? function ?	# VIA/AMD/Nvidia IDE controllers
448
449# ATA (IDE) bus support
450atabus* at ata?
451
452# IDE drives
453# Flags are used only with controllers that support DMA operations
454# and mode settings (e.g. some pciide controllers)
455# The lowest order four bits (rightmost digit) of the flags define the PIO
456# mode to use, the next set of four bits the DMA mode and the third set the
457# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode
458# to use, and the last bit must be 1 for this setting to be used.
459# For DMA and UDMA, 0xf (1111) means 'disable'.
460# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'.
461# (0xc=1100, 0xa=1010, 0xf=1111)
462# 0x0000 means "use whatever the drive claims to support".
463wd*	at atabus? drive ? flags 0x0000
464
465# ATA RAID configuration support, as found on some Promise controllers.
466pseudo-device	ataraid
467ld*	at ataraid? vendtype ? unit ?
468
469# ATAPI bus support
470atapibus* at atapi?
471
472# ATAPI devices
473# flags have the same meaning as for IDE drives.
474cd*	at atapibus? drive ? flags 0x0000	# ATAPI CD-ROM drives
475sd*	at atapibus? drive ? flags 0x0000	# ATAPI disk drives
476st*	at atapibus? drive ? flags 0x0000	# ATAPI tape drives
477uk*	at atapibus? drive ? flags 0x0000	# ATAPI unknown
478
479# SCSI Controllers and Devices
480
481# PCI SCSI controllers
482adv*	at pci? dev ? function ?	# AdvanSys 1200[A,B], 9xx[U,UA] SCSI
483adw*	at pci? dev ? function ?	# AdvanSys 9x0UW[D], 3940U[2,3]W SCSI
484ahc*	at pci? dev ? function ?	# Adaptec [23]94x, aic78x0 SCSI
485ahd*	at pci? dev ? function ?	# Adaptec 29320, 39320 (aic790x) SCSI
486bha*	at pci? dev ? function ?	# BusLogic 9xx SCSI
487dpt*	at pci? dev ? function ?	# DPT SmartCache/SmartRAID
488iha*	at pci? dev ? function ?	# Initio INIC-940/950 SCSI
489isp*	at pci? dev ? function ?	# Qlogic ISP [12]0x0 SCSI/FibreChannel
490mfi*	at pci? dev ? function ?	# LSI MegaRAID SAS
491mly*	at pci? dev ? function ?	# Mylex AcceleRAID and eXtremeRAID
492mpt*	at pci? dev ? function ?	# LSILogic 9x9 and 53c1030 (Fusion-MPT)
493mpii*	at pci? dev ? function ?	# LSI Logic Fusion-MPT II
494njs*	at pci? dev ? function ?	# Workbit NinjaSCSI-32
495pcscp*	at pci? dev ? function ?	# AMD 53c974 PCscsi-PCI SCSI
496siop*	at pci? dev ? function ?	# Symbios 53c8xx SCSI
497esiop*	at pci? dev ? function ?	# Symbios 53c875 SCSI and newer
498#options 	SIOP_SYMLED		# drive the act. LED in software
499trm*	at pci? dev ? function ?	# Tekram DC-395U/UW/F, DC-315/U SCSI
500# SCSI bus support
501scsibus* at scsi?
502
503# SCSI devices
504sd*	at scsibus? target ? lun ?	# SCSI disk drives
505st*	at scsibus? target ? lun ?	# SCSI tape drives
506cd*	at scsibus? target ? lun ?	# SCSI CD-ROM drives
507ch*	at scsibus? target ? lun ?	# SCSI autochangers
508ses*	at scsibus? target ? lun ?	# SCSI Enclosure Services devices
509ss*	at scsibus? target ? lun ?	# SCSI scanners
510uk*	at scsibus? target ? lun ?	# SCSI unknown
511
512# RAID controllers and devices
513aac*	at pci? dev ? function ?	# Adaptec AAC family
514amr*	at pci? dev ? function ?	# AMI/LSI Logic MegaRAID
515arcmsr* at pci? dev ? function ?	# Areca SATA RAID controllers
516cac*	at pci? dev ? function ?	# Compaq PCI array controllers
517ciss*	at pci? dev ? function ?	# HP Smart Array controllers
518icp*	at pci? dev ? function ?	# ICP-Vortex GDT & Intel RAID
519mlx*	at pci? dev ? function ?	# Mylex DAC960 & DEC SWXCR family
520twe*	at pci? dev ? function ?	# 3ware Escalade RAID controllers
521twa*	at pci? dev ? function ?	# 3ware Escalade 95xx RAID controllers
522
523ld*	at aac? unit ?			# logical disk devices
524ld*	at amr? unit ?
525ld*	at cac? unit ?
526ld*	at icp? unit ?
527ld*	at twe? unit ?
528ld*	at twa? unit ?
529ld*	at mlx? unit ?
530
531icpsp*	at icp? unit ?			# SCSI pass-through
532
533# wscons
534pckbc0		at isa?			# pc keyboard controller
535pckbd*		at pckbc?		# PC keyboard
536pms*		at pckbc?		# PS/2 mouse for wsmouse
537#options 	PMS_DISABLE_POWERHOOK	# Disable PS/2 reset on resume
538options 	PMS_SYNAPTICS_TOUCHPAD	# Enable support for Synaptics Touchpads
539#vga0		at isa?
540vga*		at pci? dev ? function ?
541#pcdisplay0	at isa?			# CGA, MDA, EGA, HGA
542#machfb* 	at pci? dev ? function ? # ATI Mach64 framebuffer driver
543wsdisplay*	at vga? console ?
544#wsdisplay*	at pcdisplay? console ?
545#wsdisplay*	at machfb? console ?
546wskbd*		at pckbd? console ?
547wsmouse*	at pms? mux 0
548
549# USB Controller and Devices
550
551# PCI USB controllers
552ehci*	at pci? dev ? function ?	# Enhanced Host Controller
553ohci*	at pci? dev ? function ?	# Open Host Controller
554uhci*	at pci? dev ? function ?	# Universal Host Controller (Intel)
555
556# USB bus support
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
629
630# Prolific PL2301/PL2302 host-to-host adapter
631upl*	at uhub? port ?
632
633# Serial adapters
634ubsa*	at uhub? port ?		# Belkin serial adapter
635ucom*	at ubsa? portno ?
636
637uftdi*	at uhub? port ?		# FTDI FT8U100AX serial adapter
638ucom*	at uftdi? portno ?
639
640umct*	at uhub? port ?		# MCT USB-RS232 serial adapter
641ucom*	at umct? portno ?
642
643uplcom* at uhub? port ? 	# I/O DATA USB-RSAQ2 serial adapter
644ucom*	at uplcom? portno ?
645
646uvscom* at uhub? port ? 	# SUNTAC Slipper U VS-10U serial adapter
647ucom*	at uvscom? portno ?
648
649# Diamond Multimedia Rio 500
650urio*	at uhub? port ?
651
652# USB Handspring Visor
653uvisor* at uhub? port ?
654ucom*	at uvisor?
655
656# Kyocera AIR-EDGE PHONE
657ukyopon* at uhub? port ?
658ucom*	at ukyopon? portno ?
659
660# USB scanners
661uscanner* at uhub? port ?
662
663# USB scanners that use SCSI emulation, e.g., HP5300
664usscanner* at uhub? port ?
665
666# Y@P firmware loader
667uyap*	at uhub? port ?
668
669# D-Link DSB-R100 USB radio
670udsbr*	at uhub? port ?
671radio*	at udsbr?
672
673# USB Generic driver
674ugen*	at uhub? port ?
675
676# PCI IEEE1394 controllers
677fwohci* at pci? dev ? function ?	# IEEE1394 Open Host Controller
678
679# CardBus IEEE1394 controllers
680#fwohci* at cardbus? function ?		# IEEE1394 Open Host Controller
681
682ieee1394if* at fwohci?
683fwip*	at ieee1394if?			# IP over IEEE1394
684sbp*	at ieee1394if? euihi ? euilo ?	# SCSI over IEEE1394
685
686# PCI audio devices
687auacer* at pci? dev ? function ?	# ALi M5455 integrated AC'97 Audio
688auich*	at pci? dev ? function ?	# Intel ICH integrated AC'97 Audio
689auixp*	at pci? dev ? function ?	# ATI IXP AC'97 Audio
690autri*	at pci? dev ? function ?	# Trident 4DWAVE based AC'97 Audio
691auvia*	at pci? dev ? function ?	# VIA VT82C686A integrated AC'97 Audio
692#azalia* at pci? dev ? function ?	# High Definition Audio
693clcs*	at pci? dev ? function ?	# Cirrus Logic CS4280
694clct*	at pci? dev ? function ?	# Cirrus Logic CS4281
695cmpci*	at pci? dev ? function ?	# C-Media CMI8338/8738
696eap*	at pci? dev ? function ?	# Ensoniq AudioPCI
697emuxki* at pci? dev ? function ?	# Creative SBLive! and PCI512
698esa*	at pci? dev ? function ?	# ESS Allegro-1 / Maestro-3 PCI Audio
699esm*	at pci? dev ? function ?	# ESS Maestro-1/2/2e PCI Audio Accelerator
700eso*	at pci? dev ? function ?	# ESS Solo-1 PCI AudioDrive
701fms*	at pci? dev ? function ?	# Forte Media FM801
702neo*	at pci? dev ? function ?	# NeoMagic 256 AC'97 Audio
703sv*	at pci? dev ? function ?	# S3 SonicVibes
704yds*	at pci? dev ? function ?	# Yamaha DS-1 PCI Audio
705
706# OPL[23] FM synthesizers
707#opl0	at isa? port 0x388	# use only if not attached to sound card
708opl*	at cmpci? flags 1
709opl*	at eso?
710opl*	at fms?
711opl*	at sv?
712opl*	at yds?
713
714# High Definition Audio
715hdaudio*	at pci? dev ? function ?	# High Definition Audio
716hdafg*		at hdaudiobus?
717
718# Audio support
719audio*	at audiobus?
720
721# MPU 401 UARTs
722#mpu*	at isa? port 0x330 irq 9	# MPU401 or compatible card
723mpu*	at cmpci?
724mpu*	at eso?
725mpu*	at fms?
726mpu*	at yds?
727
728# MIDI support
729midi*	at midibus?
730
731# Bluetooth Controller and Device support
732
733# Bluetooth PCMCIA Controllers
734#bt3c* at pcmcia? function ?		# 3Com 3CRWB6096-A
735#btbc* at pcmcia? function ?		# AnyCom BlueCard LSE041/039/139
736
737# Bluetooth USB Controllers
738ubt* at uhub? port ?
739aubtfwl* at uhub? port ?
740
741# Bluetooth Device Hub
742#bthub* at bt3c?
743#bthub* at btbh?
744bthub* at ubt?
745
746# Bluetooth HID support
747bthidev* at bthub?
748
749# Bluetooth Mouse
750btms* at bthidev? reportid ?
751wsmouse* at btms? mux 0
752
753# Bluetooth Keyboard
754btkbd* at bthidev? reportid ?
755wskbd* at btkbd? console ? mux 1
756
757# Bluetooth Apple Magic Mouse
758btmagic* at bthub?
759wsmouse* at btmagic? mux 0
760
761# Bluetooth Audio support
762btsco* at bthub?
763
764# Cryptographic Devices
765
766# PCI cryptographic devices
767hifn*	at pci? dev ? function ?	# Hifn 7755/7811/795x
768ubsec*	at pci? dev ? function ?	# Broadcom 5501/5601/580x/582x
769
770cinclude "arch/amd64/conf/GENERIC.local"
771
772# Pseudo-Devices
773
774#
775# accept filters
776pseudo-device	accf_data	# "dataready" accept filter
777pseudo-device	accf_http	# "httpready" accept filter
778
779pseudo-device	crypto		# /dev/crypto device
780pseudo-device	swcrypto	# software crypto implementation
781
782# disk/mass storage pseudo-devices
783pseudo-device	bio			# RAID control device driver
784pseudo-device	ccd		4	# concatenated/striped disk devices
785pseudo-device	cgd		4	# cryptographic disk devices
786pseudo-device	raid		8	# RAIDframe disk driver
787options 	RAID_AUTOCONFIG		# auto-configuration of RAID components
788# Options to enable various other RAIDframe RAID types.
789#options 	RF_INCLUDE_EVENODD=1
790#options 	RF_INCLUDE_RAID5_RS=1
791#options 	RF_INCLUDE_PARITYLOGGING=1
792#options 	RF_INCLUDE_CHAINDECLUSTER=1
793#options 	RF_INCLUDE_INTERDECLUSTER=1
794#options 	RF_INCLUDE_PARITY_DECLUSTERING=1
795#options 	RF_INCLUDE_PARITY_DECLUSTERING_DS=1
796pseudo-device	fss			# file system snapshot device
797
798pseudo-device	md			# memory disk device (ramdisk)
799pseudo-device	vnd			# disk-like interface to files
800pseudo-device	putter			# for puffs and pud
801pseudo-device	dm			# device-mapper driver for LVM
802
803# network pseudo-devices
804pseudo-device	bpfilter		# Berkeley packet filter
805pseudo-device	ipfilter		# IP filter (firewall) and NAT
806pseudo-device	loop			# network loopback
807pseudo-device	ppp			# Point-to-Point Protocol
808pseudo-device	pppoe			# PPP over Ethernet (RFC 2516)
809pseudo-device	sl			# Serial Line IP
810pseudo-device	tap			# virtual Ethernet
811pseudo-device	tun			# network tunneling over tty
812pseudo-device	gre			# generic L3 over IP tunnel
813pseudo-device	gif			# IPv[46] over IPv[46] tunnel (RFC1933)
814#pseudo-device	faith			# IPv[46] tcp relay translation i/f
815pseudo-device	stf			# 6to4 IPv6 over IPv4 encapsulation
816pseudo-device	vlan			# IEEE 802.1q encapsulation
817pseudo-device	bridge			# simple inter-network bridging
818#options 	BRIDGE_IPF		# bridge uses IP/IPv6 pfil hooks too
819#pseudo-device	pf			# PF packet filter
820#pseudo-device	pflog			# PF log if
821#pseudo-device	pfsync			# PF sync if
822#pseudo-device	npf			# NPF packet filter
823
824# miscellaneous pseudo-devices
825pseudo-device	pty			# pseudo-terminals
826pseudo-device	clockctl		# user control of clock subsystem
827pseudo-device	ksyms			# /dev/ksyms
828
829# a pseudo device needed for Coda	# also needs CODA (above)
830pseudo-device	vcoda		4	# coda minicache <-> venus comm.
831
832# a pseudo device needed for SMBFS
833pseudo-device	nsmb			# experimental - SMB requester
834
835# wscons pseudo-devices
836pseudo-device	wsmux			# mouse & keyboard multiplexor
837pseudo-device	wsfont
838
839# userland interface to drivers, including autoconf and properties retrieval
840pseudo-device	drvctl
841
842# xen pseudo-devices
843pseudo-device	xenevt
844pseudo-device	xvif
845pseudo-device	xbdback
846
847options 	PAX_MPROTECT=0		# PaX mprotect(2) restrictions
848options 	PAX_ASLR=0		# PaX Address Space Layout Randomization
849