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