GENERIC revision 1.514
1# $NetBSD: GENERIC,v 1.514 2002/10/04 03:17:00 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.514 $" 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 641ne* at isapnp? # NE2000-compatible Ethernet 642tr* at isapnp? # IBM/3COM TROPIC Token-Ring 643 644# PCMCIA network interfaces 645an* at pcmcia? function ? # Aironet PC4500/PC4800 (802.11) 646awi* at pcmcia? function ? # BayStack 650/660 (802.11FH/DS) 647cnw* at pcmcia? function ? # Xircom/Netwave AirSurfer 648ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 649mbe* at pcmcia? function ? # MB8696x based Ethernet 650ne* at pcmcia? function ? # NE2000-compatible Ethernet 651ray* at pcmcia? function ? # Raytheon Raylink (802.11) 652sm* at pcmcia? function ? # Megahertz Ethernet 653# tr at pcmcia has problems with Cardbus bridges 654#tr* at pcmcia? function ? # TROPIC based Token-Ring 655wi* at pcmcia? function ? # Lucent/Intersil WaveLan IEEE (802.11) 656xi* at pcmcia? function ? # Xircom CreditCard Ethernet 657 658mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards 659com* at mhzc? 660sm* at mhzc? 661 662# ISA network interfaces 663ate0 at isa? port 0x2a0 irq ? # AT1700 664cs0 at isa? port 0x300 iomem ? irq ? drq ? # CS8900 Ethernet 665ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 666eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards 667el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards 668ep* at isa? port ? irq ? # 3C509 ethernet cards 669ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3C507 670ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN 671fmv0 at isa? port 0x2a0 irq ? # FMV-180 series 672ix0 at isa? port 0x300 irq 10 # EtherExpress/16 673iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA 674lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC) 675#depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA 676#le* at depca? 677nele0 at isa? port 0x320 irq 9 drq 7 # NE2100 678le* at nele? 679#ntwoc0 at isa? port 0x300 irq 5 iomem 0xc8000 flags 1 # Riscom/N2 sync serial 680bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan 681le* at bicc? 682ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 683ne1 at isa? port 0x300 irq 10 684sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet 685tr0 at isa? port 0xa20 iomem 0xd8000 irq ? # IBM TROPIC based Token-Ring 686tr1 at isa? port 0xa24 iomem 0xd0000 irq ? # IBM TROPIC based Token-Ring 687tr* at isa? port ? irq ? # 3COM TROPIC based Token-Ring 688we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 689we1 at isa? port 0x300 iomem 0xcc000 irq 10 690 691# CardBus network cards 692#ex* at cardbus? dev ? function ? # 3Com 3C575TX 693#fxp* at cardbus? dev ? function ? # Intel i8255x 694#rtk* at cardbus? dev ? function ? # Realtek 8129/8139 695#tlp* at cardbus? dev ? function ? # DECchip 21143 696 697# MCA network cards 698elmc* at mca? slot ? # 3Com EtherLink/MC (3c523) 699ep* at mca? slot ? # 3Com EtherLink III (3c529) 700we* at mca? slot ? # WD/SMC Ethernet 701ate* at mca? slot ? # Allied Telesis AT1720 702ne* at mca? slot ? # Novell NE/2 and clones 703tr* at mca? slot ? # IBM Token Ring adapter 704le* at mca? slot ? # SKNET Personal/MC2+ 705 706# MII/PHY support 707acphy* at mii? phy ? # DAltima AC101 and AMD Am79c874 PHYs 708amhphy* at mii? phy ? # AMD 79c901 Ethernet PHYs 709bmtphy* at mii? phy ? # Broadcom BCM5201 and BCM5202 PHYs 710brgphy* at mii? phy ? # Broadcom BCM5400-family PHYs 711dmphy* at mii? phy ? # Davicom DM9101 PHYs 712exphy* at mii? phy ? # 3Com internal PHYs 713glxtphy* at mii? phy ? # Level One LXT-1000 PHYs 714gphyter* at mii? phy ? # NS83861 Gig-E PHY 715icsphy* at mii? phy ? # Integrated Circuit Systems ICS189x 716inphy* at mii? phy ? # Intel 82555 PHYs 717iophy* at mii? phy ? # Intel 82553 PHYs 718lxtphy* at mii? phy ? # Level One LXT-970 PHYs 719makphy* at mii? phy ? # Marvell Semiconductor 88E1000 PHYs 720nsphy* at mii? phy ? # NS83840 PHYs 721nsphyter* at mii? phy ? # NS83843 PHYs 722pnaphy* at mii? phy ? # generic HomePNA PHYs 723qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 724sqphy* at mii? phy ? # Seeq 80220/80221/80223 PHYs 725tlphy* at mii? phy ? # ThunderLAN PHYs 726tqphy* at mii? phy ? # TDK Semiconductor PHYs 727ukphy* at mii? phy ? # generic unknown PHYs 728urlphy* at mii? phy ? # Realtek RTL8150L internal PHYs 729 730 731# USB Controller and Devices 732 733# PCI USB controllers 734# The EHCI is not ready for prime time. 735#ehci* at pci? dev ? function ? # Enhanced Host Controller 736ohci* at pci? dev ? function ? # Open Host Controller 737uhci* at pci? dev ? function ? # Universal Host Controller (Intel) 738 739# CardBus USB controllers 740#ehci* at cardbus? dev ? function ? # Enhanced Host Controller 741#ohci* at cardbus? dev ? function ? # Open Host Controller 742 743# ISA USB controllers 744#slhci0 at isa? port 0x300 irq 5 # ScanLogic SL811HS 745 746# USB bus support 747#usb* at ehci? 748usb* at ohci? 749usb* at uhci? 750#usb* at slhci? 751 752# USB Hubs 753uhub* at usb? 754uhub* at uhub? port ? configuration ? interface ? 755 756# USB HID device 757uhidev* at uhub? port ? configuration ? interface ? 758 759# USB Mice 760ums* at uhidev? reportid ? 761wsmouse* at ums? mux 0 762 763# USB Keyboards 764ukbd* at uhidev? reportid ? 765wskbd* at ukbd? console ? mux 1 766 767# USB Generic HID devices 768uhid* at uhidev? reportid ? 769 770# USB Printer 771ulpt* at uhub? port ? configuration ? interface ? 772 773# USB Modem 774umodem* at uhub? port ? configuration ? 775ucom* at umodem? 776 777# USB Mass Storage 778umass* at uhub? port ? configuration ? interface ? 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 ? 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 905audio* at audiobus? 906 907# MPU 401 UARTs 908#mpu* at isa? port 0x330 irq 9 # MPU401 or compatible card 909mpu* at cmpci? 910mpu* at eso? 911mpu* at fms? 912mpu* at sb? 913mpu* at yds? 914mpu* at ym? 915 916# MIDI support 917midi* at midibus? 918midi* at pcppi? # MIDI interface to the PC speaker 919 920# The spkr driver provides a simple tone interface to the built in speaker. 921#spkr0 at pcppi? # PC speaker 922 923 924# FM-Radio devices 925# ISA radio devices 926#az0 at isa? port 0x350 # Aztech/PackardBell FM Radio Card 927#az1 at isa? port 0x358 928#rt0 at isa? port 0x20c # AIMS Lab Radiotrack & compatible 929#rt1 at isa? port 0x284 930#rt2 at isa? port 0x30c 931#rt3 at isa? port 0x384 932#rtii0 at isa? port 0x20c # AIMS Lab Radiotrack II FM Radio Card 933#rtii1 at isa? port 0x30c 934#sf2r0 at isa? port 0x384 # SoundForte RadioLink SF16-FMR2 FM Radio Card 935 936# PCI radio devices 937#gtp* at pci? dev ? function ? # Guillemot Maxi Radio FM 2000 Radio Card 938 939# Radio support 940#radio* at az? 941#radio* at gtp? 942#radio* at rt? 943#radio* at rtii? 944#radio* at sf2r? 945 946 947# TV cards 948 949# Brooktree 848/849/878/879 based TV cards 950bktr* at pci? dev ? function ? 951radio* at bktr? 952 953 954# Mice 955 956# ISA busmice 957lms0 at isa? port 0x23c irq 5 # Logitech bus mouse 958lms1 at isa? port 0x238 irq 5 959mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse 960mms1 at isa? port 0x238 irq 5 961wsmouse* at lms? mux 0 962wsmouse* at mms? mux 0 963# backwards compatible versions 964#olms0 at isa? port 0x23c irq 5 # Logitech bus mouse 965#olms1 at isa? port 0x238 irq 5 966#omms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse 967#omms1 at isa? port 0x238 irq 5 968 969 970# Joysticks 971 972#joy* at pnpbios? index ? # Game port 973 974# ISA Plug-and-Play joysticks 975joy* at isapnp? # Game ports (usually on audio cards) 976 977# PCI joysticks 978joy* at pci? # Game ports (usually on audio cards) 979joy* at eso? # ESS Solo-1 on-board joystick 980 981# ISA joysticks. Probe is a little strange; add only if you have one. 982#joy0 at isa? port 0x201 983 984 985# Miscellaneous Devices 986 987# Planetconnect Satellite receiver driver. 988#satlink0 at isa? port 0x300 drq 1 989 990# Middle Digital, Inc. PCI-Weasel serial console board control 991# devices (watchdog timer, etc.) 992weasel* at pci? 993 994# Pull in optional local configuration 995include "arch/i386/conf/GENERIC.local" 996 997 998# Pseudo-Devices 999 1000# disk/mass storage pseudo-devices 1001pseudo-device ccd 4 # concatenated/striped disk devices 1002# RAIDframe is broken with MULTIPROCESSOR / LOCKDEBUG 1003#pseudo-device raid 8 # RAIDframe disk driver 1004#options RAID_AUTOCONFIG # auto-configuration of RAID components 1005#Options to enable various other RAIDframe RAID types. 1006#options RF_INCLUDE_EVENODD=1 1007#options RF_INCLUDE_RAID5_RS=1 1008#options RF_INCLUDE_PARITYLOGGING=1 1009#options RF_INCLUDE_CHAINDECLUSTER=1 1010#options RF_INCLUDE_INTERDECLUSTER=1 1011#options RF_INCLUDE_PARITY_DECLUSTERING=1 1012#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 1013 1014pseudo-device md 1 # memory disk device (ramdisk) 1015pseudo-device vnd 4 # disk-like interface to files 1016 1017# network pseudo-devices 1018pseudo-device bpfilter 8 # Berkeley packet filter 1019pseudo-device ipfilter # IP filter (firewall) and NAT 1020pseudo-device loop # network loopback 1021pseudo-device ppp 2 # Point-to-Point Protocol 1022pseudo-device pppoe # PPP over Ethernet (RFC 2516) 1023pseudo-device sl 2 # Serial Line IP 1024pseudo-device strip 2 # Starmode Radio IP (Metricom) 1025pseudo-device irframetty # IrDA frame line discipline 1026pseudo-device tun 2 # network tunneling over tty 1027pseudo-device gre 2 # generic L3 over IP tunnel 1028pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 1029#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 1030#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 1031pseudo-device vlan # IEEE 802.1q encapsulation 1032pseudo-device bridge # simple inter-network bridging 1033 1034# miscellaneous pseudo-devices 1035pseudo-device pty # pseudo-terminals 1036pseudo-device tb 1 # tablet line discipline 1037pseudo-device sequencer 1 # MIDI sequencer 1038# rnd works; RND_COM does not on port i386 yet. 1039pseudo-device rnd # /dev/random and in-kernel generator 1040#options RND_COM # use "com" randomness as well (BROKEN) 1041pseudo-device clockctl # user control of clock subsystem 1042 1043# a pseudo device needed for Coda # also needs CODA (above) 1044pseudo-device vcoda 4 # coda minicache <-> venus comm. 1045 1046# wscons pseudo-devices 1047pseudo-device wsmux # mouse & keyboard multiplexor 1048pseudo-device wsfont 1049