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