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