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