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