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