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