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