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