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