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