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