GENERIC revision 1.516
1# $NetBSD: GENERIC,v 1.516 2002/10/05 16:02:39 elric 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.516 $" 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# Diagnostic/debugging support options 90#options DIAGNOSTIC # expensive kernel consistency checks 91#options DEBUG # expensive debugging checks/support 92#options KMEMSTATS # kernel memory statistics (vmstat -m) 93options DDB # in-kernel debugger 94options DDB_HISTORY_SIZE=512 # enable history editing in DDB 95#options KGDB # remote debugger 96#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 97#makeoptions DEBUG="-g" # compile full symbol table 98 99# Compatibility options 100options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8, 101options COMPAT_09 # NetBSD 0.9, 102options COMPAT_10 # NetBSD 1.0, 103options COMPAT_11 # NetBSD 1.1, 104options COMPAT_12 # NetBSD 1.2, 105options COMPAT_13 # NetBSD 1.3, 106options COMPAT_14 # NetBSD 1.4, 107options COMPAT_15 # NetBSD 1.5, 108options COMPAT_43 # and 4.3BSD 109options COMPAT_386BSD_MBRPART # recognize old partition ID 110#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 111 112options COMPAT_SVR4 # binary compatibility with SVR4 113options COMPAT_IBCS2 # binary compatibility with SCO and ISC 114options COMPAT_LINUX # binary compatibility with Linux 115options COMPAT_FREEBSD # binary compatibility with FreeBSD 116#options COMPAT_MACH # binary compatibility with Mach binaries 117#options EXEC_MACHO # exec MACH-O binaries 118#options COMPAT_PECOFF # kernel support to run Win32 apps 119 120# File systems 121file-system FFS # UFS 122file-system EXT2FS # second extended file system (linux) 123file-system LFS # log-structured file system 124file-system MFS # memory file system 125file-system NFS # Network File System client 126file-system NTFS # Windows/NT file system (experimental) 127file-system CD9660 # ISO 9660 + Rock Ridge file system 128file-system MSDOSFS # MS-DOS file system 129file-system FDESC # /dev/fd 130file-system KERNFS # /kern 131file-system NULLFS # loopback file system 132file-system OVERLAY # overlay file system 133file-system PORTAL # portal filesystem (still experimental) 134file-system PROCFS # /proc 135file-system UMAPFS # NULLFS + uid and gid remapping 136file-system UNION # union file system 137file-system CODA # Coda File System; also needs vcoda (below) 138 139# File system options 140options QUOTA # UFS quotas 141#options FFS_EI # FFS Endian Independent support 142options SOFTDEP # FFS soft updates support. 143options NFSSERVER # Network File System server 144#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 145 # immutable) behave as system flags. 146 147# Networking options 148#options GATEWAY # packet forwarding 149options INET # IP + ICMP + TCP + UDP 150options INET6 # IPV6 151#options IPSEC # IP security 152#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 153#options IPSEC_DEBUG # debug for IP security 154#options MROUTING # IP multicast routing 155options NS # XNS 156#options NSIP # XNS tunneling over IP 157options ISO,TPIP # OSI 158#options EON # OSI tunneling over IP 159options CCITT,LLC,HDLC # X.25 160options NETATALK # AppleTalk networking protocols 161options PPP_BSDCOMP # BSD-Compress compression support for PPP 162options PPP_DEFLATE # Deflate compression support for PPP 163options PPP_FILTER # Active filter support for PPP (requires bpf) 164options PFIL_HOOKS # pfil(9) packet filter hooks 165options IPFILTER_LOG # ipmon(8) log support 166#options IPFILTER_DEFAULT_BLOCK # block all packets by default 167#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 168 169# These options enable verbose messages for several subsystems. 170# Warning, these may compile large string tables into the kernel! 171options EISAVERBOSE # verbose EISA device autoconfig messages 172options MIIVERBOSE # verbose PHY autoconfig messages 173options PCIVERBOSE # verbose PCI device autoconfig messages 174#options PCI_CONFIG_DUMP # verbosely dump PCI config space 175#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 176options SCSIVERBOSE # human readable SCSI error messages 177options USBVERBOSE # verbose USB device autoconfig messages 178#options PNPBIOSVERBOSE # verbose PnP BIOS messages 179#options PNPBIOSDEBUG # more fulsome PnP BIOS debugging messages 180options I2OVERBOSE # verbose I2O driver messages 181options MCAVERBOSE # verbose MCA device autoconfig messages 182 183options NFS_BOOT_DHCP,NFS_BOOT_BOOTPARAM 184 185# 186# wscons options 187# 188# builtin terminal emulations 189#options WSEMUL_SUN # sun terminal emulation 190options WSEMUL_VT100 # VT100 / VT220 emulation 191# different kernel output - see dev/wscons/wsdisplayvar.h 192options WS_KERNEL_FG=WSCOL_GREEN 193#options WS_KERNEL_BG=WSCOL_BLACK 194# compatibility to other console drivers 195options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 196options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 197options WSDISPLAY_COMPAT_USL # VT handling 198options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 199# see dev/pckbc/wskbdmap_mfii.c for implemented layouts 200#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 201# allocate a number of virtual screens at autoconfiguration time 202#options WSDISPLAY_DEFAULTSCREENS=4 203# use a large software cursor that doesn't blink 204options PCDISPLAY_SOFTCURSOR 205# modify the screen type of the console; defaults to "80x25" 206#options VGA_CONSOLE_SCREENTYPE="\"80x24\"" 207# work around a hardware bug that loaded fonts don't work; found on ATI cards 208#options VGA_CONSOLE_ATI_BROKEN_FONTSEL 209# the following enables some functions to get mouse console support. 210# if you want a really secure system, it may be better not to enable them, 211# see wsmoused(8), section SECURITY CONSIDERATIONS for more info. 212#options WSDISPLAY_CHARFUNCS # mouse console support 213 214# Kernel root file system and dump configuration. 215config netbsd root on ? type ? 216#config netbsd root on sd0a type ffs 217#config netbsd root on ? type nfs 218 219# 220# Device configuration 221# 222 223mainbus0 at root 224 225cpu* at mainbus? 226#ioapic* at mainbus? 227 228#apm0 at mainbus0 # Advanced power management 229 230# Tuning for power management, see apm(4) for more details. 231#options APM_NO_IDLE # Don't call BIOS CPU idle function 232#options APM_V10_ONLY # Use only the APM 1.0 calls 233#options APM_NO_POWEROFF # Don't power off on halt(8) 234#options APM_POWER_PRINT # Print stats on the console 235#options APM_DISABLE_INTERRUPTS=0 # Don't disable interrupts 236 237 238# Basic Bus Support 239 240# Plug-and-Play BIOS and attached devices 241 242#pnpbios* at mainbus? 243 244# mainboard audio chips 245#ess* at pnpbios? index ? # ESS AudioDrive 246#sb* at pnpbios? index ? # NeoMagic 256AV in sb mode 247#wss* at pnpbios? index ? # NeoMagic 256AV in wss mode 248#ym* at pnpbios? index ? # OPL3-SA3 249 250# com port 251# If enabled, consider changing "com0", "com1", and "com2" under "ISA Serial 252# Interfaces" to "com*", otherwise com2 will attach at pnpbios? and there 253# will be no com0. A side effect is pcmcia (and other) com? previously 254# starting at com3 may attach as com1 or com2. 255#com* at pnpbios? index ? # serial ports 256 257# parallel port 258# The above "com*" comments apply, cf. "lpt0" under "ISA parallel 259# "printer interfaces". 260#lpt* at pnpbios? index ? # parallel ports 261 262#pckbc* at pnpbios? index ? # PC keyboard/mouse controller 263#fdc* at pnpbios? index ? # floppy controller 264 265# IDE controller on Toshiba Portege 3000 series (crippled PCI device) 266#pciide* at pnpbios? index ? 267 268# PCI bus support 269pci* at mainbus? bus ? 270pci* at pchb? bus ? 271pci* at ppb? bus ? 272 273# Configure PCI using BIOS information 274#options PCIBIOS # PCI BIOS support 275#options PCIBIOSVERBOSE # PCI BIOS verbose info 276#options PCIBIOS_ADDR_FIXUP # fixup PCI I/O addresses 277#options PCIBIOS_BUS_FIXUP # fixup PCI bus numbering 278#options PCIBIOS_INTR_FIXUP # fixup PCI interrupt routing 279#options PCIBIOS_IRQS_HINT=0x0a00 # PCI interrupts hint. IRQ 9 or 11 280#options PCIBIOS_INTR_GUESS # see pcibios(4) 281#options PCIINTR_DEBUG # super-verbose PCI interrupt fixup 282 283# System Controllers 284elansc* at pci? dev ? function ? # AMD Elan SC520 System Controller 285 286# PCI bridges 287pchb* at pci? dev ? function ? # PCI-Host bridges 288pceb* at pci? dev ? function ? # PCI-EISA bridges 289pcib* at pci? dev ? function ? # PCI-ISA bridges 290pcmb* at pci? dev ? function ? # PCI-MCA bridges 291ppb* at pci? dev ? function ? # PCI-PCI bridges 292# XXX 'puc's aren't really bridges, but there's no better place for them here 293puc* at pci? dev ? function ? # PCI "universal" comm. cards 294 295agp* at pchb? 296 297# 298 299p64h2apic* at pci? dev? function? # P64H2 IOxAPIC 300 301 302# EISA bus support 303eisa0 at mainbus? 304eisa0 at pceb? 305 306# ISA bus support 307isa0 at mainbus? 308isa0 at pceb? 309isa0 at pcib? 310 311# PCMCIA bus support 312pcmcia* at pcic? controller ? socket ? 313pcmcia* at tcic? controller ? socket ? 314 315# MCA bus support 316mca0 at mainbus? 317 318# ISA PCMCIA controllers 319pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x10000 320pcic1 at isa? port 0x3e2 iomem 0xe0000 iosiz 0x4000 321pcic2 at isa? port 0x3e4 iomem 0xe0000 iosiz 0x4000 322tcic0 at isa? port 0x240 iomem 0xd0000 iosiz 0x10000 323 324# PCI PCMCIA controllers 325pcic0 at pci? dev? function ? 326 327# ISA Plug-and-Play bus support 328isapnp0 at isa? 329 330# ISA Plug-and-Play PCMCIA controllers 331pcic* at isapnp? 332 333# CardBus bridge support 334#cbb* at pci? dev ? function ? 335#cardslot* at cbb? 336 337# CardBus bus support 338#cardbus* at cardslot? 339#pcmcia* at cardslot? 340 341# Coprocessor Support 342 343# Math Coprocessor support 344npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor 345 346 347# Console Devices 348 349# ISA console 350#pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver 351# Keyboard layout configuration for pccons 352#options FRENCH_KBD 353#options FINNISH_KBD 354#options GERMAN_KBD 355#options NORWEGIAN_KBD 356# pccons-specific options: 357#options XSERVER_DDB # PF12 gets you into DDB when X is running 358#options XSERVER # X server support 359 360 361# wscons 362pckbc0 at isa? # pc keyboard controller 363pckbd* at pckbc? # PC keyboard 364pms* at pckbc? # PS/2 mouse for wsmouse 365#options PMS_DISABLE_POWERHOOK # Disable PS/2 reset on resume 366vga0 at isa? 367vga* at pci? dev ? function ? 368pcdisplay0 at isa? # CGA, MDA, EGA, HGA 369wsdisplay* at vga? console ? 370wsdisplay* at pcdisplay? console ? 371wskbd* at pckbd? console ? 372wsmouse* at pms? mux 0 373 374pcppi0 at isa? 375sysbeep0 at pcppi? 376 377# Serial Devices 378 379# PCI serial interfaces 380com* at puc? port ? # 16x50s on "universal" comm boards 381cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards 382cz* at pci? dev ? function ? # Cyclades-Z multi-port serial boards 383 384# ISA Plug-and-Play serial interfaces 385com* at isapnp? # Modems and serial boards 386 387# PCMCIA serial interfaces 388com* at pcmcia? function ? # Modems and serial cards 389 390pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards 391com* at pcmcom? slave ? # ...and the slave devices 392 393# CardBus serial interfaces 394#com* at cardbus? dev ? function ? # Modems and serial cards 395 396# ISA serial interfaces 397#options COM_HAYESP # adds Hayes ESP serial board support 398com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports 399com1 at isa? port 0x2f8 irq 3 400com2 at isa? port 0x3e8 irq 5 401#com3 at isa? port 0x2e8 irq 9 402#ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards 403#com* at ast? slave ? 404#boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards 405#boca0 at isa? port 0x100 irq 5 # BOCA 16-port serial cards (BB2016) 406#boca1 at isa? port 0x140 irq 5 # this line is also needed for BB2016 407#com* at boca? slave ? 408#tcom0 at isa? port 0x100 irq 7 # TC-800 8-port serial cards 409#com* at tcom? slave ? 410#rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards 411#com* at rtfps? slave ? 412#cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards 413#addcom0 at isa? port 0x108 irq 5 # Addonics FlexPort 8S 414#com* at addcom? slave ? 415#moxa0 at isa? port 0x100 irq 5 # MOXA C168H serial card (experimental) 416#com* at moxa? slave ? 417 418# MCA serial interfaces 419com* at mca? slot ? # 16x50s on comm boards 420 421# Parallel Printer Interfaces 422 423# PCI parallel printer interfaces 424lpt* at puc? port ? # || ports on "universal" comm boards 425 426# ISA parallel printer interfaces 427lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports 428lpt1 at isa? port 0x278 429lpt2 at isa? port 0x3bc 430 431# Hardware monitors 432 433# LM7[89] and compatible hardware monitors 434#lm0 at isa? port 0x290 # other common ports: 0x280, 0x310 435 436# VIA VT82C686A hardware monitor 437#viapm* at pci? dev ? function ? 438#viaenv* at viapm? 439 440 441# I2O devices 442iop* at pci? dev ? function ? # I/O processor 443iopsp* at iop? tid ? # SCSI/FC-AL ports 444ld* at iop? tid ? # block devices 445dpti* at iop? tid 0 # DPT/Adaptec control interface 446 447 448# SCSI Controllers and Devices 449 450# PCI SCSI controllers 451adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI 452adw* at pci? dev ? function ? # AdvanSys 9x0UW[D], 3940U[2,3]W SCSI 453ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 454bha* at pci? dev ? function ? # BusLogic 9xx SCSI 455dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID 456iha* at pci? dev ? function ? # Initio INIC-940/950 SCSI 457isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel 458mly* at pci? dev ? function ? # Mylex AcceleRAID and eXtremeRAID 459pcscp* at pci? dev ? function ? # AMD 53c974 PCscsi-PCI SCSI 460siop* at pci? dev ? function ? # Symbios 53c8xx SCSI 461#options SIOP_SYMLED # drive the act. LED in software 462trm* at pci? dev ? function ? # Tekram DC-395U/UW/F, DC-315/U SCSI 463 464# EISA SCSI controllers 465ahb* at eisa? slot ? # Adaptec 174[02] SCSI 466ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI 467bha* at eisa? slot ? # BusLogic 7xx SCSI 468dpt* at eisa? slot ? # DPT EATA SCSI 469uha* at eisa? slot ? # UltraStor 24f SCSI 470 471# PCMCIA SCSI controllers 472aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 473esp* at pcmcia? function ? # Qlogic ESP406/FAS408 SCSI 474 475# ISA Plug-and-Play SCSI controllers 476aha* at isapnp? # Adaptec AHA-154[02 477aic* at isapnp? # Adaptec AHA-1520B 478 479# ISA SCSI controllers 480adv0 at isa? port ? irq ? drq ? # AdvanSys APB-514[02] SCSI 481aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI 482aha1 at isa? port 0x334 irq ? drq ? 483ahc0 at isa? port ? irq ? # Adaptec 284x SCSI 484aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI 485bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI 486bha1 at isa? port 0x334 irq ? drq ? 487# The "nca" and "dpt" probes might give false hits or hang your machine. 488#dpt0 at isa? port 0x170 irq ? drq ? # DPT SmartCache/SmartRAID 489#nca0 at isa? port 0x360 irq 15 # Port-mapped NCR 53C80 controller 490#nca1 at isa? iomem 0xd8000 irq 5 # Memory-mapped controller (T128, etc.) 491sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI 492uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI 493uha1 at isa? port 0x340 irq ? drq ? 494wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers 495wds1 at isa? port 0x358 irq 11 drq 5 496 497# CardBus SCSI cards 498#adv* at cardbus? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI 499#ahc* at cardbus? dev ? function ? # Adaptec ADP-1480 500 501# MCA SCSI cards 502aha* at mca? slot ? # Adaptec AHA-1640 503 504# SCSI bus support 505scsibus* at scsi? 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 533 534# IDE and related devices 535# PCI IDE controllers - see pciide(4) for supported hardware. 536# The 0x0001 flag force the driver to use DMA, even if the driver doesn't know 537# how to set up DMA modes for this chip. This may work, or may cause 538# a machine hang with some controllers. 539pciide* at pci? dev ? function ? flags 0x0000 540 541# ISA Plug-and-Play IDE controllers 542wdc* at isapnp? 543 544# PCMCIA IDE controllers 545wdc* at pcmcia? function ? 546 547# ISA ST506, ESDI, and IDE controllers 548# Use flags 0x01 if you want to try to use 32bits data I/O (the driver will 549# fall back to 16bits I/O if 32bits I/O are not functional). 550# Some controllers pass the initial 32bit test, but will fail later. 551wdc0 at isa? port 0x1f0 irq 14 flags 0x00 552wdc1 at isa? port 0x170 irq 15 flags 0x00 553 554# IDE drives 555# Flags are used only with controllers that support DMA operations 556# and mode settings (e.g. some pciide controllers) 557# The lowest order four bits (rightmost digit) of the flags define the PIO 558# mode to use, the next set of four bits the DMA mode and the third set the 559# UltraDMA mode. For each set of four bits, the 3 lower bits define the mode 560# to use, and the last bit must be 1 for this setting to be used. 561# For DMA and UDMA, 0xf (1111) means 'disable'. 562# 0x0fac means 'use PIO mode 4, DMA mode 2, disable UltraDMA'. 563# (0xc=1100, 0xa=1010, 0xf=1111) 564# 0x0000 means "use whatever the drive claims to support". 565wd* at wdc? channel ? drive ? flags 0x0000 566wd* at pciide? channel ? drive ? flags 0x0000 567 568# ATAPI bus support 569atapibus* at atapi? 570 571# ATAPI devices 572# flags have the same meaning as for IDE drives. 573cd* at atapibus? drive ? flags 0x0000 # ATAPI CD-ROM drives 574sd* at atapibus? drive ? flags 0x0000 # ATAPI disk drives 575st* at atapibus? drive ? flags 0x0000 # ATAPI tape drives 576uk* at atapibus? drive ? flags 0x0000 # ATAPI unknown 577 578 579# Miscellaneous mass storage devices 580 581# ISA floppy 582fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 583#fdc1 at isa? port 0x370 irq ? drq ? 584fd* at fdc? drive ? # the drives themselves 585# some machines need you to do this instead of fd* 586#fd0 at fdc0 drive 0 587 588# ISA CD-ROM devices 589#mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives 590 591# ISA tape devices 592# note: the wt driver conflicts unpleasantly with SMC boards at the 593# same I/O address. The probe reprograms their EEPROMs. Don't 594# uncomment it unless you are actually using it. 595#wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives 596 597# MCA ESDI devices 598edc* at mca? slot ? # IBM ESDI Disk Controllers 599ed* at edc? 600 601 602# Network Interfaces 603 604# PCI network interfaces 605an* at pci? dev ? function ? # Aironet PC4500/PC4800 (802.11) 606bge* at pci? dev ? function ? # Broadcom 570x gigabit Ethernet 607en* at pci? dev ? function ? # ENI/Adaptec ATM 608ep* at pci? dev ? function ? # 3Com 3c59x 609epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 610esh* at pci? dev ? function ? # Essential HIPPI card 611ex* at pci? dev ? function ? # 3Com 90x[BC] 612fpa* at pci? dev ? function ? # DEC DEFPA FDDI 613fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 614gsip* at pci? dev ? function ? # NS83820 Gigabit Ethernet 615#hme* at pci? dev ? function ? # Sun Microelectronics STP2002-STQ 616le* at pci? dev ? function ? # PCnet-PCI Ethernet 617lmc* at pci? dev ? function ? # Lan Media Corp SSI/HSSI/DS3 618ne* at pci? dev ? function ? # NE2000-compatible Ethernet 619ntwoc* at pci? dev ? function ? # Riscom/N2 PCI Sync Serial 620pcn* at pci? dev ? function ? # AMD PCnet-PCI Ethernet 621rtk* at pci? dev ? function ? # Realtek 8129/8139 622sf* at pci? dev ? function ? # Adaptec AIC-6915 Ethernet 623sip* at pci? dev ? function ? # SiS 900/DP83815 Ethernet 624ste* at pci? dev ? function ? # Sundance ST-201 Ethernet 625stge* at pci? dev ? function ? # Sundance/Tamarack TC9021 Gigabit 626ti* at pci? dev ? function ? # Alteon ACEnic gigabit Ethernet 627tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 628tlp* at pci? dev ? function ? # DECchip 21x4x and clones 629vr* at pci? dev ? function ? # VIA Rhine Fast Ethernet 630wi* at pci? dev ? function ? # Intersil Prism Mini-PCI (802.11b) 631wm* at pci? dev ? function ? # Intel 82543/82544 gigabit 632 633# EISA network interfaces 634ep* at eisa? slot ? # 3Com 3c579 Ethernet 635fea* at eisa? slot ? # DEC DEFEA FDDI 636tlp* at eisa? slot ? # DEC DE-425 Ethernet 637 638# ISA Plug-and-Play network interfaces 639an* at isapnp? # Aironet 802.11 640ep* at isapnp? # 3Com 3c509 Ethernet 641le* at isapnp? # AMD PCnet-ISA 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/Intersil 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# ISA USB controllers 745#slhci0 at isa? port 0x300 irq 5 # ScanLogic SL811HS 746 747# USB bus support 748#usb* at ehci? 749usb* at ohci? 750usb* at uhci? 751#usb* at slhci? 752 753# USB Hubs 754uhub* at usb? 755uhub* at uhub? port ? configuration ? interface ? 756 757# USB HID device 758uhidev* at uhub? port ? configuration ? interface ? 759 760# USB Mice 761ums* at uhidev? reportid ? 762wsmouse* at ums? mux 0 763 764# USB Keyboards 765ukbd* at uhidev? reportid ? 766wskbd* at ukbd? console ? mux 1 767 768# USB Generic HID devices 769uhid* at uhidev? reportid ? 770 771# USB Printer 772ulpt* at uhub? port ? configuration ? interface ? 773 774# USB Modem 775umodem* at uhub? port ? configuration ? 776ucom* at umodem? 777 778# USB Mass Storage 779umass* at uhub? port ? configuration ? interface ? 780#wd* at umass? 781 782# USB audio 783uaudio* at uhub? port ? configuration ? 784 785# USB MIDI 786umidi* at uhub? port ? configuration ? 787 788# USB IrDA 789# USB-IrDA bridge spec 790uirda* at uhub? port ? configuration ? interface ? 791irframe* at uirda? 792 793# SigmaTel STIr4200 USB/IrDA Bridge 794ustir* at uhub? port ? 795irframe* at ustir? 796 797# USB Ethernet adapters 798aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 799cue* at uhub? port ? # CATC USB-EL1201A based adapters 800kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 801url* at uhub? port ? # Realtek RTL8150L based adapters 802 803# Prolific PL2301/PL2302 host-to-host adapter 804upl* at uhub? port ? 805 806# Serial adapters 807uftdi* at uhub? port ? # FTDI FT8U100AX serial adapter 808ucom* at uftdi? portno ? 809 810umct* at uhub? port ? # MCT USB-RS232 serial adapter 811ucom* at umct? portno ? 812 813uplcom* at uhub? port ? # I/O DATA USB-RSAQ2 serial adapter 814ucom* at uplcom? portno ? 815 816uvscom* at uhub? port ? # SUNTAC Slipper U VS-10U serial adapter 817ucom* at uvscom? portno ? 818 819# Diamond Multimedia Rio 500 820urio* at uhub? port ? 821 822# USB Handspring Visor 823uvisor* at uhub? port ? 824ucom* at uvisor? 825 826# USB scanners 827uscanner* at uhub? port ? 828 829# USB scanners that use SCSI emulation, e.g., HP5300 830usscanner* at uhub? port ? 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 906audio* at audiobus? 907 908# MPU 401 UARTs 909#mpu* at isa? port 0x330 irq 9 # MPU401 or compatible card 910mpu* at cmpci? 911mpu* at eso? 912mpu* at fms? 913mpu* at sb? 914mpu* at yds? 915mpu* at ym? 916 917# MIDI support 918midi* at midibus? 919midi* at pcppi? # MIDI interface to the PC speaker 920 921# The spkr driver provides a simple tone interface to the built in speaker. 922#spkr0 at pcppi? # PC speaker 923 924 925# FM-Radio devices 926# ISA radio devices 927#az0 at isa? port 0x350 # Aztech/PackardBell FM Radio Card 928#az1 at isa? port 0x358 929#rt0 at isa? port 0x20c # AIMS Lab Radiotrack & compatible 930#rt1 at isa? port 0x284 931#rt2 at isa? port 0x30c 932#rt3 at isa? port 0x384 933#rtii0 at isa? port 0x20c # AIMS Lab Radiotrack II FM Radio Card 934#rtii1 at isa? port 0x30c 935#sf2r0 at isa? port 0x384 # SoundForte RadioLink SF16-FMR2 FM Radio Card 936 937# PCI radio devices 938#gtp* at pci? dev ? function ? # Guillemot Maxi Radio FM 2000 Radio Card 939 940# Radio support 941#radio* at az? 942#radio* at gtp? 943#radio* at rt? 944#radio* at rtii? 945#radio* at sf2r? 946 947 948# TV cards 949 950# Brooktree 848/849/878/879 based TV cards 951bktr* at pci? dev ? function ? 952radio* at bktr? 953 954 955# Mice 956 957# ISA busmice 958lms0 at isa? port 0x23c irq 5 # Logitech bus mouse 959lms1 at isa? port 0x238 irq 5 960mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse 961mms1 at isa? port 0x238 irq 5 962wsmouse* at lms? mux 0 963wsmouse* at mms? mux 0 964# backwards compatible versions 965#olms0 at isa? port 0x23c irq 5 # Logitech bus mouse 966#olms1 at isa? port 0x238 irq 5 967#omms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse 968#omms1 at isa? port 0x238 irq 5 969 970 971# Joysticks 972 973#joy* at pnpbios? index ? # Game port 974 975# ISA Plug-and-Play joysticks 976joy* at isapnp? # Game ports (usually on audio cards) 977 978# PCI joysticks 979joy* at pci? # Game ports (usually on audio cards) 980joy* at eso? # ESS Solo-1 on-board joystick 981 982# ISA joysticks. Probe is a little strange; add only if you have one. 983#joy0 at isa? port 0x201 984 985 986# Miscellaneous Devices 987 988# Planetconnect Satellite receiver driver. 989#satlink0 at isa? port 0x300 drq 1 990 991# Middle Digital, Inc. PCI-Weasel serial console board control 992# devices (watchdog timer, etc.) 993weasel* at pci? 994 995# Pull in optional local configuration 996include "arch/i386/conf/GENERIC.local" 997 998 999# Pseudo-Devices 1000 1001# disk/mass storage pseudo-devices 1002pseudo-device ccd 4 # concatenated/striped disk devices 1003#pseudo-device cgd 4 # cryptographic disk devices 1004# RAIDframe is broken with MULTIPROCESSOR / LOCKDEBUG 1005#pseudo-device raid 8 # RAIDframe disk driver 1006#options RAID_AUTOCONFIG # auto-configuration of RAID components 1007#Options to enable various other RAIDframe RAID types. 1008#options RF_INCLUDE_EVENODD=1 1009#options RF_INCLUDE_RAID5_RS=1 1010#options RF_INCLUDE_PARITYLOGGING=1 1011#options RF_INCLUDE_CHAINDECLUSTER=1 1012#options RF_INCLUDE_INTERDECLUSTER=1 1013#options RF_INCLUDE_PARITY_DECLUSTERING=1 1014#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 1015 1016pseudo-device md 1 # memory disk device (ramdisk) 1017pseudo-device vnd 4 # disk-like interface to files 1018 1019# network pseudo-devices 1020pseudo-device bpfilter 8 # Berkeley packet filter 1021pseudo-device ipfilter # IP filter (firewall) and NAT 1022pseudo-device loop # network loopback 1023pseudo-device ppp 2 # Point-to-Point Protocol 1024pseudo-device pppoe # PPP over Ethernet (RFC 2516) 1025pseudo-device sl 2 # Serial Line IP 1026pseudo-device strip 2 # Starmode Radio IP (Metricom) 1027pseudo-device irframetty # IrDA frame line discipline 1028pseudo-device tun 2 # network tunneling over tty 1029pseudo-device gre 2 # generic L3 over IP tunnel 1030pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 1031#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 1032#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 1033pseudo-device vlan # IEEE 802.1q encapsulation 1034pseudo-device bridge # simple inter-network bridging 1035 1036# miscellaneous pseudo-devices 1037pseudo-device pty # pseudo-terminals 1038pseudo-device tb 1 # tablet line discipline 1039pseudo-device sequencer 1 # MIDI sequencer 1040# rnd works; RND_COM does not on port i386 yet. 1041pseudo-device rnd # /dev/random and in-kernel generator 1042#options RND_COM # use "com" randomness as well (BROKEN) 1043pseudo-device clockctl # user control of clock subsystem 1044 1045# a pseudo device needed for Coda # also needs CODA (above) 1046pseudo-device vcoda 4 # coda minicache <-> venus comm. 1047 1048# wscons pseudo-devices 1049pseudo-device wsmux # mouse & keyboard multiplexor 1050pseudo-device wsfont 1051