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