GENERIC revision 1.520
1# $NetBSD: GENERIC,v 1.520 2002/10/24 18:22:53 junyoung 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/i386/conf/std.i386" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25#ident "GENERIC-$Revision: 1.520 $" 26 27maxusers 32 # estimated number of users 28 29# CPU support. At least one is REQUIRED. 30options I386_CPU 31options I486_CPU 32options I586_CPU 33options I686_CPU 34 35# CPU-related options. 36options MATH_EMULATE # floating point emulation 37options VM86 # virtual 8086 emulation 38options USER_LDT # user-settable LDT; used by WINE 39# eliminate delay no-ops in I/O; recommended on all but very old machines 40#options DUMMY_NOPS 41 42options MTRR # memory-type range register syscall support 43# doesn't work with MP just yet.. 44#options PERFCTRS # performance-monitoring counters support 45 46# delay between "rebooting ..." message and hardware reset, in milliseconds 47#options CPURESET_DELAY=2000 48 49# This option allows you to force a serial console at the specified 50# I/O address. see console(4) for details. 51#options CONSDEVNAME="\"com\"",CONADDR=0x2f8,CONSPEED=57600 52# you don't want the option below ON iff you are using the 53# serial console option of the new boot strap code. 54#options CONS_OVERRIDE # Always use above! independent of boot info 55 56# The following options override the memory sizes passed in from the boot 57# block. Use them *only* if the boot block is unable to determine the correct 58# values. Note that the BIOS may *correctly* report less than 640k of base 59# memory if the extended BIOS data area is located at the top of base memory 60# (as is the case on most recent systems). 61#options REALBASEMEM=639 # size of base memory (in KB) 62#options REALEXTMEM=15360 # size of extended memory (in KB) 63 64# Standard system options 65 66options UCONSOLE # users can use TIOCCONS (for xconsole) 67options INSECURE # disable kernel security levels - X needs this 68 69options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 70options NTP # NTP phase/frequency locked loop 71 72options KTRACE # system call tracing via ktrace(1) 73options SYSTRACE # system call vetting via systrace(1) 74 75options SYSVMSG # System V-like message queues 76options SYSVSEM # System V-like semaphores 77#options SEMMNI=10 # number of semaphore identifiers 78#options SEMMNS=60 # number of semaphores in system 79#options SEMUME=10 # max number of undo entries per process 80#options SEMMNU=30 # number of undo structures in system 81options SYSVSHM # System V-like memory sharing 82#options SHMMAXPGS=2048 # 2048 pages is the default 83 84options LKM # loadable kernel modules 85 86options USERCONF # userconf(4) support 87#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 88 89# Enable experimental buffer queue strategy for better responsiness under 90# high disk I/O load. Use it with caution - it's not proven to be stable yet. 91#options NEW_BUFQ_STRATEGY 92 93# Diagnostic/debugging support options 94#options DIAGNOSTIC # expensive kernel consistency checks 95#options DEBUG # expensive debugging checks/support 96#options KMEMSTATS # kernel memory statistics (vmstat -m) 97options DDB # in-kernel debugger 98options DDB_HISTORY_SIZE=512 # enable history editing in DDB 99#options KGDB # remote debugger 100#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 101#makeoptions DEBUG="-g" # compile full symbol table 102 103# Compatibility options 104options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8, 105options COMPAT_09 # NetBSD 0.9, 106options COMPAT_10 # NetBSD 1.0, 107options COMPAT_11 # NetBSD 1.1, 108options COMPAT_12 # NetBSD 1.2, 109options COMPAT_13 # NetBSD 1.3, 110options COMPAT_14 # NetBSD 1.4, 111options COMPAT_15 # NetBSD 1.5, 112options COMPAT_43 # and 4.3BSD 113options COMPAT_386BSD_MBRPART # recognize old partition ID 114#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 115 116options COMPAT_SVR4 # binary compatibility with SVR4 117options COMPAT_IBCS2 # binary compatibility with SCO and ISC 118options COMPAT_LINUX # binary compatibility with Linux 119options COMPAT_FREEBSD # binary compatibility with FreeBSD 120#options COMPAT_MACH # binary compatibility with Mach binaries 121#options EXEC_MACHO # exec MACH-O binaries 122#options COMPAT_PECOFF # kernel support to run Win32 apps 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 UMAPFS # NULLFS + uid and gid remapping 140file-system UNION # union file system 141file-system CODA # Coda File System; also needs vcoda (below) 142 143# File system options 144options QUOTA # UFS quotas 145#options FFS_EI # FFS Endian Independent support 146options SOFTDEP # FFS soft updates support. 147options NFSSERVER # Network File System server 148#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 149 # immutable) behave as system flags. 150 151# Networking options 152#options GATEWAY # packet forwarding 153options INET # IP + ICMP + TCP + UDP 154options INET6 # IPV6 155#options IPSEC # IP security 156#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 157#options IPSEC_DEBUG # debug for IP security 158#options MROUTING # IP multicast routing 159options NS # XNS 160#options NSIP # XNS tunneling over IP 161options ISO,TPIP # OSI 162#options EON # OSI tunneling over IP 163options CCITT,LLC,HDLC # X.25 164options NETATALK # AppleTalk networking protocols 165options PPP_BSDCOMP # BSD-Compress compression support for PPP 166options PPP_DEFLATE # Deflate compression support for PPP 167options PPP_FILTER # Active filter support for PPP (requires bpf) 168options PFIL_HOOKS # pfil(9) packet filter hooks 169options IPFILTER_LOG # ipmon(8) log support 170#options IPFILTER_DEFAULT_BLOCK # block all packets by default 171#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 172 173# These options enable verbose messages for several subsystems. 174# Warning, these may compile large string tables into the kernel! 175options EISAVERBOSE # verbose EISA device autoconfig messages 176options MIIVERBOSE # verbose PHY autoconfig messages 177options PCIVERBOSE # verbose PCI device autoconfig messages 178#options PCI_CONFIG_DUMP # verbosely dump PCI config space 179#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 180options SCSIVERBOSE # human readable SCSI error messages 181options USBVERBOSE # verbose USB device autoconfig messages 182#options PNPBIOSVERBOSE # verbose PnP BIOS messages 183#options PNPBIOSDEBUG # more fulsome PnP BIOS debugging messages 184options I2OVERBOSE # verbose I2O driver messages 185options MCAVERBOSE # verbose MCA device autoconfig messages 186 187options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 188 189# 190# wscons options 191# 192# builtin terminal emulations 193#options WSEMUL_SUN # sun terminal emulation 194options WSEMUL_VT100 # VT100 / VT220 emulation 195# different kernel output - see dev/wscons/wsdisplayvar.h 196options WS_KERNEL_FG=WSCOL_GREEN 197#options WS_KERNEL_BG=WSCOL_BLACK 198# compatibility to other console drivers 199options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 200options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 201options WSDISPLAY_COMPAT_USL # VT handling 202options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 203# see dev/pckbc/wskbdmap_mfii.c for implemented layouts 204#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 205# allocate a number of virtual screens at autoconfiguration time 206#options WSDISPLAY_DEFAULTSCREENS=4 207# use a large software cursor that doesn't blink 208options PCDISPLAY_SOFTCURSOR 209# modify the screen type of the console; defaults to "80x25" 210#options VGA_CONSOLE_SCREENTYPE="\"80x24\"" 211# work around a hardware bug that loaded fonts don't work; found on ATI cards 212#options VGA_CONSOLE_ATI_BROKEN_FONTSEL 213# the following enables some functions to get mouse console support. 214# if you want a really secure system, it may be better not to enable them, 215# see wsmoused(8), section SECURITY CONSIDERATIONS for more info. 216#options WSDISPLAY_CHARFUNCS # mouse console support 217# enable VGA raster mode capable of displaying multilingual text on console 218#options VGA_RASTERCONSOLE 219 220# Kernel root file system and dump configuration. 221config netbsd root on ? type ? 222#config netbsd root on sd0a type ffs 223#config netbsd root on ? type nfs 224 225# 226# Device configuration 227# 228 229mainbus0 at root 230 231cpu* at mainbus? 232#ioapic* at mainbus? 233 234#apm0 at mainbus0 # Advanced power management 235 236# Tuning for power management, see apm(4) for more details. 237#options APM_NO_IDLE # Don't call BIOS CPU idle function 238#options APM_V10_ONLY # Use only the APM 1.0 calls 239#options APM_NO_POWEROFF # Don't power off on halt(8) 240#options APM_POWER_PRINT # Print stats on the console 241#options APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts 242 243 244# Basic Bus Support 245 246# Plug-and-Play BIOS and attached devices 247 248#pnpbios* at mainbus? 249 250# mainboard audio chips 251#ess* at pnpbios? index ? # ESS AudioDrive 252#sb* at pnpbios? index ? # NeoMagic 256AV in sb mode 253#wss* at pnpbios? index ? # NeoMagic 256AV in wss mode 254#ym* at pnpbios? index ? # OPL3-SA3 255 256# com port 257# If enabled, consider changing "com0", "com1", and "com2" under "ISA Serial 258# Interfaces" to "com*", otherwise com2 will attach at pnpbios? and there 259# will be no com0. A side effect is pcmcia (and other) com? previously 260# starting at com3 may attach as com1 or com2. 261#com* at pnpbios? index ? # serial ports 262 263# parallel port 264# The above "com*" comments apply, cf. "lpt0" under "ISA parallel 265# "printer interfaces". 266#lpt* at pnpbios? index ? # parallel ports 267 268#pckbc* at pnpbios? index ? # PC keyboard/mouse controller 269#fdc* at pnpbios? index ? # floppy controller 270 271# IDE controller on Toshiba Portege 3000 series (crippled PCI device) 272#pciide* at pnpbios? index ? 273 274# PCI bus support 275pci* at mainbus? bus ? 276pci* at pchb? bus ? 277pci* at ppb? bus ? 278 279# Configure PCI using BIOS information 280#options PCIBIOS # PCI BIOS support 281#options PCIBIOSVERBOSE # PCI BIOS verbose info 282#options PCIBIOS_ADDR_FIXUP # fixup PCI I/O addresses 283#options PCIBIOS_BUS_FIXUP # fixup PCI bus numbering 284#options PCIBIOS_INTR_FIXUP # fixup PCI interrupt routing 285#options PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11 286#options PCIBIOS_INTR_GUESS # see pcibios(4) 287#options PCIINTR_DEBUG # super-verbose PCI interrupt fixup 288 289# System Controllers 290elansc* at pci? dev ? function ? # AMD Elan SC520 System Controller 291 292# PCI bridges 293pchb* at pci? dev ? function ? # PCI-Host bridges 294pceb* at pci? dev ? function ? # PCI-EISA bridges 295pcib* at pci? dev ? function ? # PCI-ISA bridges 296pcmb* at pci? dev ? function ? # PCI-MCA bridges 297ppb* at pci? dev ? function ? # PCI-PCI bridges 298# XXX 'puc's aren't really bridges, but there's no better place for them here 299puc* at pci? dev ? function ? # PCI "universal" comm. cards 300 301agp* at pchb? 302 303# 304 305p64h2apic* at pci? dev? function? # P64H2 IOxAPIC 306 307 308# EISA bus support 309eisa0 at mainbus? 310eisa0 at pceb? 311 312# ISA bus support 313isa0 at mainbus? 314isa0 at pceb? 315isa0 at pcib? 316 317# PCMCIA bus support 318pcmcia* at pcic? controller ? socket ? 319pcmcia* at tcic? controller ? socket ? 320 321# MCA bus support 322mca0 at mainbus? 323 324# ISA PCMCIA controllers 325pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000 326pcic1 at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000 327pcic2 at isa? port 0x3e4 iomem 0xe0000 iosiz 0x4000 328tcic0 at isa? port 0x240 iomem 0xd0000 iosiz 0x10000 329 330# PCI PCMCIA controllers 331pcic0 at pci? dev? function ? 332 333# ISA Plug-and-Play bus support 334isapnp0 at isa? 335 336# ISA Plug-and-Play PCMCIA controllers 337pcic* at isapnp? 338 339# CardBus bridge support 340#cbb* at pci? dev ? function ? 341#cardslot* at cbb? 342 343# CardBus bus support 344#cardbus* at cardslot? 345#pcmcia* at cardslot? 346 347# Coprocessor Support 348 349# Math Coprocessor support 350npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor 351 352 353# Console Devices 354 355# ISA console 356#pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver 357# Keyboard layout configuration for pccons 358#options FRENCH_KBD 359#options FINNISH_KBD 360#options GERMAN_KBD 361#options NORWEGIAN_KBD 362# pccons-specific options: 363#options XSERVER_DDB # PF12 gets you into DDB when X is running 364#options XSERVER # X server support 365 366 367# wscons 368pckbc0 at isa? # pc keyboard controller 369pckbd* at pckbc? # PC keyboard 370pms* at pckbc? # PS/2 mouse for wsmouse 371#options PMS_DISABLE_POWERHOOK # Disable PS/2 reset on resume 372vga0 at isa? 373vga* at pci? dev ? function ? 374pcdisplay0 at isa? # CGA, MDA, EGA, HGA 375#machfb* at pci? dev ? function ? # ATI Mach64 framebuffer driver 376wsdisplay* at vga? console ? 377wsdisplay* at pcdisplay? console ? 378#wsdisplay* at machfb? console ? 379wskbd* at pckbd? console ? 380wsmouse* at pms? mux 0 381 382pcppi0 at isa? 383sysbeep0 at pcppi? 384 385# Serial Devices 386 387# PCI serial interfaces 388com* at puc? port ? # 16x50s on "universal" comm boards 389cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards 390cz* at pci? dev ? function ? # Cyclades-Z multi-port serial boards 391 392# ISA Plug-and-Play serial interfaces 393com* at isapnp? # Modems and serial boards 394 395# PCMCIA serial interfaces 396com* at pcmcia? function ? # Modems and serial cards 397 398pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards 399com* at pcmcom? slave ? # ...and the slave devices 400 401# CardBus serial interfaces 402#com* at cardbus? dev ? function ? # Modems and serial cards 403 404# ISA serial interfaces 405#options COM_HAYESP # adds Hayes ESP serial board support 406com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports 407com1 at isa? port 0x2f8 irq 3 408com2 at isa? port 0x3e8 irq 5 409#com3 at isa? port 0x2e8 irq 9 410#ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards 411#com* at ast? slave ? 412#boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards 413#boca0 at isa? port 0x100 irq 5 # BOCA 16-port serial cards (BB2016) 414#boca1 at isa? port 0x140 irq 5 # this line is also needed for BB2016 415#com* at boca? slave ? 416#tcom0 at isa? port 0x100 irq 7 # TC-800 8-port serial cards 417#com* at tcom? slave ? 418#rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards 419#com* at rtfps? slave ? 420#cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards 421#addcom0 at isa? port 0x108 irq 5 # Addonics FlexPort 8S 422#com* at addcom? slave ? 423#moxa0 at isa? port 0x100 irq 5 # MOXA C168H serial card (experimental) 424#com* at moxa? slave ? 425 426# MCA serial interfaces 427com* at mca? slot ? # 16x50s on comm boards 428 429# Parallel Printer Interfaces 430 431# PCI parallel printer interfaces 432lpt* at puc? port ? # || ports on "universal" comm boards 433 434# ISA parallel printer interfaces 435lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports 436lpt1 at isa? port 0x278 437lpt2 at isa? port 0x3bc 438 439# Hardware monitors 440 441# LM7[89] and compatible hardware monitors 442#lm0 at isa? port 0x290 # other common ports: 0x280, 0x310 443 444# VIA VT82C686A hardware monitor 445#viapm* at pci? dev ? function ? 446#viaenv* at viapm? 447 448 449# I2O devices 450iop* at pci? dev ? function ? # I/O processor 451iopsp* at iop? tid ? # SCSI/FC-AL ports 452ld* at iop? tid ? # block devices 453dpti* at iop? tid 0 # DPT/Adaptec control interface 454 455 456# SCSI Controllers and Devices 457 458# PCI SCSI controllers 459adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI 460adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI 461ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 462bha* at pci? dev ? function ? # BusLogic 9xx SCSI 463dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID 464iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI 465isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel 466mly* at pci? dev ? function ? # Mylex AcceleRAID and eXtremeRAID 467pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI 468siop* at pci? dev ? function ? # Symbios 53c8xx 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# EISA SCSI controllers 473ahb* at eisa? slot ? # Adaptec 174[02] SCSI 474ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI 475bha* at eisa? slot ? # BusLogic 7xx SCSI 476dpt* at eisa? slot ? # DPT EATA SCSI 477uha* at eisa? slot ? # UltraStor 24f SCSI 478 479# PCMCIA SCSI controllers 480aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 481esp* at pcmcia? function ? # Qlogic ESP406/FAS408 SCSI 482 483# ISA Plug-and-Play SCSI controllers 484aha* at isapnp? # Adaptec AHA-154[02 485aic* at isapnp? # Adaptec AHA-1520B 486 487# ISA SCSI controllers 488adv0 at isa? port ? irq ? drq ? # AdvanSys APB-514[02] SCSI 489aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI 490aha1 at isa? port 0x334 irq ? drq ? 491ahc0 at isa? port ? irq ? # Adaptec 284x SCSI 492aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI 493bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI 494bha1 at isa? port 0x334 irq ? drq ? 495# The "nca" and "dpt" probes might give false hits or hang your machine. 496#dpt0 at isa? port 0x170 irq ? drq ? # DPT SmartCache/SmartRAID 497#nca0 at isa? port 0x360 irq 15 # Port-mapped NCR 53C80 controller 498#nca1 at isa? iomem 0xd8000 irq 5 # Memory-mapped controller (T128, etc.) 499sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI 500uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI 501uha1 at isa? port 0x340 irq ? drq ? 502wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers 503wds1 at isa? port 0x358 irq 11 drq 5 504 505# CardBus SCSI cards 506#adv* at cardbus? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI 507#ahc* at cardbus? dev ? function ? # Adaptec ADP-1480 508 509# MCA SCSI cards 510aha* at mca? slot ? # Adaptec AHA-1640 511 512# SCSI bus support 513scsibus* at scsi? 514 515# SCSI devices 516sd* at scsibus? target ? lun ? # SCSI disk drives 517st* at scsibus? target ? lun ? # SCSI tape drives 518cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 519ch* at scsibus? target ? lun ? # SCSI autochangers 520ses* at scsibus? target ? lun ? # SCSI Enclosure Services devices 521ss* at scsibus? target ? lun ? # SCSI scanners 522uk* at scsibus? target ? lun ? # SCSI unknown 523 524 525# RAID controllers and devices 526aac* at pci? dev ? function ? # Adaptec AAC family 527cac* at eisa? slot ? # Compaq EISA array controllers 528cac* at pci? dev ? function ? # Compaq PCI array controllers 529icp* at pci? dev ? function ? # ICP-Vortex GDT & Intel RAID 530mlx* at pci? dev ? function ? # Mylex DAC960 & DEC SWXCR family 531mlx* at eisa? slot ? # Mylex DAC960 & DEC SWXCR family 532twe* at pci? dev ? function ? # 3ware Escalade RAID controllers 533 534ld* at aac? unit ? # logical disk devices 535ld* at cac? unit ? 536ld* at icp? unit ? 537ld* at twe? unit ? 538ld* at mlx? unit ? 539 540icpsp* at icp? unit ? # SCSI pass-through 541 542# IDE and related devices 543# PCI IDE controllers - see pciide(4) for supported hardware. 544# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 545# how to set up DMA modes for this chip. This may work, or may cause 546# a machine hang with some controllers. 547pciide* at pci? dev ? function ? flags 0x0000 548 549# ISA Plug-and-Play IDE controllers 550wdc* at isapnp? 551 552# PCMCIA IDE controllers 553wdc* at pcmcia? function ? 554 555# ISA ST506, ESDI, and IDE controllers 556# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 557# fall back to 16bits I/O if 32bits I/O are not functional). 558# Some controllers pass the initial 32bit test, but will fail later. 559wdc0 at isa? port 0x1f0 irq 14 flags 0x00 560wdc1 at isa? port 0x170 irq 15 flags 0x00 561 562# IDE drives 563# Flags are used only with controllers that support DMA operations 564# and mode settings (e.g. some pciide controllers) 565# The lowest order four bits (rightmost digit) of the flags define the PIO 566# mode to use, the next set of four bits the DMA mode and the third set the 567# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 568# to use, and the last bit must be 1 for this setting to be used. 569# For DMA and UDMA, 0xf (1111) means 'disable'. 570# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 571# (0xc=1100, 0xa=1010, 0xf=1111) 572# 0x0000 means "use whatever the drive claims to support". 573wd* at wdc? channel ? drive ? flags 0x0000 574wd* at pciide? channel ? drive ? flags 0x0000 575 576# ATAPI bus support 577atapibus* at atapi? 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# ISA CD-ROM devices 597#mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives 598 599# ISA tape devices 600# note: the wt driver conflicts unpleasantly with SMC boards at the 601# same I/O address. The probe reprograms their EEPROMs. Don't 602# uncomment it unless you are actually using it. 603#wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives 604 605# MCA ESDI devices 606edc* at mca? slot ? # IBM ESDI Disk Controllers 607ed* at edc? 608 609 610# Network Interfaces 611 612# PCI network interfaces 613an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11) 614bge* at pci? dev ? function ? # Broadcom 570x gigabit Ethernet 615en* at pci? dev ? function ? # ENI/Adaptec ATM 616ep* at pci? dev ? function ? # 3Com 3c59x 617epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 618esh* at pci? dev ? function ? # Essential HIPPI card 619ex* at pci? dev ? function ? # 3Com 90x[BC] 620fpa* at pci? dev ? function ? # DEC DEFPA FDDI 621fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 622gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet 623#hme* at pci? dev ? function ? # Sun Microelectronics STP2002-STQ 624le* at pci? dev ? function ? # PCnet-PCI Ethernet 625lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3 626ne* at pci? dev ? function ? # NE2000-compatible Ethernet 627ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial 628pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet 629rtk* at pci? dev ? function ? # Realtek 8129/8139 630sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet 631sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 632ste* at pci? dev ? function ? # Sundance ST-201 Ethernet 633stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit 634ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet 635tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 636tlp* at pci? dev ? function ? # DECchip 21x4x and clones 637vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 638wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b) 639wm* at pci? dev ? function ? # Intel 82543/82544 gigabit 640 641# EISA network interfaces 642ep* at eisa? slot ? # 3Com 3c579 Ethernet 643fea* at eisa? slot ? # DEC DEFEA FDDI 644tlp* at eisa? slot ? # DEC DE-425 Ethernet 645 646# ISA Plug-and-Play network interfaces 647an* at isapnp? # Aironet 802.11 648ep* at isapnp? # 3Com 3c509 Ethernet 649le* at isapnp? # AMD PCnet-ISA Ethernet 650ne* at isapnp? # NE2000-compatible Ethernet 651tr* at isapnp? # IBM/3COM TROPIC Token-Ring 652 653# PCMCIA network interfaces 654an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11) 655awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS) 656cnw* at pcmcia? function ? # Xircom/Netwave AirSurfer 657ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 658mbe* at pcmcia? function ? # MB8696x based Ethernet 659ne* at pcmcia? function ? # NE2000-compatible Ethernet 660ray* at pcmcia? function ? # Raytheon Raylink (802.11) 661sm* at pcmcia? function ? # Megahertz Ethernet 662# tr at pcmcia has problems with Cardbus bridges 663#tr* at pcmcia? function ? # TROPIC based Token-Ring 664wi* at pcmcia? function ? # Lucent/Intersil WaveLan IEEE (802.11) 665xi* at pcmcia? function ? # Xircom CreditCard Ethernet 666 667mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards 668com* at mhzc? 669sm* at mhzc? 670 671# ISA network interfaces 672ate0 at isa? port 0x2a0 irq ? # AT1700 673cs0 at isa? port 0x300 iomem ? irq ? drq ? # CS8900 Ethernet 674ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 675eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards 676el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards 677ep* at isa? port ? irq ? # 3C509 ethernet cards 678ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3C507 679ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN 680fmv0 at isa? port 0x2a0 irq ? # FMV-180 series 681ix0 at isa? port 0x300 irq 10 # EtherExpress/16 682iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA 683lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC) 684#depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA 685#le* at depca? 686nele0 at isa? port 0x320 irq 9 drq 7 # NE2100 687le* at nele? 688#ntwoc0 at isa? port 0x300 irq 5 iomem 0xc8000 flags 1 # Riscom/N2 sync serial 689bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan 690le* at bicc? 691ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 692ne1 at isa? port 0x300 irq 10 693sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet 694tr0 at isa? port 0xa20 iomem 0xd8000 irq ? # IBM TROPIC based Token-Ring 695tr1 at isa? port 0xa24 iomem 0xd0000 irq ? # IBM TROPIC based Token-Ring 696tr* at isa? port ? irq ? # 3COM TROPIC based Token-Ring 697we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 698we1 at isa? port 0x300 iomem 0xcc000 irq 10 699 700# CardBus network cards 701#ex* at cardbus? dev ? function ? # 3Com 3C575TX 702#fxp* at cardbus? dev ? function ? # Intel i8255x 703#rtk* at cardbus? dev ? function ? # Realtek 8129/8139 704#tlp* at cardbus? dev ? function ? # DECchip 21143 705 706# MCA network cards 707elmc* at mca? slot ? # 3Com EtherLink/MC (3c523) 708ep* at mca? slot ? # 3Com EtherLink III (3c529) 709we* at mca? slot ? # WD/SMC Ethernet 710ate* at mca? slot ? # Allied Telesis AT1720 711ne* at mca? slot ? # Novell NE/2 and clones 712tr* at mca? slot ? # IBM Token Ring adapter 713le* at mca? slot ? # SKNET Personal/MC2+ 714 715# MII/PHY support 716acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs 717amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 718bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs 719brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs 720dmphy* at mii? phy ? # Davicom DM9101 PHYs 721exphy* at mii? phy ? # 3Com internal PHYs 722glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 723gphyter* at mii? phy ? # NS83861 Gig-E PHY 724icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 725inphy* at mii? phy ? # Intel 82555 PHYs 726iophy* at mii? phy ? # Intel 82553 PHYs 727lxtphy* at mii? phy ? # Level One LXT-970 PHYs 728makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 729nsphy* at mii? phy ? # NS83840 PHYs 730nsphyter* at mii? phy ? # NS83843 PHYs 731pnaphy* at mii? phy ? # generic HomePNA PHYs 732qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 733sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 734tlphy* at mii? phy ? # ThunderLAN PHYs 735tqphy* at mii? phy ? # TDK Semiconductor PHYs 736ukphy* at mii? phy ? # generic unknown PHYs 737urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 738 739 740# USB Controller and Devices 741 742# PCI USB controllers 743# The EHCI is not ready for prime time. 744#ehci* at pci? dev ? function ? # Enhanced Host Controller 745ohci* at pci? dev ? function ? # Open Host Controller 746uhci* at pci? dev ? function ? # Universal Host Controller (Intel) 747 748# CardBus USB controllers 749#ehci* at cardbus? dev ? function ? # Enhanced Host Controller 750#ohci* at cardbus? dev ? function ? # Open Host Controller 751 752# ISA USB controllers 753#slhci0 at isa? port 0x300 irq 5 # ScanLogic SL811HS 754 755# USB bus support 756#usb* at ehci? 757usb* at ohci? 758usb* at uhci? 759#usb* at slhci? 760 761# USB Hubs 762uhub* at usb? 763uhub* at uhub? port ? configuration ? interface ? 764 765# USB HID device 766uhidev* at uhub? port ? configuration ? interface ? 767 768# USB Mice 769ums* at uhidev? reportid ? 770wsmouse* at ums? mux 0 771 772# USB Keyboards 773ukbd* at uhidev? reportid ? 774wskbd* at ukbd? console ? mux 1 775 776# USB Generic HID devices 777uhid* at uhidev? reportid ? 778 779# USB Printer 780ulpt* at uhub? port ? configuration ? interface ? 781 782# USB Modem 783umodem* at uhub? port ? configuration ? 784ucom* at umodem? 785 786# USB Mass Storage 787umass* at uhub? port ? configuration ? interface ? 788#wd* at umass? 789 790# USB audio 791uaudio* at uhub? port ? configuration ? 792 793# USB MIDI 794umidi* at uhub? port ? configuration ? 795 796# USB IrDA 797# USB-IrDA bridge spec 798uirda* at uhub? port ? configuration ? interface ? 799irframe* at uirda? 800 801# SigmaTel STIr4200 USB/IrDA Bridge 802ustir* at uhub? port ? 803irframe* at ustir? 804 805# USB Ethernet adapters 806aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 807cue* at uhub? port ? # CATC USB-EL1201A based adapters 808kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 809url* at uhub? port ? # Realtek RTL8150L based adapters 810 811# Prolific PL2301/PL2302 host-to-host adapter 812upl* at uhub? port ? 813 814# Serial adapters 815ubsa* at uhub? port ? # Belkin serial adapter 816ucom* at ubsa? portno ? 817 818uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 819ucom* at uftdi? portno ? 820 821umct* at uhub? port ? # MCT USB-RS232 serial adapter 822ucom* at umct? portno ? 823 824uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 825ucom* at uplcom? portno ? 826 827uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 828ucom* at uvscom? portno ? 829 830# Diamond Multimedia Rio 500 831urio* at uhub? port ? 832 833# USB Handspring Visor 834uvisor* at uhub? port ? 835ucom* at uvisor? 836 837# USB scanners 838uscanner* at uhub? port ? 839 840# USB scanners that use SCSI emulation, e.g., HP5300 841usscanner* at uhub? port ? 842 843# Y@P firmware loader 844uyap* at uhub? port ? 845 846# D-Link DSB-R100 USB radio 847udsbr* at uhub? port ? 848radio* at udsbr? 849 850# USB Generic driver 851ugen* at uhub? port ? 852 853 854# IrDA and Consumer Ir devices 855 856# Toshiba Oboe 857oboe* at pci? dev ? function ? 858irframe* at oboe? 859 860 861# Audio Devices 862 863# PCI audio devices 864auich* at pci? dev ? function ? # Intel ICH integrated AC'97 Audio 865autri* at pci? dev ? function ? # Trident 4DWAVE based AC'97 Audio 866auvia* at pci? dev ? function ? # VIA VT82C686A integrated AC'97 Audio 867clcs* at pci? dev ? function ? # Cirrus Logic CS4280 868clct* at pci? dev ? function ? # Cirrus Logic CS4281 869cmpci* at pci? dev ? function ? # C-Media CMI8338/8738 870eap* at pci? dev ? function ? # Ensoniq AudioPCI 871emuxki* at pci? dev ? function ? # Creative SBLive! and PCI512 872esa* at pci? dev ? function ? # ESS Allegro-1 / Maestro-3 PCI Audio 873esm* at pci? dev ? function ? # ESS Maestro-1/2/2e PCI Audio Accelerator 874eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive 875fms* at pci? dev ? function ? # Forte Media FM801 876neo* at pci? dev ? function ? # NeoMagic 256 AC'97 Audio 877sv* at pci? dev ? function ? # S3 SonicVibes 878yds* at pci? dev ? function ? # Yamaha DS-1 PCI Audio 879 880# ISA Plug-and-Play audio devices 881ess* at isapnp? # ESS Tech ES1887, ES1888, ES888 audio 882guspnp* at isapnp? # Gravis Ultra Sound PnP audio 883sb* at isapnp? # SoundBlaster-compatible audio 884wss* at isapnp? # Windows Sound System 885ym* at isapnp? # Yamaha OPL3-SA3 audio 886 887# ISA audio devices 888# the "aria" probe might give false hits 889#aria0 at isa? port 0x290 irq 10 # Aria 890#ess0 at isa? port 0x220 irq 5 drq 1 drq2 5 # ESS 18XX 891gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound 892pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum 893#pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System 894#sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver 895sb0 at isa? port 0x220 irq 5 drq 1 drq2 5 # SoundBlaster 896wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System 897 898# PCMCIA audio devices 899#esl* at pcmcia? function ? # ESS 1688 AudioDrive 900 901#cms0 at isa? port 0x220 # Creative Music System 902 903# OPL[23] FM synthesizers 904#opl0 at isa? port 0x388 # use only if not attached to sound card 905opl* at cmpci? flags 1 906#opl* at esl? 907opl* at eso? 908opl* at ess? 909opl* at fms? 910opl* at sb? 911opl* at sv? 912opl* at wss? 913opl* at yds? 914opl* at ym? 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 fms? 924mpu* at sb? 925mpu* at yds? 926mpu* at ym? 927 928# MIDI support 929midi* at midibus? 930midi* at pcppi? # MIDI interface to the PC speaker 931 932# The spkr driver provides a simple tone interface to the built in speaker. 933#spkr0 at pcppi? # PC speaker 934 935 936# FM-Radio devices 937# ISA radio devices 938#az0 at isa? port 0x350 # Aztech/PackardBell FM Radio Card 939#az1 at isa? port 0x358 940#rt0 at isa? port 0x20c # AIMS Lab Radiotrack & compatible 941#rt1 at isa? port 0x284 942#rt2 at isa? port 0x30c 943#rt3 at isa? port 0x384 944#rtii0 at isa? port 0x20c # AIMS Lab Radiotrack II FM Radio Card 945#rtii1 at isa? port 0x30c 946#sf2r0 at isa? port 0x384 # SoundForte RadioLink SF16-FMR2 FM Radio Card 947 948# PCI radio devices 949#gtp* at pci? dev ? function ? # Guillemot Maxi Radio FM 2000 Radio Card 950 951# Radio support 952#radio* at az? 953#radio* at gtp? 954#radio* at rt? 955#radio* at rtii? 956#radio* at sf2r? 957 958 959# TV cards 960 961# Brooktree 848/849/878/879 based TV cards 962bktr* at pci? dev ? function ? 963radio* at bktr? 964 965 966# Mice 967 968# ISA busmice 969lms0 at isa? port 0x23c irq 5 # Logitech bus mouse 970lms1 at isa? port 0x238 irq 5 971mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse 972mms1 at isa? port 0x238 irq 5 973wsmouse* at lms? mux 0 974wsmouse* at mms? mux 0 975# backwards compatible versions 976#olms0 at isa? port 0x23c irq 5 # Logitech bus mouse 977#olms1 at isa? port 0x238 irq 5 978#omms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse 979#omms1 at isa? port 0x238 irq 5 980 981 982# Joysticks 983 984#joy* at pnpbios? index ? # Game port 985 986# ISA Plug-and-Play joysticks 987joy* at isapnp? # Game ports (usually on audio cards) 988 989# PCI joysticks 990joy* at pci? # Game ports (usually on audio cards) 991joy* at eso? # ESS Solo-1 on-board joystick 992 993# ISA joysticks. Probe is a little strange; add only if you have one. 994#joy0 at isa? port 0x201 995 996 997# Miscellaneous Devices 998 999# Planetconnect Satellite receiver driver. 1000#satlink0 at isa? port 0x300 drq 1 1001 1002# Middle Digital, Inc. PCI-Weasel serial console board control 1003# devices (watchdog timer, etc.) 1004weasel* at pci? 1005 1006# Pull in optional local configuration 1007include "arch/i386/conf/GENERIC.local" 1008 1009 1010# Pseudo-Devices 1011 1012# disk/mass storage pseudo-devices 1013pseudo-device ccd 4 # concatenated/striped disk devices 1014#pseudo-device cgd 4 # cryptographic disk devices 1015# RAIDframe is broken with MULTIPROCESSOR / LOCKDEBUG 1016#pseudo-device raid 8 # RAIDframe disk driver 1017#options RAID_AUTOCONFIG # auto-configuration of RAID components 1018#Options to enable various other RAIDframe RAID types. 1019#options RF_INCLUDE_EVENODD=1 1020#options RF_INCLUDE_RAID5_RS=1 1021#options RF_INCLUDE_PARITYLOGGING=1 1022#options RF_INCLUDE_CHAINDECLUSTER=1 1023#options RF_INCLUDE_INTERDECLUSTER=1 1024#options RF_INCLUDE_PARITY_DECLUSTERING=1 1025#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 1026 1027pseudo-device md 1 # memory disk device (ramdisk) 1028pseudo-device vnd 4 # disk-like interface to files 1029 1030# network pseudo-devices 1031pseudo-device bpfilter 8 # Berkeley packet filter 1032pseudo-device ipfilter # IP filter (firewall) and NAT 1033pseudo-device loop # network loopback 1034pseudo-device ppp 2 # Point-to-Point Protocol 1035pseudo-device pppoe # PPP over Ethernet (RFC 2516) 1036pseudo-device sl 2 # Serial Line IP 1037pseudo-device strip 2 # Starmode Radio IP (Metricom) 1038pseudo-device irframetty # IrDA frame line discipline 1039pseudo-device tun 2 # network tunneling over tty 1040pseudo-device gre 2 # generic L3 over IP tunnel 1041pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 1042#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 1043#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 1044pseudo-device vlan # IEEE 802.1q encapsulation 1045pseudo-device bridge # simple inter-network bridging 1046 1047# miscellaneous pseudo-devices 1048pseudo-device pty # pseudo-terminals 1049pseudo-device tb 1 # tablet line discipline 1050pseudo-device sequencer 1 # MIDI sequencer 1051# rnd works; RND_COM does not on port i386 yet. 1052pseudo-device rnd # /dev/random and in-kernel generator 1053#options RND_COM # use "com" randomness as well (BROKEN) 1054pseudo-device clockctl # user control of clock subsystem 1055 1056# a pseudo device needed for Coda # also needs CODA (above) 1057pseudo-device vcoda 4 # coda minicache <-> venus comm. 1058 1059# wscons pseudo-devices 1060pseudo-device wsmux # mouse & keyboard multiplexor 1061pseudo-device wsfont 1062