GENERIC revision 1.182
1# $NetBSD: GENERIC,v 1.182 2007/12/10 17:44:33 wiz Exp $ 2# 3# GENERIC machine description file 4# 5# This machine description file is used to generate the default NetBSD 6# kernel. The generic kernel does not include all options, subsystems 7# and device drivers, but should be useful for most applications. 8# 9# The machine description file can be customised for your specific 10# machine to reduce the kernel size and improve its performance. 11# 12# For further information on compiling NetBSD kernels, see the config(8) 13# man page. 14# 15# For further information on hardware support for this architecture, see 16# the intro(4) man page. For further information about kernel options 17# for this architecture, see the options(4) man page. For an explanation 18# of each device driver in this file see the section 4 man page for the 19# device. 20 21include "arch/amd64/conf/std.amd64" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25#ident "GENERIC-$Revision: 1.182 $" 26 27maxusers 32 # estimated number of users 28 29# delay between "rebooting ..." message and hardware reset, in milliseconds 30#options CPURESET_DELAY=2000 31 32# This option allows you to force a serial console at the specified 33# I/O address. see console(4) for details. 34#options CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600 35# you don't want the option below ON iff you are using the 36# serial console option of the new boot strap code. 37#options CONS_OVERRIDE # Always use above! independent of boot info 38 39# The following options override the memory sizes passed in from the boot 40# block. Use them *only* if the boot block is unable to determine the correct 41# values. Note that the BIOS may *correctly* report less than 640k of base 42# memory if the extended BIOS data area is located at the top of base memory 43# (as is the case on most recent systems). 44#options REALBASEMEM=639 # size of base memory (in KB) 45#options REALEXTMEM=15360 # size of extended memory (in KB) 46 47# Standard system options 48 49options INSECURE # disable kernel security levels - X needs this 50 51options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 52options NTP # NTP phase/frequency locked loop 53 54options KTRACE # system call tracing via ktrace(1) 55#options SYSTRACE # system call vetting via systrace(1) 56 57options SYSVMSG # System V-like message queues 58options SYSVSEM # System V-like semaphores 59options SYSVSHM # System V-like memory sharing 60options P1003_1B_SEMAPHORE # p1003.1b semaphore support 61 62options LKM # loadable kernel modules 63 64options USERCONF # userconf(4) support 65#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 66options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 67 68# Intel Enhanced Speedstep for EM64T CPUs 69options ENHANCED_SPEEDSTEP 70#options EST_FREQ_USERWRITE # any user can set frequency 71 72# AMD PowerNow! and Cool`n'Quiet technology 73options POWERNOW_K8 74 75# Intel(R) On Demand Clock Modulation (aka ODCM) 76# options INTEL_ONDEMAND_CLOCKMOD 77 78# Enable experimental buffer queue strategy for better responsiveness under 79# high disk I/O load. Use it with caution - it's not proven to be stable yet. 80#options BUFQ_READPRIO 81#options BUFQ_PRIOCSCAN 82 83# Diagnostic/debugging support options 84#options DIAGNOSTIC # expensive kernel consistency checks 85#options DEBUG # expensive debugging checks/support 86#options KMEMSTATS # kernel memory statistics (vmstat -m) 87 88# 89# Because gcc omits the frame pointer for any -O level, the line below 90# is needed to make backtraces in DDB work. 91# 92makeoptions COPTS="-O2 -fno-omit-frame-pointer" 93options DDB # in-kernel debugger 94#options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 95options DDB_HISTORY_SIZE=512 # enable history editing in DDB 96#options KGDB # remote debugger 97#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 98#makeoptions DEBUG="-g" # compile full symbol table 99#options SYSCALL_STATS # per syscall counts 100#options SYSCALL_TIMES # per syscall times 101#options SYSCALL_TIMES_HASCOUNTER # use 'broken' rdtsc (soekris) 102 103# Compatibility options 104options COMPAT_15 # compatibility with NetBSD 1.5, 105options COMPAT_16 # NetBSD 1.6, 106options COMPAT_20 # NetBSD 2.0, 107options COMPAT_30 # NetBSD 3.0, 108options COMPAT_40 # NetBSD 4.0 compatibility. 109options COMPAT_43 # and 4.3BSD 110#options COMPAT_386BSD_MBRPART # recognize old partition ID 111 112options COMPAT_OSSAUDIO 113options COMPAT_NETBSD32 114#options COMPAT_LINUX 115#options COMPAT_LINUX32 # req. COMPAT_LINUX and COMPAT_NETBSD32 116options EXEC_ELF32 117options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 118 119# File systems 120file-system FFS # UFS 121file-system EXT2FS # second extended file system (linux) 122file-system LFS # log-structured file system 123file-system MFS # memory file system 124file-system NFS # Network File System client 125file-system NTFS # Windows/NT file system (experimental) 126file-system CD9660 # ISO 9660 + Rock Ridge file system 127file-system MSDOSFS # MS-DOS file system 128file-system FDESC # /dev/fd 129file-system KERNFS # /kern 130file-system NULLFS # loopback file system 131file-system OVERLAY # overlay file system 132file-system PORTAL # portal filesystem (still experimental) 133file-system PROCFS # /proc 134file-system SMBFS # experimental - SMB/CIFS file-system 135file-system UMAPFS # NULLFS + uid and gid remapping 136file-system UNION # union file system 137file-system CODA # Coda File System; also needs vcoda (below) 138file-system PTYFS # /dev/pts/N support 139file-system TMPFS # Efficient memory file-system 140#file-system UDF # experimental - OSTA UDF CD/DVD file-system 141#file-system HFS # experimental - Apple HFS+ (read-only) 142 143# File system options 144options QUOTA # UFS quotas 145#options FFS_EI # FFS Endian Independent support 146options SOFTDEP # FFS soft updates support. 147# Note that UFS_DIRHASH is suspected of causing kernel memory corruption. 148# It is not recommended for general use. 149#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 150options NFSSERVER # Network File System server 151#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 152 # immutable) behave as system flags. 153#options FFS_NO_SNAPSHOT # No FFS snapshot support 154 155# Networking options 156#options GATEWAY # packet forwarding 157options INET # IP + ICMP + TCP + UDP 158options INET6 # IPV6 159#options IPSEC # IP security 160#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 161#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 162#options IPSEC_DEBUG # debug for IP security 163#options MROUTING # IP multicast routing 164#options PIM # Protocol Independent Multicast 165#options ISO,TPIP # OSI 166#options EON # OSI tunneling over IP 167options NETATALK # AppleTalk networking protocols 168options PPP_BSDCOMP # BSD-Compress compression support for PPP 169options PPP_DEFLATE # Deflate compression support for PPP 170options PPP_FILTER # Active filter support for PPP (requires bpf) 171options PFIL_HOOKS # pfil(9) packet filter hooks 172options IPFILTER_LOG # ipmon(8) log support 173options IPFILTER_LOOKUP # ippool(8) support 174#options IPFILTER_DEFAULT_BLOCK # block all packets by default 175#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 176 177#options ALTQ # Manipulate network interfaces' output queues 178#options ALTQ_BLUE # Stochastic Fair Blue 179#options ALTQ_CBQ # Class-Based Queueing 180#options ALTQ_CDNR # Diffserv Traffic Conditioner 181#options ALTQ_FIFOQ # First-In First-Out Queue 182#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 183#options ALTQ_HFSC # Hierarchical Fair Service Curve 184#options ALTQ_LOCALQ # Local queueing discipline 185#options ALTQ_PRIQ # Priority Queueing 186#options ALTQ_RED # Random Early Detection 187#options ALTQ_RIO # RED with IN/OUT 188#options ALTQ_WFQ # Weighted Fair Queueing 189 190# These options enable verbose messages for several subsystems. 191# Warning, these may compile large string tables into the kernel! 192options ACPIVERBOSE # verbose ACPI configuration messages 193options MIIVERBOSE # verbose PHY autoconfig messages 194options PCIVERBOSE # verbose PCI device autoconfig messages 195#options PCI_CONFIG_DUMP # verbosely dump PCI config space 196#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 197options SCSIVERBOSE # human readable SCSI error messages 198options USBVERBOSE # verbose USB device autoconfig messages 199 200options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 201 202# 203# wscons options 204# 205# builtin terminal emulations 206#options WSEMUL_SUN # sun terminal emulation 207options WSEMUL_VT100 # VT100 / VT220 emulation 208# different kernel output - see dev/wscons/wsdisplayvar.h 209options WS_KERNEL_FG=WSCOL_GREEN 210#options WS_KERNEL_BG=WSCOL_BLACK 211# compatibility to other console drivers 212options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 213options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 214options WSDISPLAY_COMPAT_USL # VT handling 215options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 216# see dev/pckbport/wskbdmap_mfii.c for implemented layouts 217#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 218# allocate a number of virtual screens at autoconfiguration time 219#options WSDISPLAY_DEFAULTSCREENS=4 220# use a large software cursor that doesn't blink 221options PCDISPLAY_SOFTCURSOR 222# modify the screen type of the console; defaults to "80x25" 223#options VGA_CONSOLE_SCREENTYPE="\"80x24\"" 224# work around a hardware bug that loaded fonts don't work; found on ATI cards 225#options VGA_CONSOLE_ATI_BROKEN_FONTSEL 226# console scrolling support. 227options WSDISPLAY_SCROLLSUPPORT 228# enable VGA raster mode capable of displaying multilingual text on console 229#options VGA_RASTERCONSOLE 230 231# Kernel root file system and dump configuration. 232config netbsd root on ? type ? 233#config netbsd root on sd0a type ffs 234#config netbsd root on ? type nfs 235 236# 237# Device configuration 238# 239 240mainbus0 at root 241 242#IPMI support 243#ipmi0 at mainbus? 244 245# ACPI will be used if present. If not it will fall back to MPBIOS 246acpi0 at mainbus0 247options ACPI_SCANPCI # find PCI roots using ACPI 248options MPBIOS # configure CPUs and APICs using MPBIOS 249options MPBIOS_SCANPCI # MPBIOS configures PCI roots 250#options PCI_INTR_FIXUP # PCI interrupt routing via ACPI 251#options ACPI_ACTIVATE_DEV # If set, activate inactive devices 252#options ACPICA_PEDANTIC # force strict conformance to the Spec. 253 254# ACPI devices 255acpiacad* at acpi? # ACPI AC Adapter 256acpibat* at acpi? # ACPI Battery 257acpibut* at acpi? # ACPI Button 258# The ACPI Embedded Controller is generally configured via the special ECDT. 259# This is required as parts of the DSDT can reference the EC before the normal 260# attach phase. 261acpiec* at acpi? # ACPI Embedded Controller (late binding) 262acpiecdt* at acpi? # ACPI Embedded Controller (early binding) 263acpilid* at acpi? # ACPI Lid Switch 264acpitz* at acpi? # ACPI Thermal Zone 265 266# Mainboard devices 267apm* at acpi? # ACPI apm emulation 268aiboost* at acpi? # ASUS AI Booster Hardware monitor 269attimer* at acpi? # AT Timer 270#com* at acpi? # Serial communications interface 271#fdc* at acpi? # Floppy disk controller 272hpet* at acpi? # High Precision Event Timer 273joy* at acpi? # Joystick/Game port 274#lpt* at acpi? # Parallel port 275mpu* at acpi? # Roland MPU-401 MIDI UART 276pckbc* at acpi? # PC keyboard controller 277pcppi* at acpi? # AT-style speaker sound 278ug* at acpi? # Abit uGuru Hardware monitor 279wss* at acpi? # NeoMagic 256AV in wss mode 280 281cpu* at mainbus? 282ioapic* at mainbus? apid ? 283 284#apm0 at mainbus0 # Advanced power management 285 286# Tuning for power management, see apm(4) for more details. 287#options APM_NO_IDLE # Don't call BIOS CPU idle function 288#options APM_V10_ONLY # Use only the APM 1.0 calls 289#options APM_NO_POWEROFF # Don't power off on halt(8) 290#options APM_POWER_PRINT # Print stats on the console 291#options APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts 292 293 294# Basic Bus Support 295 296# PCI bus support 297pci* at mainbus? bus ? 298pci* at pchb? bus ? 299pci* at ppb? bus ? 300 301# PCI bridges 302pchb* at pci? dev ? function ? # PCI-Host bridges 303pcib* at pci? dev ? function ? # PCI-ISA bridges 304ppb* at pci? dev ? function ? # PCI-PCI bridges 305# XXX 'puc's aren't really bridges, but there's no better place for them here 306puc* at pci? dev ? function ? # PCI "universal" comm. cards 307 308#amdpcib* at pci? dev ? function ? # AMD 8111 PCI-ISA w/ HPET 309#hpet* at amdpcib? 310 311#ichlpcib* at pci? dev ? function ? # Intel ICH PCI-ISA w/ timecounter, 312 # watchdog and Speedstep support. 313 314aapic* at pci? dev ? function ? # AMD 8131 IO apic 315 316agp* at pchb? 317 318# ISA bus support 319isa0 at mainbus? 320isa0 at pcib? 321#isa0 at amdpcib? 322#isa0 at ichlpcib? 323 324# CardBus bridge support 325cbb* at pci? dev ? function ? 326cardslot* at cbb? 327 328# CardBus bus support 329cardbus* at cardslot? 330pcmcia* at cardslot? 331 332# Console Devices 333 334# wscons 335pckbc0 at isa? # pc keyboard controller 336pckbd* at pckbc? # PC keyboard 337pms* at pckbc? # PS/2 mouse for wsmouse 338#options PMS_DISABLE_POWERHOOK # Disable PS/2 reset on resume 339options PMS_SYNAPTICS_TOUCHPAD # Enable support for Synaptics Touchpads 340vga* at pci? dev ? function ? 341wsdisplay* at vga? console ? 342wskbd* at pckbd? console ? 343wsmouse* at pms? mux 0 344 345attimer0 at isa? 346pcppi0 at isa? 347sysbeep0 at pcppi? 348 349# Cryptographic Devices 350 351# PCI cryptographic devices 352hifn* at pci? dev ? function ? # Hifn 7755/7811/795x 353ubsec* at pci? dev ? function ? # Broadcom 5501/5601/580x/582x 354 355# Serial Devices 356 357# PCI serial interfaces 358com* at puc? port ? # 16x50s on "universal" comm boards 359cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards 360cz* at pci? dev ? function ? # Cyclades-Z multi-port serial boards 361 362# PCMCIA serial interfaces 363com* at pcmcia? function ? # Modems and serial cards 364 365pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards 366com* at pcmcom? slave ? # ...and the slave devices 367 368# CardBus serial interfaces 369com* at cardbus? function ? # Modems and serial cards 370 371# ISA serial interfaces 372#options COM_HAYESP # adds Hayes ESP serial board support 373com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports 374com1 at isa? port 0x2f8 irq 3 375 376# Parallel Printer Interfaces 377 378# PCI parallel printer interfaces 379lpt* at puc? port ? # || ports on "universal" comm boards 380 381# ISA parallel printer interfaces 382lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports 383lpt1 at isa? port 0x278 384 385# Hardware monitors 386 387# LM7[89] and compatible hardware monitors 388#lm0 at isa? port 0x290 # other common ports: 0x280, 0x310 389 390# SMSC LPC47B397 hardware monitor functions 391#smsc0 at isa? port 0x02e 392 393# AMD 768 and 8111 power/ACPI controllers 394amdpm* at pci? dev ? function ? # RNG and SMBus 1.0 interface 395#iic* at amdpm? # sensors below are on this bus 396 397# NVIDIA nForce2/3/4 SMBus controller 398nfsmbc* at pci? dev ? function ? 399nfsmb* at nfsmbc? 400iic* at nfsmb? 401 402# Intel Core's on-die Thermal sensor 403options INTEL_CORETEMP 404 405# Intel ICH SMBus controller 406ichsmb* at pci? dev ? function ? 407iic* at ichsmb? 408 409#adt7463c* at iic? addr 0x2C # Unknown other motherboard(s) 410#adt7463c* at iic? addr 0x2D # Tyan S2881 411#adt7463c* at iic? addr 0x2E # Tyan S2882-D 412 413# iTE IT87xxF and compatible hardware monitors 414#itesio0 at isa? port 0x2e 415 416# Abit uGuru Hardware system monitor 417#ug0 at isa? port 0xe0 418 419# Serial Presence Detect capable memory modules 420#spdmem* at iic? addr 0x50 421#spdmem* at iic? addr 0x51 422#spdmem* at iic? addr 0x52 423#spdmem* at iic? addr 0x53 424 425# I2O devices 426iop* at pci? dev ? function ? # I/O processor 427iopsp* at iop? tid ? # SCSI/FC-AL ports 428ld* at iop? tid ? # block devices 429# XXX dpti.c wants a processor type that is not assigned for x86-64 430#dpti* at iop? tid 0 # DPT/Adaptec control interface 431 432 433# SCSI Controllers and Devices 434 435# PCI SCSI controllers 436adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI 437adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI 438ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 439ahd* at pci? dev ? function ? # Adaptec aic790x SCSI 440bha* at pci? dev ? function ? # BusLogic 9xx SCSI 441dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID 442iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI 443isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel 444mfi* at pci? dev ? function ? # LSI MegaRAID SAS 445mly* at pci? dev ? function ? # Mylex AcceleRAID and eXtremeRAID 446mpt* at pci? dev ? function ? # LSILogic 9x9 and 53c1030 447pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI 448siop* at pci? dev ? function ? # Symbios 53c8xx SCSI 449esiop* at pci? dev ? function ? # Symbios 53c875 and newer SCSI 450#options SIOP_SYMLED # drive the act. LED in software 451trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U SCSI 452 453# PCMCIA SCSI controllers 454aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 455esp* at pcmcia? function ? # Qlogic ESP406/FAS408 SCSI 456spc* at pcmcia? function ? # Fujitsu MB87030/MB89352 SCSI 457 458# CardBus SCSI cards 459adv* at cardbus? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI 460ahc* at cardbus? function ? # Adaptec ADP-1480 461 462# SCSI bus support 463scsibus* at scsi? 464 465# SCSI devices 466sd* at scsibus? target ? lun ? # SCSI disk drives 467st* at scsibus? target ? lun ? # SCSI tape drives 468cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 469ch* at scsibus? target ? lun ? # SCSI autochangers 470ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 471ss* at scsibus? target ? lun ? # SCSI scanners 472uk* at scsibus? target ? lun ? # SCSI unknown 473 474 475# RAID controllers and devices 476aac* at pci? dev ? function ? # Adaptec AAC family 477amr* at pci? dev ? function ? # AMI/LSI Logic MegaRAID 478arcmsr* at pci? dev ? function ? # Areca SATA RAID controllers 479cac* at pci? dev ? function ? # Compaq PCI array controllers 480ciss* at pci? dev ? function ? # HP Smart Array controllers 481icp* at pci? dev ? function ? # ICP-Vortex GDT & Intel RAID 482mlx* at pci? dev ? function ? # Mylex DAC960 & DEC SWXCR family 483twe* at pci? dev ? function ? # 3ware Escalade RAID controllers 484twa* at pci? dev ? function ? # 3ware Escalade 9xxx RAID controllers 485 486ld* at aac? unit ? 487ld* at amr? unit ? 488ld* at cac? unit ? 489ld* at icp? unit ? 490ld* at twe? unit ? 491ld* at twa? unit ? 492ld* at mlx? unit ? 493 494icpsp* at icp? unit ? # SCSI pass-through 495 496# IDE and related devices 497# PCI IDE controllers - see pciide(4) for supported hardware. 498# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 499# how to set up DMA modes for this chip. This may work, or may cause 500# a machine hang with some controllers. 501pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 502acardide* at pci? dev ? function ? # Acard IDE controllers 503aceride* at pci? dev ? function ? # Acer Lab IDE controllers 504ahcisata* at pci? dev ? function ? # AHCI SATA controllers 505artsata* at pci? dev ? function ? # Intel i31244 SATA controller 506cmdide* at pci? dev ? function ? # CMD tech IDE controllers 507cypide* at pci? dev ? function ? # Cypress IDE controllers 508hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers 509iteide* at pci? dev ? function ? # IT Express IDE controllers 510ixpide* at pci? dev ? function ? # ATI IXP IDE controllers 511jmide* at pci? dev ? function ? # JMicron PCI-e PATA/SATA controllers 512ahcisata* at jmide? 513optiide* at pci? dev ? function ? # Opti IDE controllers 514piixide* at pci? dev ? function ? # Intel IDE controllers 515pdcide* at pci? dev ? function ? # Promise IDE controllers 516pdcsata* at pci? dev ? function ? # Promise SATA150 controllers 517satalink* at pci? dev ? function ? # SiI SATALink controllers 518siside* at pci? dev ? function ? # SiS IDE controllers 519slide* at pci? dev ? function ? # Symphony Labs IDE controllers 520svwsata* at pci? dev ? function ? # ServerWorks SATA controllers 521viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers 522 523# PCMCIA IDE controllers 524wdc* at pcmcia? function ? 525 526# CardBus IDE controllers 527njata* at cardbus? function ? flags 0x01 # Workbit NinjaATA-32 528 529# ISA ST506, ESDI, and IDE controllers 530# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 531# fall back to 16bits I/O if 32bits I/O are not functional). 532# Some controllers pass the initial 32bit test, but will fail later. 533wdc0 at isa? port 0x1f0 irq 14 flags 0x00 534wdc1 at isa? port 0x170 irq 15 flags 0x00 535 536# ATA (IDE) bus support 537atabus* at ata? 538options ATADEBUG 539 540# IDE drives 541# Flags are used only with controllers that support DMA operations 542# and mode settings (e.g. some pciide controllers) 543# The lowest order four bits (rightmost digit) of the flags define the PIO 544# mode to use, the next set of four bits the DMA mode and the third set the 545# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 546# to use, and the last bit must be 1 for this setting to be used. 547# For DMA and UDMA, 0xf (1111) means 'disable'. 548# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 549# (0xc=1100, 0xa=1010, 0xf=1111) 550# 0x0000 means "use whatever the drive claims to support". 551wd* at atabus? drive ? flags 0x0000 552 553# ATAPI bus support 554atapibus* at atapi? 555 556 557# ATA RAID configuration support, as found on some Promise controllers. 558pseudo-device ataraid 559ld* at ataraid? vendtype ? unit ? 560 561# ATAPI devices 562# flags have the same meaning as for IDE drives. 563cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 564sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 565st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 566uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 567 568 569# Miscellaneous mass storage devices 570 571# ISA floppy 572fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 573#fdc1 at isa? port 0x370 irq ? drq ? 574fd* at fdc? drive ? # the drives themselves 575# some machines need you to do this instead of fd* 576#fd0 at fdc0 drive 0 577 578# Network Interfaces 579 580# PCI network interfaces 581an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11) 582ath* at pci? dev ? function ? # Atheros 5210/5211/5212 802.11 583atw* at pci? dev ? function ? # ADMtek ADM8211 (802.11) 584bce* at pci? dev ? function ? # Broadcom 440x 10/100 Ethernet 585bge* at pci? dev ? function ? # Broadcom 570x gigabit Ethernet 586bnx* at pci? dev ? function ? # Broadcom NetXtremeII gigabit Ethernet 587dge* at pci? dev ? function ? # Intel 82597 10GbE LR 588en* at pci? dev ? function ? # ENI/Adaptec ATM 589ep* at pci? dev ? function ? # 3Com 3c59x 590epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 591esh* at pci? dev ? function ? # Essential HIPPI card 592ex* at pci? dev ? function ? # 3Com 90x[BC] 593fpa* at pci? dev ? function ? # DEC DEFPA FDDI 594fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 595gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet 596ipw* at pci? dev ? function ? # Intel PRO/Wireless 2100 597iwi* at pci? dev ? function ? # Intel PRO/Wireless 2200BG 598hme* at pci? dev ? function ? # Sun Microelectronics STP2002-STQ 599le* at pci? dev ? function ? # PCnet-PCI Ethernet 600lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3 601mskc* at pci? dev ? function ? # Marvell Yukon 2 Gigabit Ethernet 602msk* at mskc? # Marvell Yukon 2 Gigabit Ethernet 603mtd* at pci? dev ? function ? # Myson MTD803 3-in-1 Ethernet 604ne* at pci? dev ? function ? # NE2000-compatible Ethernet 605nfe* at pci? dev ? function ? # NVIDIA nForce Ethernet 606ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial 607pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet 608ral* at pci? dev ? function ? # Ralink Technology RT25x0 802.11a/b/g 609re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S 610rtk* at pci? dev ? function ? # Realtek 8129/8139 611rtw* at pci? dev ? function ? # Realtek 8180L (802.11) 612sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet 613sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 614skc* at pci? dev ? function ? # SysKonnect SK9821 Gigabit Ethernet 615sk* at skc? # SysKonnect SK9821 Gigabit Ethernet 616ste* at pci? dev ? function ? # Sundance ST-201 Ethernet 617stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit 618ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet 619tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 620tlp* at pci? dev ? function ? # DECchip 21x4x and clones 621txp* at pci? dev ? function ? # 3com 3cr990 622vge* at pci? dev ? function ? # VIATech VT612X Gigabit Ethernet 623vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 624wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b) 625wm* at pci? dev ? function ? # Intel 82543/82544 gigabit 626wpi* at pci? dev ? function ? # Intel PRO/Wireless 3945ABG 627xge* at pci? dev ? function ? # Neterion (S2io) Xframe-I 10GbE 628 629# PCMCIA network interfaces 630an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11) 631awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS) 632cnw* at pcmcia? function ? # Xircom/Netwave AirSurfer 633cs* at pcmcia? function ? # CS89xx Ethernet 634ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 635mbe* at pcmcia? function ? # MB8696x based Ethernet 636ne* at pcmcia? function ? # NE2000-compatible Ethernet 637ray* at pcmcia? function ? # Raytheon Raylink (802.11) 638sm* at pcmcia? function ? # Megahertz Ethernet 639# tr at pcmcia has problems with Cardbus bridges 640#tr* at pcmcia? function ? # TROPIC based Token-Ring 641wi* at pcmcia? function ? # Lucent/Intersil WaveLan IEEE (802.11) 642xirc* at pcmcia? function ? # Xircom CreditCard Ethernet 643com* at xirc? 644xi* at xirc? 645 646mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards 647com* at mhzc? 648sm* at mhzc? 649 650# CardBus network cards 651ath* at cardbus? function ? # Atheros 5210/5211/5212 802.11 652atw* at cardbus? function ? # ADMtek ADM8211 (802.11) 653ex* at cardbus? function ? # 3Com 3C575TX 654fxp* at cardbus? function ? # Intel i8255x 655ral* at cardbus? function ? # Ralink Technology RT25x0 802.11a/b/g 656re* at cardbus? function ? # Realtek 8139C+/8169/8169S/8110S 657rtk* at cardbus? function ? # Realtek 8129/8139 658rtw* at cardbus? function ? # Realtek 8180L (802.11) 659tlp* at cardbus? function ? # DECchip 21143 660 661# MII/PHY support 662acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs 663amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 664bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs 665brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs 666ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs 667dmphy* at mii? phy ? # Davicom DM9101 PHYs 668exphy* at mii? phy ? # 3Com internal PHYs 669gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 670glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 671gphyter* at mii? phy ? # NS83861 Gig-E PHY 672icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 673igphy* at mii? phy ? # Intel IGP01E1000 674ikphy* at mii? phy ? # Intel 82563 PHYs 675inphy* at mii? phy ? # Intel 82555 PHYs 676iophy* at mii? phy ? # Intel 82553 PHYs 677lxtphy* at mii? phy ? # Level One LXT-970 PHYs 678makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 679nsphy* at mii? phy ? # NS83840 PHYs 680nsphyter* at mii? phy ? # NS83843 PHYs 681pnaphy* at mii? phy ? # generic HomePNA PHYs 682qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 683rgephy* at mii? phy ? # Realtek 8169S/8110 internal PHYs 684rlphy* at mii? phy ? # Realtek 8139/8201L PHYs 685sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 686tlphy* at mii? phy ? # ThunderLAN PHYs 687tqphy* at mii? phy ? # TDK Semiconductor PHYs 688ukphy* at mii? phy ? # generic unknown PHYs 689urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 690 691 692# USB Controller and Devices 693 694# PCI USB controllers 695ehci* at pci? dev ? function ? # Enhanced Host Controller 696ohci* at pci? dev ? function ? # Open Host Controller 697uhci* at pci? dev ? function ? # Universal Host Controller (Intel) 698 699# CardBus USB controllers 700ehci* at cardbus? function ? # Enhanced Host Controller 701ohci* at cardbus? function ? # Open Host Controller 702uhci* at cardbus? function ? # Universal Host Controller (Intel) 703 704# ISA USB controllers 705#slhci0 at isa? port 0x300 irq 5 # ScanLogic SL811HS 706 707# PCMCIA USB controllers 708slhci* at pcmcia? function ? # ScanLogic SL811HS 709 710# USB bus support 711usb* at ehci? 712usb* at ohci? 713usb* at uhci? 714usb* at slhci? 715 716# USB Hubs 717uhub* at usb? 718uhub* at uhub? port ? 719 720# USB HID device 721uhidev* at uhub? port ? configuration ? interface ? 722 723# USB Mice 724ums* at uhidev? reportid ? 725wsmouse* at ums? mux 0 726 727# USB eGalax touch-panel 728uep* at uhub? port ? 729wsmouse* at uep? mux 0 730 731# USB Keyboards 732ukbd* at uhidev? reportid ? 733wskbd* at ukbd? console ? mux 1 734 735# USB serial adapter 736ucycom* at uhidev? reportid ? 737 738# USB Generic HID devices 739uhid* at uhidev? reportid ? 740 741# USB Printer 742ulpt* at uhub? port ? configuration ? interface ? 743 744# USB Modem 745umodem* at uhub? port ? configuration ? 746ucom* at umodem? 747 748# USB Mass Storage 749umass* at uhub? port ? configuration ? interface ? 750#wd* at umass? 751 752# USB audio 753uaudio* at uhub? port ? configuration ? 754 755# USB MIDI 756umidi* at uhub? port ? configuration ? 757 758# USB IrDA 759# USB-IrDA bridge spec 760uirda* at uhub? port ? configuration ? interface ? 761irframe* at uirda? 762 763stuirda* at uhub? port ? configuration ? interface ? 764irframe* at stuirda? 765 766# SigmaTel STIr4200 USB/IrDA Bridge 767ustir* at uhub? port ? 768irframe* at ustir? 769 770# USB Ethernet adapters 771aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 772axe* at uhub? port ? # ASIX AX88172 based adapters 773cdce* at uhub? port ? # CDC, Ethernet Networking Control Model 774cue* at uhub? port ? # CATC USB-EL1201A based adapters 775kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 776url* at uhub? port ? # Realtek RTL8150L based adapters 777udav* at uhub? port ? # Davicom DM9601 based adapters 778 779# Prolific PL2301/PL2302 host-to-host adapter 780upl* at uhub? port ? 781 782# Serial adapters 783ubsa* at uhub? port ? # Belkin serial adapter 784ucom* at ubsa? portno ? 785 786uchcom* at uhub? port ? # WinChipHead CH341/CH340 serial adapter 787ucom* at uchcom? portno ? 788 789uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 790ucom* at uftdi? portno ? 791 792uipaq* at uhub? port ? # iPAQ PDAs 793ucom* at uipaq? portno ? 794 795umct* at uhub? port ? # MCT USB-RS232 serial adapter 796ucom* at umct? portno ? 797 798uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 799ucom* at uplcom? portno ? 800 801uslsa* at uhub? port ? # Silicon Labs USB-RS232 serial adapter 802ucom* at uslsa? portno ? 803 804uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 805ucom* at uvscom? portno ? 806 807# Diamond Multimedia Rio 500 808urio* at uhub? port ? 809 810# USB Handspring Visor 811uvisor* at uhub? port ? 812ucom* at uvisor? 813 814# Kyocera AIR-EDGE PHONE 815ukyopon* at uhub? port ? 816ucom* at ukyopon? portno ? 817 818# USB scanners 819uscanner* at uhub? port ? 820 821# USB 802.11 adapters 822atu* at uhub? port ? # Atmel at76c50x 802.11b 823ral* at uhub? port ? # Ralink Technology RT25x0 802.11a/b/g 824rum* at uhub? port ? # Ralink Technology RT2501/RT2601 802.11a/b/g 825zyd* at uhub? port ? # Zydas ZD1211 826 827# USB scanners that use SCSI emulation, e.g., HP5300 828usscanner* at uhub? port ? 829 830# Topfield TF5000PVR range of DVB recorders 831utoppy* at uhub? port ? 832 833# Y@P firmware loader 834uyap* at uhub? port ? 835 836# D-Link DSB-R100 USB radio 837udsbr* at uhub? port ? 838radio* at udsbr? 839 840# USB Generic driver 841ugen* at uhub? port ? 842# On ugen bulk endpoints, perform read-ahead and write-behind. 843options UGEN_BULK_RA_WB 844 845# USB generic serial port (e.g., data over cellular) 846ugensa* at uhub? port ? 847ucom* at ugensa? 848 849# IrDA and Consumer Ir devices 850 851# Toshiba Oboe 852#oboe* at pci? dev ? function ? # broken -- vtophys 853#irframe* at oboe? 854 855# PCI IEEE1394 controllers 856fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller 857 858# CardBus IEEE1394 controllers 859fwohci* at cardbus? function ? # IEEE1394 Open Host Controller 860 861ieee1394if* at fwohci? 862fwip* at ieee1394if? # IP over IEEE1394 863sbp* at ieee1394if? euihi ? euilo ? 864 865# Audio Devices 866 867# PCI audio devices 868auich* at pci? dev ? function ? # Intel/AMD/nVidia AC'97 Audio 869auixp* at pci? dev ? function ? # ATI IXP AC'97 Audio 870autri* at pci? dev ? function ? # Trident 4DWAVE based AC'97 Audio 871auvia* at pci? dev ? function ? # VIA AC'97 audio 872azalia* at pci? dev ? function ? # High Definition Audio 873clcs* at pci? dev ? function ? # Cirrus Logic CS4280 874clct* at pci? dev ? function ? # Cirrus Logic CS4281 875cmpci* at pci? dev ? function ? # C-Media CMI8338/8738 876eap* at pci? dev ? function ? # Ensoniq AudioPCI 877emuxki* at pci? dev ? function ? # Creative SBLive! and PCI512 878esa* at pci? dev ? function ? # ESS Allegro-1 / Maestro-3 PCI Audio 879esm* at pci? dev ? function ? # ESS Maestro-1/2/2e PCI Audio Accelerator 880eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive 881fms* at pci? dev ? function ? # Forte Media FM801 882neo* at pci? dev ? function ? # NeoMagic 256 AC'97 Audio 883sv* at pci? dev ? function ? # S3 SonicVibes 884yds* at pci? dev ? function ? # Yamaha DS-1 PCI Audio 885 886# PCMCIA audio devices 887#esl* at pcmcia? function ? # ESS 1688 AudioDrive 888 889# OPL[23] FM synthesizers 890#opl0 at isa? port 0x388 # use only if not attached to sound card 891opl* at cmpci? flags 1 892#opl* at esl? 893opl* at eso? 894opl* at fms? 895opl* at sv? 896 897# Audio support 898audio* at audiobus? 899 900# MPU 401 UARTs 901#mpu* at isa? port 0x330 irq 9 # MPU401 or compatible card 902mpu* at cmpci? 903mpu* at eso? 904mpu* at yds? 905 906# MIDI support 907midi* at midibus? 908midi* at pcppi? # MIDI interface to the PC speaker 909 910# The spkr driver provides a simple tone interface to the built in speaker. 911#spkr0 at pcppi? # PC speaker 912 913 914# FM-Radio devices 915# PCI radio devices 916#gtp* at pci? dev ? function ? # Guillemot Maxi Radio FM 2000 Radio Card 917 918# Radio support 919#radio* at gtp? 920 921 922# TV cards 923 924# Brooktree 848/849/878/879 based TV cards 925bktr* at pci? dev ? function ? 926radio* at bktr? 927 928 929# Bluetooth Controller and Device support 930 931# Bluetooth PCMCIA Controllers 932bt3c* at pcmcia? function ? # 3Com 3CRWB6096-A 933btbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139 934 935# Bluetooth USB Controllers 936ubt* at uhub? port ? 937 938# Bluetooth Device Hub 939bthub* at bcsp? 940bthub* at bt3c? 941bthub* at btbc? 942bthub* at btuart? 943bthub* at ubt? 944 945# Bluetooth HID support 946bthidev* at bthub? 947 948# Bluetooth Mouse 949btms* at bthidev? reportid ? 950wsmouse* at btms? mux 0 951 952# Bluetooth Keyboard 953btkbd* at bthidev? reportid ? 954wskbd* at btkbd? console ? mux 1 955 956# Bluetooth Audio support 957btsco* at bthub? 958 959 960# Mice 961 962# Middle Digital, Inc. PCI-Weasel serial console board control 963# devices (watchdog timer, etc.) 964weasel* at pci? 965 966# Pull in optional local configuration 967include "arch/amd64/conf/GENERIC.local" 968 969# Pseudo-Devices 970 971pseudo-device crypto # /dev/crypto device 972pseudo-device swcrypto # software crypto implementation 973 974# disk/mass storage pseudo-devices 975pseudo-device bio # RAID control device driver 976pseudo-device ccd 4 # concatenated/striped disk devices 977pseudo-device cgd 4 # cryptographic disk devices 978pseudo-device raid 8 # RAIDframe disk driver 979options RAID_AUTOCONFIG # auto-configuration of RAID components 980#Options to enable various other RAIDframe RAID types. 981#options RF_INCLUDE_EVENODD=1 982#options RF_INCLUDE_RAID5_RS=1 983#options RF_INCLUDE_PARITYLOGGING=1 984#options RF_INCLUDE_CHAINDECLUSTER=1 985#options RF_INCLUDE_INTERDECLUSTER=1 986#options RF_INCLUDE_PARITY_DECLUSTERING=1 987#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 988pseudo-device fss 4 # file system snapshot device 989 990pseudo-device md 1 # memory disk device (ramdisk) 991pseudo-device vnd # disk-like interface to files 992#options VND_COMPRESSION # compressed vnd(4) 993 994# network pseudo-devices 995pseudo-device bpfilter # Berkeley packet filter 996#pseudo-device carp # Common Address Redundancy Protocol 997pseudo-device ipfilter # IP filter (firewall) and NAT 998pseudo-device loop # network loopback 999pseudo-device ppp # Point-to-Point Protocol 1000pseudo-device pppoe # PPP over Ethernet (RFC 2516) 1001pseudo-device sl # Serial Line IP 1002pseudo-device strip # Starmode Radio IP (Metricom) 1003pseudo-device irframetty # IrDA frame line discipline 1004pseudo-device tun # network tunneling over tty 1005pseudo-device tap # virtual Ethernet 1006pseudo-device gre # generic L3 over IP tunnel 1007pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 1008#pseudo-device faith # IPv[46] tcp relay translation i/f 1009pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 1010pseudo-device vlan # IEEE 802.1q encapsulation 1011pseudo-device bridge # simple inter-network bridging 1012#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 1013pseudo-device agr # IEEE 802.3ad link aggregation 1014 1015# miscellaneous pseudo-devices 1016pseudo-device pty # pseudo-terminals 1017pseudo-device sequencer 1 # MIDI sequencer 1018# rnd works; RND_COM does not on port i386 yet. 1019pseudo-device rnd # /dev/random and in-kernel generator 1020#options RND_COM # use "com" randomness as well (BROKEN) 1021pseudo-device clockctl # user control of clock subsystem 1022pseudo-device ksyms # /dev/ksyms 1023#pseudo-device pf # PF packet filter 1024#pseudo-device pflog # PF log if 1025pseudo-device lockstat # lock profiling 1026pseudo-device bcsp # BlueCore Serial Protocol 1027pseudo-device btuart # Bluetooth HCI UART (H4) 1028 1029# a pseudo device needed for Coda # also needs CODA (above) 1030pseudo-device vcoda 4 # coda minicache <-> venus comm. 1031 1032# a pseudo device needed for SMBFS 1033pseudo-device nsmb # experimental - SMB requester 1034 1035# wscons pseudo-devices 1036pseudo-device wsmux # mouse & keyboard multiplexor 1037pseudo-device wsfont 1038 1039# pseudo audio device driver 1040pseudo-device pad 1041 1042options FILEASSOC # fileassoc(9) - required for Veriexec 1043 1044# Veriexec 1045# 1046# a pseudo device needed for veriexec 1047pseudo-device veriexec 1 1048# 1049# Uncomment the fingerprint methods below that are desired. Note that 1050# removing fingerprint methods will have almost no impact on the kernel 1051# code size. 1052# 1053options VERIFIED_EXEC_FP_RMD160 1054options VERIFIED_EXEC_FP_SHA256 1055options VERIFIED_EXEC_FP_SHA384 1056options VERIFIED_EXEC_FP_SHA512 1057options VERIFIED_EXEC_FP_SHA1 1058options VERIFIED_EXEC_FP_MD5 1059 1060options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 1061