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