GENERIC revision 1.522
1# $NetBSD: GENERIC,v 1.522 2002/11/07 21:56:56 martin 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.522 $" 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 626mtd* at pci? dev ? function ? # Myson MTD803 3-in-1 Ethernet 627ne* at pci? dev ? function ? # NE2000-compatible Ethernet 628ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial 629pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet 630rtk* at pci? dev ? function ? # Realtek 8129/8139 631sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet 632sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 633ste* at pci? dev ? function ? # Sundance ST-201 Ethernet 634stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit 635ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet 636tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 637tlp* at pci? dev ? function ? # DECchip 21x4x and clones 638vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 639wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b) 640wm* at pci? dev ? function ? # Intel 82543/82544 gigabit 641 642# EISA network interfaces 643ep* at eisa? slot ? # 3Com 3c579 Ethernet 644fea* at eisa? slot ? # DEC DEFEA FDDI 645tlp* at eisa? slot ? # DEC DE-425 Ethernet 646 647# ISA Plug-and-Play network interfaces 648an* at isapnp? # Aironet 802.11 649ep* at isapnp? # 3Com 3c509 Ethernet 650fmv* at isapnp? # Fujitsu FMV-183 651le* at isapnp? # AMD PCnet-ISA Ethernet 652ne* at isapnp? # NE2000-compatible Ethernet 653tr* at isapnp? # IBM/3COM TROPIC Token-Ring 654 655# PCMCIA network interfaces 656an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11) 657awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS) 658cnw* at pcmcia? function ? # Xircom/Netwave AirSurfer 659ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 660mbe* at pcmcia? function ? # MB8696x based Ethernet 661ne* at pcmcia? function ? # NE2000-compatible Ethernet 662ray* at pcmcia? function ? # Raytheon Raylink (802.11) 663sm* at pcmcia? function ? # Megahertz Ethernet 664# tr at pcmcia has problems with Cardbus bridges 665#tr* at pcmcia? function ? # TROPIC based Token-Ring 666wi* at pcmcia? function ? # Lucent/Intersil WaveLan IEEE (802.11) 667xi* at pcmcia? function ? # Xircom CreditCard Ethernet 668 669mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards 670com* at mhzc? 671sm* at mhzc? 672 673# ISA network interfaces 674ate0 at isa? port 0x2a0 irq ? # AT1700 675cs0 at isa? port 0x300 iomem ? irq ? drq ? # CS8900 Ethernet 676ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 677eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards 678el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards 679ep* at isa? port ? irq ? # 3C509 ethernet cards 680ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3C507 681ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN 682fmv0 at isa? port 0x2a0 irq ? # FMV-181/182 683ix0 at isa? port 0x300 irq 10 # EtherExpress/16 684iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA 685lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC) 686#depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA 687#le* at depca? 688nele0 at isa? port 0x320 irq 9 drq 7 # NE2100 689le* at nele? 690#ntwoc0 at isa? port 0x300 irq 5 iomem 0xc8000 flags 1 # Riscom/N2 sync serial 691bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan 692le* at bicc? 693ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 694ne1 at isa? port 0x300 irq 10 695sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet 696tr0 at isa? port 0xa20 iomem 0xd8000 irq ? # IBM TROPIC based Token-Ring 697tr1 at isa? port 0xa24 iomem 0xd0000 irq ? # IBM TROPIC based Token-Ring 698tr* at isa? port ? irq ? # 3COM TROPIC based Token-Ring 699we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 700we1 at isa? port 0x300 iomem 0xcc000 irq 10 701 702# CardBus network cards 703#ex* at cardbus? dev ? function ? # 3Com 3C575TX 704#fxp* at cardbus? dev ? function ? # Intel i8255x 705#rtk* at cardbus? dev ? function ? # Realtek 8129/8139 706#tlp* at cardbus? dev ? function ? # DECchip 21143 707 708# MCA network cards 709elmc* at mca? slot ? # 3Com EtherLink/MC (3c523) 710ep* at mca? slot ? # 3Com EtherLink III (3c529) 711we* at mca? slot ? # WD/SMC Ethernet 712ate* at mca? slot ? # Allied Telesis AT1720 713ne* at mca? slot ? # Novell NE/2 and clones 714tr* at mca? slot ? # IBM Token Ring adapter 715le* at mca? slot ? # SKNET Personal/MC2+ 716 717# MII/PHY support 718acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs 719amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 720bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs 721brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs 722dmphy* at mii? phy ? # Davicom DM9101 PHYs 723exphy* at mii? phy ? # 3Com internal PHYs 724glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 725gphyter* at mii? phy ? # NS83861 Gig-E PHY 726icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 727inphy* at mii? phy ? # Intel 82555 PHYs 728iophy* at mii? phy ? # Intel 82553 PHYs 729lxtphy* at mii? phy ? # Level One LXT-970 PHYs 730makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 731nsphy* at mii? phy ? # NS83840 PHYs 732nsphyter* at mii? phy ? # NS83843 PHYs 733pnaphy* at mii? phy ? # generic HomePNA PHYs 734qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 735sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 736tlphy* at mii? phy ? # ThunderLAN PHYs 737tqphy* at mii? phy ? # TDK Semiconductor PHYs 738ukphy* at mii? phy ? # generic unknown PHYs 739urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 740 741 742# USB Controller and Devices 743 744# PCI USB controllers 745# The EHCI is not ready for prime time. 746#ehci* at pci? dev ? function ? # Enhanced Host Controller 747ohci* at pci? dev ? function ? # Open Host Controller 748uhci* at pci? dev ? function ? # Universal Host Controller (Intel) 749 750# CardBus USB controllers 751#ehci* at cardbus? dev ? function ? # Enhanced Host Controller 752#ohci* at cardbus? dev ? function ? # Open Host Controller 753 754# ISA USB controllers 755#slhci0 at isa? port 0x300 irq 5 # ScanLogic SL811HS 756 757# USB bus support 758#usb* at ehci? 759usb* at ohci? 760usb* at uhci? 761#usb* at slhci? 762 763# USB Hubs 764uhub* at usb? 765uhub* at uhub? port ? configuration ? interface ? 766 767# USB HID device 768uhidev* at uhub? port ? configuration ? interface ? 769 770# USB Mice 771ums* at uhidev? reportid ? 772wsmouse* at ums? mux 0 773 774# USB Keyboards 775ukbd* at uhidev? reportid ? 776wskbd* at ukbd? console ? mux 1 777 778# USB Generic HID devices 779uhid* at uhidev? reportid ? 780 781# USB Printer 782ulpt* at uhub? port ? configuration ? interface ? 783 784# USB Modem 785umodem* at uhub? port ? configuration ? 786ucom* at umodem? 787 788# USB Mass Storage 789umass* at uhub? port ? configuration ? interface ? 790#wd* at umass? 791 792# USB audio 793uaudio* at uhub? port ? configuration ? 794 795# USB MIDI 796umidi* at uhub? port ? configuration ? 797 798# USB IrDA 799# USB-IrDA bridge spec 800uirda* at uhub? port ? configuration ? interface ? 801irframe* at uirda? 802 803# SigmaTel STIr4200 USB/IrDA Bridge 804ustir* at uhub? port ? 805irframe* at ustir? 806 807# USB Ethernet adapters 808aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 809cue* at uhub? port ? # CATC USB-EL1201A based adapters 810kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 811url* at uhub? port ? # Realtek RTL8150L based adapters 812 813# Prolific PL2301/PL2302 host-to-host adapter 814upl* at uhub? port ? 815 816# Serial adapters 817ubsa* at uhub? port ? # Belkin serial adapter 818ucom* at ubsa? portno ? 819 820uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 821ucom* at uftdi? portno ? 822 823umct* at uhub? port ? # MCT USB-RS232 serial adapter 824ucom* at umct? portno ? 825 826uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 827ucom* at uplcom? portno ? 828 829uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 830ucom* at uvscom? portno ? 831 832# Diamond Multimedia Rio 500 833urio* at uhub? port ? 834 835# USB Handspring Visor 836uvisor* at uhub? port ? 837ucom* at uvisor? 838 839# USB scanners 840uscanner* at uhub? port ? 841 842# USB scanners that use SCSI emulation, e.g., HP5300 843usscanner* at uhub? port ? 844 845# Y@P firmware loader 846uyap* at uhub? port ? 847 848# D-Link DSB-R100 USB radio 849udsbr* at uhub? port ? 850radio* at udsbr? 851 852# USB Generic driver 853ugen* at uhub? port ? 854 855 856# IrDA and Consumer Ir devices 857 858# Toshiba Oboe 859oboe* at pci? dev ? function ? 860irframe* at oboe? 861 862 863# Audio Devices 864 865# PCI audio devices 866auich* at pci? dev ? function ? # Intel ICH integrated AC'97 Audio 867autri* at pci? dev ? function ? # Trident 4DWAVE based AC'97 Audio 868auvia* at pci? dev ? function ? # VIA VT82C686A integrated AC'97 Audio 869clcs* at pci? dev ? function ? # Cirrus Logic CS4280 870clct* at pci? dev ? function ? # Cirrus Logic CS4281 871cmpci* at pci? dev ? function ? # C-Media CMI8338/8738 872eap* at pci? dev ? function ? # Ensoniq AudioPCI 873emuxki* at pci? dev ? function ? # Creative SBLive! and PCI512 874esa* at pci? dev ? function ? # ESS Allegro-1 / Maestro-3 PCI Audio 875esm* at pci? dev ? function ? # ESS Maestro-1/2/2e PCI Audio Accelerator 876eso* at pci? dev ? function ? # ESS Solo-1 PCI AudioDrive 877fms* at pci? dev ? function ? # Forte Media FM801 878neo* at pci? dev ? function ? # NeoMagic 256 AC'97 Audio 879sv* at pci? dev ? function ? # S3 SonicVibes 880yds* at pci? dev ? function ? # Yamaha DS-1 PCI Audio 881 882# ISA Plug-and-Play audio devices 883ess* at isapnp? # ESS Tech ES1887, ES1888, ES888 audio 884guspnp* at isapnp? # Gravis Ultra Sound PnP audio 885sb* at isapnp? # SoundBlaster-compatible audio 886wss* at isapnp? # Windows Sound System 887ym* at isapnp? # Yamaha OPL3-SA3 audio 888 889# ISA audio devices 890# the "aria" probe might give false hits 891#aria0 at isa? port 0x290 irq 10 # Aria 892#ess0 at isa? port 0x220 irq 5 drq 1 drq2 5 # ESS 18XX 893gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound 894pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum 895#pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System 896#sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver 897sb0 at isa? port 0x220 irq 5 drq 1 drq2 5 # SoundBlaster 898wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System 899 900# PCMCIA audio devices 901#esl* at pcmcia? function ? # ESS 1688 AudioDrive 902 903#cms0 at isa? port 0x220 # Creative Music System 904 905# OPL[23] FM synthesizers 906#opl0 at isa? port 0x388 # use only if not attached to sound card 907opl* at cmpci? flags 1 908#opl* at esl? 909opl* at eso? 910opl* at ess? 911opl* at fms? 912opl* at sb? 913opl* at sv? 914opl* at wss? 915opl* at yds? 916opl* at ym? 917 918# Audio support 919audio* at audiobus? 920 921# MPU 401 UARTs 922#mpu* at isa? port 0x330 irq 9 # MPU401 or compatible card 923mpu* at cmpci? 924mpu* at eso? 925mpu* at fms? 926mpu* at sb? 927mpu* at yds? 928mpu* at ym? 929 930# MIDI support 931midi* at midibus? 932midi* at pcppi? # MIDI interface to the PC speaker 933 934# The spkr driver provides a simple tone interface to the built in speaker. 935#spkr0 at pcppi? # PC speaker 936 937 938# FM-Radio devices 939# ISA radio devices 940#az0 at isa? port 0x350 # Aztech/PackardBell FM Radio Card 941#az1 at isa? port 0x358 942#rt0 at isa? port 0x20c # AIMS Lab Radiotrack & compatible 943#rt1 at isa? port 0x284 944#rt2 at isa? port 0x30c 945#rt3 at isa? port 0x384 946#rtii0 at isa? port 0x20c # AIMS Lab Radiotrack II FM Radio Card 947#rtii1 at isa? port 0x30c 948#sf2r0 at isa? port 0x384 # SoundForte RadioLink SF16-FMR2 FM Radio Card 949 950# PCI radio devices 951#gtp* at pci? dev ? function ? # Guillemot Maxi Radio FM 2000 Radio Card 952 953# Radio support 954#radio* at az? 955#radio* at gtp? 956#radio* at rt? 957#radio* at rtii? 958#radio* at sf2r? 959 960 961# TV cards 962 963# Brooktree 848/849/878/879 based TV cards 964bktr* at pci? dev ? function ? 965radio* at bktr? 966 967 968# Mice 969 970# ISA busmice 971lms0 at isa? port 0x23c irq 5 # Logitech bus mouse 972lms1 at isa? port 0x238 irq 5 973mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse 974mms1 at isa? port 0x238 irq 5 975wsmouse* at lms? mux 0 976wsmouse* at mms? mux 0 977# backwards compatible versions 978#olms0 at isa? port 0x23c irq 5 # Logitech bus mouse 979#olms1 at isa? port 0x238 irq 5 980#omms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse 981#omms1 at isa? port 0x238 irq 5 982 983 984# Joysticks 985 986#joy* at pnpbios? index ? # Game port 987 988# ISA Plug-and-Play joysticks 989joy* at isapnp? # Game ports (usually on audio cards) 990 991# PCI joysticks 992joy* at pci? # Game ports (usually on audio cards) 993joy* at eso? # ESS Solo-1 on-board joystick 994 995# ISA joysticks. Probe is a little strange; add only if you have one. 996#joy0 at isa? port 0x201 997 998 999# Miscellaneous Devices 1000 1001# Planetconnect Satellite receiver driver. 1002#satlink0 at isa? port 0x300 drq 1 1003 1004# Middle Digital, Inc. PCI-Weasel serial console board control 1005# devices (watchdog timer, etc.) 1006weasel* at pci? 1007 1008# Pull in optional local configuration 1009include "arch/i386/conf/GENERIC.local" 1010 1011 1012# Pseudo-Devices 1013 1014# disk/mass storage pseudo-devices 1015pseudo-device ccd 4 # concatenated/striped disk devices 1016#pseudo-device cgd 4 # cryptographic disk devices 1017# RAIDframe is broken with MULTIPROCESSOR / LOCKDEBUG 1018#pseudo-device raid 8 # RAIDframe disk driver 1019#options RAID_AUTOCONFIG # auto-configuration of RAID components 1020#Options to enable various other RAIDframe RAID types. 1021#options RF_INCLUDE_EVENODD=1 1022#options RF_INCLUDE_RAID5_RS=1 1023#options RF_INCLUDE_PARITYLOGGING=1 1024#options RF_INCLUDE_CHAINDECLUSTER=1 1025#options RF_INCLUDE_INTERDECLUSTER=1 1026#options RF_INCLUDE_PARITY_DECLUSTERING=1 1027#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 1028 1029pseudo-device md 1 # memory disk device (ramdisk) 1030pseudo-device vnd 4 # disk-like interface to files 1031 1032# network pseudo-devices 1033pseudo-device bpfilter 8 # Berkeley packet filter 1034pseudo-device ipfilter # IP filter (firewall) and NAT 1035pseudo-device loop # network loopback 1036pseudo-device ppp 2 # Point-to-Point Protocol 1037pseudo-device pppoe # PPP over Ethernet (RFC 2516) 1038pseudo-device sl 2 # Serial Line IP 1039pseudo-device strip 2 # Starmode Radio IP (Metricom) 1040pseudo-device irframetty # IrDA frame line discipline 1041pseudo-device tun 2 # network tunneling over tty 1042pseudo-device gre 2 # generic L3 over IP tunnel 1043pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 1044#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 1045#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 1046pseudo-device vlan # IEEE 802.1q encapsulation 1047pseudo-device bridge # simple inter-network bridging 1048 1049# miscellaneous pseudo-devices 1050pseudo-device pty # pseudo-terminals 1051pseudo-device tb 1 # tablet line discipline 1052pseudo-device sequencer 1 # MIDI sequencer 1053# rnd works; RND_COM does not on port i386 yet. 1054pseudo-device rnd # /dev/random and in-kernel generator 1055#options RND_COM # use "com" randomness as well (BROKEN) 1056pseudo-device clockctl # user control of clock subsystem 1057 1058# a pseudo device needed for Coda # also needs CODA (above) 1059pseudo-device vcoda 4 # coda minicache <-> venus comm. 1060 1061# wscons pseudo-devices 1062pseudo-device wsmux # mouse & keyboard multiplexor 1063pseudo-device wsfont 1064