GENERIC revision 1.196
1# $NetBSD: GENERIC,v 1.196 2008/01/01 11:05:27 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.196 $" 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 268apm* at acpi? # ACPI apm emulation 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 PIIX4 power management controllers 418piixpm* at pci? dev ? function ? # PIIX4 compatible PM controller 419iic* at piixpm? # SMBus on PIIX4 420 421# Intel Core's on-die Thermal sensor 422options INTEL_CORETEMP 423 424# Intel ICH SMBus controller 425ichsmb* at pci? dev ? function ? 426iic* at ichsmb? 427 428#adt7463c* at iic? addr 0x2C # Unknown other motherboard(s) 429#adt7463c* at iic? addr 0x2D # Tyan S2881 430#adt7463c* at iic? addr 0x2E # Tyan S2882-D 431 432# iTE IT87xxF Super I/O with watchdog and sensors support 433#itesio0 at isa? port 0x2e 434 435# Abit uGuru Hardware system monitor 436#ug0 at isa? port 0xe0 437 438# Serial Presence Detect capable memory modules 439#spdmem* at iic? addr 0x50 440#spdmem* at iic? addr 0x51 441#spdmem* at iic? addr 0x52 442#spdmem* at iic? addr 0x53 443 444# I2O devices 445iop* at pci? dev ? function ? # I/O processor 446iopsp* at iop? tid ? # SCSI/FC-AL ports 447ld* at iop? tid ? # block devices 448# XXX dpti.c wants a processor type that is not assigned for x86-64 449#dpti* at iop? tid 0 # DPT/Adaptec control interface 450 451 452# SCSI Controllers and Devices 453 454# PCI SCSI controllers 455adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI 456adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI 457ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 458ahd* at pci? dev ? function ? # Adaptec aic790x SCSI 459bha* at pci? dev ? function ? # BusLogic 9xx SCSI 460dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID 461iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI 462isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel 463mfi* at pci? dev ? function ? # LSI MegaRAID SAS 464mly* at pci? dev ? function ? # Mylex AcceleRAID and eXtremeRAID 465mpt* at pci? dev ? function ? # LSILogic 9x9 and 53c1030 466pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI 467siop* at pci? dev ? function ? # Symbios 53c8xx SCSI 468esiop* at pci? dev ? function ? # Symbios 53c875 and newer SCSI 469#options SIOP_SYMLED # drive the act. LED in software 470trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U SCSI 471 472# PCMCIA SCSI controllers 473aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 474esp* at pcmcia? function ? # Qlogic ESP406/FAS408 SCSI 475spc* at pcmcia? function ? # Fujitsu MB87030/MB89352 SCSI 476 477# CardBus SCSI cards 478adv* at cardbus? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI 479ahc* at cardbus? function ? # Adaptec ADP-1480 480 481# SCSI bus support 482scsibus* at scsi? 483 484# SCSI devices 485sd* at scsibus? target ? lun ? # SCSI disk drives 486st* at scsibus? target ? lun ? # SCSI tape drives 487cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 488ch* at scsibus? target ? lun ? # SCSI autochangers 489ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 490ss* at scsibus? target ? lun ? # SCSI scanners 491uk* at scsibus? target ? lun ? # SCSI unknown 492 493 494# RAID controllers and devices 495aac* at pci? dev ? function ? # Adaptec AAC family 496amr* at pci? dev ? function ? # AMI/LSI Logic MegaRAID 497arcmsr* at pci? dev ? function ? # Areca SATA RAID controllers 498cac* at pci? dev ? function ? # Compaq PCI array controllers 499ciss* at pci? dev ? function ? # HP Smart Array controllers 500icp* at pci? dev ? function ? # ICP-Vortex GDT & Intel RAID 501mlx* at pci? dev ? function ? # Mylex DAC960 & DEC SWXCR family 502twe* at pci? dev ? function ? # 3ware Escalade RAID controllers 503twa* at pci? dev ? function ? # 3ware Escalade 9xxx RAID controllers 504 505ld* at aac? unit ? 506ld* at amr? unit ? 507ld* at cac? unit ? 508ld* at icp? unit ? 509ld* at twe? unit ? 510ld* at twa? unit ? 511ld* at mlx? unit ? 512 513icpsp* at icp? unit ? # SCSI pass-through 514 515# IDE and related devices 516# PCI IDE controllers - see pciide(4) for supported hardware. 517# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 518# how to set up DMA modes for this chip. This may work, or may cause 519# a machine hang with some controllers. 520pciide* at pci? dev ? function ? flags 0x0000 # GENERIC pciide driver 521acardide* at pci? dev ? function ? # Acard IDE controllers 522aceride* at pci? dev ? function ? # Acer Lab IDE controllers 523ahcisata* at pci? dev ? function ? # AHCI SATA controllers 524artsata* at pci? dev ? function ? # Intel i31244 SATA controller 525cmdide* at pci? dev ? function ? # CMD tech IDE controllers 526cypide* at pci? dev ? function ? # Cypress IDE controllers 527hptide* at pci? dev ? function ? # Triones/HighPoint IDE controllers 528iteide* at pci? dev ? function ? # IT Express IDE controllers 529ixpide* at pci? dev ? function ? # ATI IXP IDE controllers 530jmide* at pci? dev ? function ? # JMicron PCI-e PATA/SATA controllers 531ahcisata* at jmide? 532optiide* at pci? dev ? function ? # Opti IDE controllers 533piixide* at pci? dev ? function ? # Intel IDE controllers 534pdcide* at pci? dev ? function ? # Promise IDE controllers 535pdcsata* at pci? dev ? function ? # Promise SATA150 controllers 536satalink* at pci? dev ? function ? # SiI SATALink controllers 537siside* at pci? dev ? function ? # SiS IDE controllers 538slide* at pci? dev ? function ? # Symphony Labs IDE controllers 539svwsata* at pci? dev ? function ? # ServerWorks SATA controllers 540viaide* at pci? dev ? function ? # VIA/AMD/Nvidia IDE controllers 541 542# PCMCIA IDE controllers 543wdc* at pcmcia? function ? 544 545# CardBus IDE controllers 546njata* at cardbus? function ? flags 0x01 # Workbit NinjaATA-32 547 548# ISA ST506, ESDI, and IDE controllers 549# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 550# fall back to 16bits I/O if 32bits I/O are not functional). 551# Some controllers pass the initial 32bit test, but will fail later. 552wdc0 at isa? port 0x1f0 irq 14 flags 0x00 553wdc1 at isa? port 0x170 irq 15 flags 0x00 554 555# ATA (IDE) bus support 556atabus* at ata? 557options ATADEBUG 558 559# IDE drives 560# Flags are used only with controllers that support DMA operations 561# and mode settings (e.g. some pciide controllers) 562# The lowest order four bits (rightmost digit) of the flags define the PIO 563# mode to use, the next set of four bits the DMA mode and the third set the 564# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 565# to use, and the last bit must be 1 for this setting to be used. 566# For DMA and UDMA, 0xf (1111) means 'disable'. 567# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 568# (0xc=1100, 0xa=1010, 0xf=1111) 569# 0x0000 means "use whatever the drive claims to support". 570wd* at atabus? drive ? flags 0x0000 571 572# ATAPI bus support 573atapibus* at atapi? 574 575 576# ATA RAID configuration support, as found on some Promise controllers. 577pseudo-device ataraid 578ld* at ataraid? vendtype ? unit ? 579 580# ATAPI devices 581# flags have the same meaning as for IDE drives. 582cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 583sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 584st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 585uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 586 587 588# Miscellaneous mass storage devices 589 590# ISA floppy 591fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 592#fdc1 at isa? port 0x370 irq ? drq ? 593fd* at fdc? drive ? # the drives themselves 594# some machines need you to do this instead of fd* 595#fd0 at fdc0 drive 0 596 597# Network Interfaces 598 599# PCI network interfaces 600an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11) 601ath* at pci? dev ? function ? # Atheros 5210/5211/5212 802.11 602atw* at pci? dev ? function ? # ADMtek ADM8211 (802.11) 603bce* at pci? dev ? function ? # Broadcom 440x 10/100 Ethernet 604bge* at pci? dev ? function ? # Broadcom 570x gigabit Ethernet 605bnx* at pci? dev ? function ? # Broadcom NetXtremeII gigabit Ethernet 606dge* at pci? dev ? function ? # Intel 82597 10GbE LR 607en* at pci? dev ? function ? # ENI/Adaptec ATM 608ep* at pci? dev ? function ? # 3Com 3c59x 609epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 610esh* at pci? dev ? function ? # Essential HIPPI card 611ex* at pci? dev ? function ? # 3Com 90x[BC] 612fpa* at pci? dev ? function ? # DEC DEFPA FDDI 613fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 614gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet 615ipw* at pci? dev ? function ? # Intel PRO/Wireless 2100 616iwi* at pci? dev ? function ? # Intel PRO/Wireless 2200BG 617hme* at pci? dev ? function ? # Sun Microelectronics STP2002-STQ 618le* at pci? dev ? function ? # PCnet-PCI Ethernet 619lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3 620mskc* at pci? dev ? function ? # Marvell Yukon 2 Gigabit Ethernet 621msk* at mskc? # Marvell Yukon 2 Gigabit Ethernet 622mtd* at pci? dev ? function ? # Myson MTD803 3-in-1 Ethernet 623ne* at pci? dev ? function ? # NE2000-compatible Ethernet 624nfe* at pci? dev ? function ? # NVIDIA nForce Ethernet 625ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial 626pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet 627ral* at pci? dev ? function ? # Ralink Technology RT25x0 802.11a/b/g 628re* at pci? dev ? function ? # Realtek 8139C+/8169/8169S/8110S 629rtk* at pci? dev ? function ? # Realtek 8129/8139 630rtw* at pci? dev ? function ? # Realtek 8180L (802.11) 631sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet 632sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 633skc* at pci? dev ? function ? # SysKonnect SK9821 Gigabit Ethernet 634sk* at skc? # SysKonnect SK9821 Gigabit Ethernet 635ste* at pci? dev ? function ? # Sundance ST-201 Ethernet 636stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit 637ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet 638tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 639tlp* at pci? dev ? function ? # DECchip 21x4x and clones 640txp* at pci? dev ? function ? # 3com 3cr990 641vge* at pci? dev ? function ? # VIATech VT612X Gigabit Ethernet 642vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 643wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b) 644wm* at pci? dev ? function ? # Intel 82543/82544 gigabit 645wpi* at pci? dev ? function ? # Intel PRO/Wireless 3945ABG 646xge* at pci? dev ? function ? # Neterion (S2io) Xframe-I 10GbE 647 648# PCMCIA network interfaces 649an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11) 650awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS) 651cnw* at pcmcia? function ? # Xircom/Netwave AirSurfer 652cs* at pcmcia? function ? # CS89xx Ethernet 653ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 654mbe* at pcmcia? function ? # MB8696x based Ethernet 655ne* at pcmcia? function ? # NE2000-compatible Ethernet 656ray* at pcmcia? function ? # Raytheon Raylink (802.11) 657sm* at pcmcia? function ? # Megahertz Ethernet 658# tr at pcmcia has problems with Cardbus bridges 659#tr* at pcmcia? function ? # TROPIC based Token-Ring 660wi* at pcmcia? function ? # Lucent/Intersil WaveLan IEEE (802.11) 661xirc* at pcmcia? function ? # Xircom CreditCard Ethernet 662com* at xirc? 663xi* at xirc? 664 665mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards 666com* at mhzc? 667sm* at mhzc? 668 669# CardBus network cards 670ath* at cardbus? function ? # Atheros 5210/5211/5212 802.11 671atw* at cardbus? function ? # ADMtek ADM8211 (802.11) 672ex* at cardbus? function ? # 3Com 3C575TX 673fxp* at cardbus? function ? # Intel i8255x 674ral* at cardbus? function ? # Ralink Technology RT25x0 802.11a/b/g 675re* at cardbus? function ? # Realtek 8139C+/8169/8169S/8110S 676rtk* at cardbus? function ? # Realtek 8129/8139 677rtw* at cardbus? function ? # Realtek 8180L (802.11) 678tlp* at cardbus? function ? # DECchip 21143 679 680# MII/PHY support 681acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs 682amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 683bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs 684brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs 685ciphy* at mii? phy ? # Cicada CS8201 Gig-E PHYs 686dmphy* at mii? phy ? # Davicom DM9101 PHYs 687exphy* at mii? phy ? # 3Com internal PHYs 688gentbi* at mii? phy ? # Generic Ten-Bit 1000BASE-[CLS]X PHYs 689glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 690gphyter* at mii? phy ? # NS83861 Gig-E PHY 691icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 692igphy* at mii? phy ? # Intel IGP01E1000 693ikphy* at mii? phy ? # Intel 82563 PHYs 694inphy* at mii? phy ? # Intel 82555 PHYs 695iophy* at mii? phy ? # Intel 82553 PHYs 696lxtphy* at mii? phy ? # Level One LXT-970 PHYs 697makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 698nsphy* at mii? phy ? # NS83840 PHYs 699nsphyter* at mii? phy ? # NS83843 PHYs 700pnaphy* at mii? phy ? # generic HomePNA PHYs 701qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 702rgephy* at mii? phy ? # Realtek 8169S/8110 internal PHYs 703rlphy* at mii? phy ? # Realtek 8139/8201L PHYs 704sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 705tlphy* at mii? phy ? # ThunderLAN PHYs 706tqphy* at mii? phy ? # TDK Semiconductor PHYs 707ukphy* at mii? phy ? # generic unknown PHYs 708urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 709 710 711# USB Controller and Devices 712 713# PCI USB controllers 714ehci* at pci? dev ? function ? # Enhanced Host Controller 715ohci* at pci? dev ? function ? # Open Host Controller 716uhci* at pci? dev ? function ? # Universal Host Controller (Intel) 717 718# CardBus USB controllers 719ehci* at cardbus? function ? # Enhanced Host Controller 720ohci* at cardbus? function ? # Open Host Controller 721uhci* at cardbus? function ? # Universal Host Controller (Intel) 722 723# ISA USB controllers 724#slhci0 at isa? port 0x300 irq 5 # ScanLogic SL811HS 725 726# PCMCIA USB controllers 727slhci* at pcmcia? function ? # ScanLogic SL811HS 728 729# USB bus support 730usb* at ehci? 731usb* at ohci? 732usb* at uhci? 733usb* at slhci? 734 735# USB Hubs 736uhub* at usb? 737uhub* at uhub? port ? 738 739# USB HID device 740uhidev* at uhub? port ? configuration ? interface ? 741 742# USB Mice 743ums* at uhidev? reportid ? 744wsmouse* at ums? mux 0 745 746# USB eGalax touch-panel 747uep* at uhub? port ? 748wsmouse* at uep? mux 0 749 750# USB Keyboards 751ukbd* at uhidev? reportid ? 752wskbd* at ukbd? console ? mux 1 753 754# USB serial adapter 755ucycom* at uhidev? reportid ? 756 757# USB Generic HID devices 758uhid* at uhidev? reportid ? 759 760# USB Printer 761ulpt* at uhub? port ? configuration ? interface ? 762 763# USB Modem 764umodem* at uhub? port ? configuration ? 765ucom* at umodem? 766 767# USB Mass Storage 768umass* at uhub? port ? configuration ? interface ? 769#wd* at umass? 770 771# USB audio 772uaudio* at uhub? port ? configuration ? 773 774# USB MIDI 775umidi* at uhub? port ? configuration ? 776 777# USB IrDA 778# USB-IrDA bridge spec 779uirda* at uhub? port ? configuration ? interface ? 780irframe* at uirda? 781 782stuirda* at uhub? port ? configuration ? interface ? 783irframe* at stuirda? 784 785# SigmaTel STIr4200 USB/IrDA Bridge 786ustir* at uhub? port ? 787irframe* at ustir? 788 789# USB Ethernet adapters 790aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 791axe* at uhub? port ? # ASIX AX88172 based adapters 792cdce* at uhub? port ? # CDC, Ethernet Networking Control Model 793cue* at uhub? port ? # CATC USB-EL1201A based adapters 794kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 795url* at uhub? port ? # Realtek RTL8150L based adapters 796udav* at uhub? port ? # Davicom DM9601 based adapters 797 798# Prolific PL2301/PL2302 host-to-host adapter 799upl* at uhub? port ? 800 801# Serial adapters 802ubsa* at uhub? port ? # Belkin serial adapter 803ucom* at ubsa? portno ? 804 805uchcom* at uhub? port ? # WinChipHead CH341/CH340 serial adapter 806ucom* at uchcom? portno ? 807 808uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 809ucom* at uftdi? portno ? 810 811uipaq* at uhub? port ? # iPAQ PDAs 812ucom* at uipaq? portno ? 813 814umct* at uhub? port ? # MCT USB-RS232 serial adapter 815ucom* at umct? portno ? 816 817uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 818ucom* at uplcom? portno ? 819 820uslsa* at uhub? port ? # Silicon Labs USB-RS232 serial adapter 821ucom* at uslsa? portno ? 822 823uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 824ucom* at uvscom? portno ? 825 826# Diamond Multimedia Rio 500 827urio* at uhub? port ? 828 829# USB Handspring Visor 830uvisor* at uhub? port ? 831ucom* at uvisor? 832 833# Kyocera AIR-EDGE PHONE 834ukyopon* at uhub? port ? 835ucom* at ukyopon? portno ? 836 837# USB scanners 838uscanner* at uhub? port ? 839 840# USB 802.11 adapters 841atu* at uhub? port ? # Atmel at76c50x 802.11b 842ral* at uhub? port ? # Ralink Technology RT25x0 802.11a/b/g 843rum* at uhub? port ? # Ralink Technology RT2501/RT2601 802.11a/b/g 844zyd* at uhub? port ? # Zydas ZD1211 845 846# USB scanners that use SCSI emulation, e.g., HP5300 847usscanner* at uhub? port ? 848 849# Topfield TF5000PVR range of DVB recorders 850utoppy* at uhub? port ? 851 852# Y@P firmware loader 853uyap* at uhub? port ? 854 855# D-Link DSB-R100 USB radio 856udsbr* at uhub? port ? 857radio* at udsbr? 858 859# USB Generic driver 860ugen* at uhub? port ? 861# On ugen bulk endpoints, perform read-ahead and write-behind. 862options UGEN_BULK_RA_WB 863 864# USB generic serial port (e.g., data over cellular) 865ugensa* at uhub? port ? 866ucom* at ugensa? 867 868# IrDA and Consumer Ir devices 869 870# Toshiba Oboe 871#oboe* at pci? dev ? function ? # broken -- vtophys 872#irframe* at oboe? 873 874# PCI IEEE1394 controllers 875fwohci* at pci? dev ? function ? # IEEE1394 Open Host Controller 876 877# CardBus IEEE1394 controllers 878fwohci* at cardbus? function ? # IEEE1394 Open Host Controller 879 880ieee1394if* at fwohci? 881fwip* at ieee1394if? # IP over IEEE1394 882sbp* at ieee1394if? euihi ? euilo ? 883 884# Audio Devices 885 886# PCI audio devices 887auich* at pci? dev ? function ? # Intel/AMD/nVidia AC'97 Audio 888auixp* at pci? dev ? function ? # ATI IXP AC'97 Audio 889autri* at pci? dev ? function ? # Trident 4DWAVE based AC'97 Audio 890auvia* at pci? dev ? function ? # VIA AC'97 audio 891azalia* at pci? dev ? function ? # High Definition Audio 892clcs* at pci? dev ? function ? # Cirrus Logic CS4280 893clct* at pci? dev ? function ? # Cirrus Logic CS4281 894cmpci* at pci? dev ? function ? # C-Media CMI8338/8738 895eap* at pci? dev ? function ? # Ensoniq AudioPCI 896emuxki* at pci? dev ? function ? # Creative SBLive! and PCI512 897esa* at pci? dev ? function ? # ESS Allegro-1 / Maestro-3 PCI Audio 898esm* at pci? dev ? function ? # ESS Maestro-1/2/2e PCI Audio Accelerator 899eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive 900fms* at pci? dev ? function ? # Forte Media FM801 901neo* at pci? dev ? function ? # NeoMagic 256 AC'97 Audio 902sv* at pci? dev ? function ? # S3 SonicVibes 903yds* at pci? dev ? function ? # Yamaha DS-1 PCI Audio 904 905# PCMCIA audio devices 906#esl* at pcmcia? function ? # ESS 1688 AudioDrive 907 908# OPL[23] FM synthesizers 909#opl0 at isa? port 0x388 # use only if not attached to sound card 910opl* at cmpci? flags 1 911#opl* at esl? 912opl* at eso? 913opl* at fms? 914opl* at sv? 915 916# Audio support 917audio* at audiobus? 918 919# MPU 401 UARTs 920#mpu* at isa? port 0x330 irq 9 # MPU401 or compatible card 921mpu* at cmpci? 922mpu* at eso? 923mpu* at yds? 924 925# MIDI support 926midi* at midibus? 927midi* at pcppi? # MIDI interface to the PC speaker 928 929# The spkr driver provides a simple tone interface to the built in speaker. 930#spkr0 at pcppi? # PC speaker 931 932 933# FM-Radio devices 934# PCI radio devices 935#gtp* at pci? dev ? function ? # Guillemot Maxi Radio FM 2000 Radio Card 936 937# Radio support 938#radio* at gtp? 939 940 941# TV cards 942 943# Brooktree 848/849/878/879 based TV cards 944bktr* at pci? dev ? function ? 945radio* at bktr? 946 947 948# Bluetooth Controller and Device support 949 950# Bluetooth PCMCIA Controllers 951bt3c* at pcmcia? function ? # 3Com 3CRWB6096-A 952btbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139 953 954# Bluetooth USB Controllers 955ubt* at uhub? port ? 956 957# Bluetooth Device Hub 958bthub* at bcsp? 959bthub* at bt3c? 960bthub* at btbc? 961bthub* at btuart? 962bthub* at ubt? 963 964# Bluetooth HID support 965bthidev* at bthub? 966 967# Bluetooth Mouse 968btms* at bthidev? reportid ? 969wsmouse* at btms? mux 0 970 971# Bluetooth Keyboard 972btkbd* at bthidev? reportid ? 973wskbd* at btkbd? console ? mux 1 974 975# Bluetooth Audio support 976btsco* at bthub? 977 978 979# Mice 980 981# Middle Digital, Inc. PCI-Weasel serial console board control 982# devices (watchdog timer, etc.) 983weasel* at pci? 984 985# Pull in optional local configuration 986include "arch/amd64/conf/GENERIC.local" 987 988# Pseudo-Devices 989 990pseudo-device crypto # /dev/crypto device 991pseudo-device swcrypto # software crypto implementation 992 993# disk/mass storage pseudo-devices 994pseudo-device bio # RAID control device driver 995pseudo-device ccd 4 # concatenated/striped disk devices 996pseudo-device cgd 4 # cryptographic disk devices 997pseudo-device raid 8 # RAIDframe disk driver 998options RAID_AUTOCONFIG # auto-configuration of RAID components 999#Options to enable various other RAIDframe RAID types. 1000#options RF_INCLUDE_EVENODD=1 1001#options RF_INCLUDE_RAID5_RS=1 1002#options RF_INCLUDE_PARITYLOGGING=1 1003#options RF_INCLUDE_CHAINDECLUSTER=1 1004#options RF_INCLUDE_INTERDECLUSTER=1 1005#options RF_INCLUDE_PARITY_DECLUSTERING=1 1006#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 1007pseudo-device fss 4 # file system snapshot device 1008 1009pseudo-device md 1 # memory disk device (ramdisk) 1010pseudo-device vnd # disk-like interface to files 1011#options VND_COMPRESSION # compressed vnd(4) 1012 1013# network pseudo-devices 1014pseudo-device bpfilter # Berkeley packet filter 1015#pseudo-device carp # Common Address Redundancy Protocol 1016pseudo-device ipfilter # IP filter (firewall) and NAT 1017pseudo-device loop # network loopback 1018pseudo-device ppp # Point-to-Point Protocol 1019pseudo-device pppoe # PPP over Ethernet (RFC 2516) 1020pseudo-device sl # Serial Line IP 1021pseudo-device strip # Starmode Radio IP (Metricom) 1022pseudo-device irframetty # IrDA frame line discipline 1023pseudo-device tun # network tunneling over tty 1024pseudo-device tap # virtual Ethernet 1025pseudo-device gre # generic L3 over IP tunnel 1026pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 1027#pseudo-device faith # IPv[46] tcp relay translation i/f 1028pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 1029pseudo-device vlan # IEEE 802.1q encapsulation 1030pseudo-device bridge # simple inter-network bridging 1031#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 1032pseudo-device agr # IEEE 802.3ad link aggregation 1033 1034# miscellaneous pseudo-devices 1035pseudo-device pty # pseudo-terminals 1036pseudo-device sequencer 1 # MIDI sequencer 1037# rnd works; RND_COM does not on port i386 yet. 1038pseudo-device rnd # /dev/random and in-kernel generator 1039#options RND_COM # use "com" randomness as well (BROKEN) 1040pseudo-device clockctl # user control of clock subsystem 1041pseudo-device ksyms # /dev/ksyms 1042#pseudo-device pf # PF packet filter 1043#pseudo-device pflog # PF log if 1044pseudo-device lockstat # lock profiling 1045pseudo-device bcsp # BlueCore Serial Protocol 1046pseudo-device btuart # Bluetooth HCI UART (H4) 1047 1048# a pseudo device needed for Coda # also needs CODA (above) 1049pseudo-device vcoda 4 # coda minicache <-> venus comm. 1050 1051# a pseudo device needed for SMBFS 1052pseudo-device nsmb # experimental - SMB requester 1053 1054# wscons pseudo-devices 1055pseudo-device wsmux # mouse & keyboard multiplexor 1056pseudo-device wsfont 1057 1058# pseudo audio device driver 1059pseudo-device pad 1060 1061# userland interface to drivers, including autoconf and properties retrieval 1062pseudo-device drvctl 1063 1064options FILEASSOC # fileassoc(9) - required for Veriexec 1065 1066# Veriexec 1067# 1068# a pseudo device needed for veriexec 1069pseudo-device veriexec 1 1070# 1071# Uncomment the fingerprint methods below that are desired. Note that 1072# removing fingerprint methods will have almost no impact on the kernel 1073# code size. 1074# 1075options VERIFIED_EXEC_FP_RMD160 1076options VERIFIED_EXEC_FP_SHA256 1077options VERIFIED_EXEC_FP_SHA384 1078options VERIFIED_EXEC_FP_SHA512 1079options VERIFIED_EXEC_FP_SHA1 1080options VERIFIED_EXEC_FP_MD5 1081 1082options PAX_MPROTECT=0 # PaX mprotect(2) restrictions 1083options PAX_ASLR=0 # PaX Address Space Layout Randomization 1084