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