GENERIC revision 1.190
1# $NetBSD: GENERIC,v 1.190 1998/10/13 03:57:27 enami Exp $ 2# 3# GENERIC -- everything that's currently supported 4# 5 6include "arch/i386/conf/std.i386" 7 8maxusers 32 # estimated number of users 9 10# CPU support. At least one is REQUIRED. 11options I386_CPU 12options I486_CPU 13options I586_CPU 14options I686_CPU 15 16# CPU-related options. 17options MATH_EMULATE # floating point emulation 18#options VM86 # virtual 8086 emulation 19options USER_LDT # user-settable LDT; used by WINE 20# eliminate delay no-ops in I/O; recommended on all but very old machines 21#options DUMMY_NOPS 22 23# Misc. i386-specific options 24options XSERVER # X server support in console drivers 25#options XSERVER_DDB # PF12 gets you into DDB when X is running 26 27# This option allows you to force a serial console at the specified 28# I/O address. see console(4) for details. 29#options "CONSDEVNAME=\"com\"",CONADDR=0x2f8,CONSPEED=57600 30# you don't want the option below ON iff you are using the 31# serial console option of the new boot strap code. 32#options CONS_OVERRIDE # Always use above! independent of boot info 33 34# The following options override the memory sizes passed in from the boot 35# block. Use them *only* if the boot block is unable to determine the correct 36# values. Note that the BIOS may *correctly* report less than 640k of base 37# memory if the extended BIOS data area is located at the top of base memory 38# (as is the case on most recent systems). 39#options REALBASEMEM=639 # size of base memory (in KB) 40#options REALEXTMEM=15360 # size of extended memory (in KB) 41 42# Standard system options 43 44options UCONSOLE # users can use TIOCCONS (for xconsole) 45options INSECURE # disable kernel security levels 46 47options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 48#options NTP # NTP phase/frequency locked loop 49 50options KTRACE # system call tracing via ktrace(1) 51 52options SYSVMSG # System V-like message queues 53options SYSVSEM # System V-like semaphores 54options SYSVSHM # System V-like memory sharing 55#options SHMMAXPGS=1024 # 1024 pages is the default 56 57options LKM # loadable kernel modules 58 59# Diagnostic/debugging support options 60options DIAGNOSTIC # cheap kernel consistency checks 61#options DEBUG # expensive debugging checks/support 62#options KMEMSTATS # kernel memory statistics (vmstat -m) 63options DDB # in-kernel debugger 64#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 65#options KGDB # remote debugger 66#options "KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600 67#makeoptions DEBUG="-g" # compile full symbol table 68 69# Compatibility options 70options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8, 71options COMPAT_09 # NetBSD 0.9, 72options COMPAT_10 # NetBSD 1.0, 73options COMPAT_11 # NetBSD 1.1, 74options COMPAT_12 # NetBSD 1.2, 75options COMPAT_13 # NetBSD 1.3, 76options COMPAT_43 # and 4.3BSD 77options COMPAT_386BSD_MBRPART # recognize old partition ID 78 79options COMPAT_SVR4 # binary compatibility with SVR4 80options COMPAT_IBCS2 # binary compatibility with SCO and ISC 81options COMPAT_LINUX # binary compatibility with Linux 82options COMPAT_FREEBSD # binary compatibility with FreeBSD 83 84# Executable format options 85options EXEC_ELF32 # 32-bit ELF executables (SVR4, Linux) 86 87# File systems 88file-system FFS # UFS 89file-system EXT2FS # second extended file system (linux) 90file-system LFS # log-structured file system 91file-system MFS # memory file system 92file-system NFS # Network File System client 93file-system CD9660 # ISO 9660 + Rock Ridge file system 94file-system MSDOSFS # MS-DOS file system 95file-system FDESC # /dev/fd 96file-system KERNFS # /kern 97file-system NULLFS # loopback file system 98file-system PORTAL # portal filesystem (still experimental) 99file-system PROCFS # /proc 100file-system UMAPFS # NULLFS + uid and gid remapping 101file-system UNION # union file system 102file-system CODA # Coda File System; also needs vcoda (below) 103 104# File system options 105options QUOTA # UFS quotas 106#options FFS_EI # FFS Endian Independant support 107options NFSSERVER # Network File System server 108#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 109 # immutable) behave as system flags. 110 111# Networking options 112#options GATEWAY # packet forwarding 113options INET # IP + ICMP + TCP + UDP 114#options MROUTING # IP multicast routing 115options NS # XNS 116#options NSIP # XNS tunneling over IP 117options ISO,TPIP # OSI 118options EON # OSI tunneling over IP 119options CCITT,LLC,HDLC # X.25 120options NETATALK # AppleTalk networking protocols 121#options PPP_BSDCOMP # BSD-Compress compression support for PPP 122#options PPP_DEFLATE # Deflate compression support for PPP 123#options PPP_FILTER # Active filter support for PPP (requires bpf) 124#options PFIL_HOOKS # pfil(9) packet filter hooks 125#options IPFILTER_LOG # ipmon(8) log support 126 127# Compatibility with 4.2BSD implementation of TCP/IP. Not recommended. 128#options TCP_COMPAT_42 129 130# These options enable verbose messages for several subsystems. 131# Warning, these may compile large string tables into the kernel! 132options EISAVERBOSE # verbose EISA device autoconfig messages 133options PCIVERBOSE # verbose PCI device autoconfig messages 134#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 135options SCSIVERBOSE # human readable SCSI error messages 136options USBVERBOSE # verbose USB device autoconfig messages 137 138options NFS_BOOT_BOOTP,NFS_BOOT_BOOTPARAM 139 140# Kernel root file system and dump configuration. 141config netbsd root on ? type ? 142#config netbsd root on sd0a type ffs 143#config netbsd root on ? type nfs 144 145# 146# Device configuration 147# 148 149mainbus0 at root 150 151#apm0 at mainbus0 # Advanced power management 152 153 154# Basic Bus Support 155 156# PCI bus support 157pci* at mainbus? bus ? 158pci* at pchb? bus ? 159pci* at ppb? bus ? 160 161# PCI bridges 162pchb* at pci? dev ? function ? # PCI-Host bridges 163pceb* at pci? dev ? function ? # PCI-EISA bridges 164pcib* at pci? dev ? function ? # PCI-ISA bridges 165ppb* at pci? dev ? function ? # PCI-PCI bridges 166# XXX 'puc's aren't really bridges, but there's no better place for them here 167puc* at pci? dev ? function ? # PCI "universal" comm. cards 168 169# EISA bus support 170eisa* at mainbus? 171eisa* at pceb? 172 173# ISA bus support 174isa* at mainbus? 175isa* at pceb? 176isa* at pcib? 177 178# PCMCIA bus support 179pcmcia* at pcic? controller ? socket ? 180 181# ISA PCMCIA controllers 182pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000 183pcic1 at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000 184 185# ISA Plug-and-Play bus support 186isapnp0 at isa? 187 188# ISA Plug-and-Play PCMCIA controllers 189pcic* at isapnp? 190 191# Coprocessor Support 192 193# Math Coprocessor support 194npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor 195 196 197# Console Devices 198 199# ISA console. You can only configure one of these! 200pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver 201#vt0 at isa? port 0x60 irq 1 # PCVT console driver 202 203# Keyboard layout configuration for pccons 204#options FRENCH_KBD 205#options FINNISH_KBD 206#options GERMAN_KBD 207#options NORWEGIAN_KBD 208 209pcppi0 at isa? 210sysbeep0 at pcppi? 211 212# Serial Devices 213 214# PCI serial interfaces 215com* at puc? port ? # 16x450s on "universal" comm boards 216cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards 217 218# ISA Plug-and-Play serial interfaces 219com* at isapnp? # Modems and serial boards 220 221# PCMCIA serial interfaces 222com* at pcmcia? function ? # Modems and serial cards 223 224pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards 225com* at pcmcom? slave ? # ...and the slave devices 226 227# ISA serial interfaces 228#options COM_HAYESP # adds Hayes ESP serial board support 229com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports 230com1 at isa? port 0x2f8 irq 3 231com2 at isa? port 0x3e8 irq 5 232#com3 at isa? port 0x2e8 irq 9 233#ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards 234#com* at ast? slave ? 235#boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards 236#com* at boca? slave ? 237#rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards 238#com* at rtfps? slave ? 239#cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards 240 241 242# Parallel Printer Interfaces 243 244# PCI parallel printer interfaces 245lpt* at puc? port ? # || ports on "universal" comm boards 246 247# ISA parallel printer interfaces 248lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports 249lpt1 at isa? port 0x278 250lpt2 at isa? port 0x3bc 251 252 253# SCSI Controllers and Devices 254 255# PCI SCSI controllers 256adv* at pci? dev ? function ? # AdvanSys 1200[A,B], 9xx[U,UA] SCSI 257adw* at pci? dev ? function ? # AdvanSys 9xxUW SCSI 258ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 259bha* at pci? dev ? function ? # BusLogic 9xx SCSI 260isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel 261ncr* at pci? dev ? function ? # NCR 53c8xx SCSI 262 263# EISA SCSI controllers 264ahb* at eisa? slot ? # Adaptec 174[02] SCSI 265ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI 266bha* at eisa? slot ? # BusLogic 7xx SCSI 267uha* at eisa? slot ? # UltraStor 24f SCSI 268 269# PCMCIA SCSI controllers 270aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 271 272# ISA Plug-and-Play SCSI controllers 273aic* at isapnp? # Adaptec AHA-1520B 274 275# ISA SCSI controllers 276aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI 277aha1 at isa? port 0x334 irq ? drq ? 278ahc0 at isa? port ? irq ? # Adaptec 284x SCSI 279aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI 280bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI 281bha1 at isa? port 0x334 irq ? drq ? 282sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI 283uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI 284uha1 at isa? port 0x340 irq ? drq ? 285wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers 286wds1 at isa? port 0x358 irq 11 drq 5 287 288# SCSI bus support 289scsibus* at adv? 290scsibus* at adw? 291scsibus* at aha? 292scsibus* at ahb? 293scsibus* at ahc? 294scsibus* at aic? 295scsibus* at bha? 296scsibus* at isp? 297scsibus* at ncr? 298scsibus* at sea? 299scsibus* at uha? 300scsibus* at wds? 301 302# SCSI devices 303sd* at scsibus? target ? lun ? # SCSI disk drives 304st* at scsibus? target ? lun ? # SCSI tape drives 305cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 306ch* at scsibus? target ? lun ? # SCSI autochangers 307ss* at scsibus? target ? lun ? # SCSI scanners 308uk* at scsibus? target ? lun ? # SCSI unknown 309 310 311# IDE and Related Devices 312# PCI IDE controllers (CMD tech's PCI0640, Intel's PIIx). 313#pciide* at pci ? dev ? function ? 314 315# ISA Plug-and-Play IDE controllers 316wdc* at isapnp? flags 0x0000 317 318# PCMCIA IDE controllers 319wdc* at pcmcia? function ? 320 321# ISA ST506, ESDI, and IDE controllers 322wdc0 at isa? port 0x1f0 irq 14 323wdc1 at isa? port 0x170 irq 15 324 325# IDE drives 326wd* at wdc? channel ? drive ? 327#wd* at pciide? channel ? drive ? 328 329# ATAPI bus support 330atapibus* at wdc? channel ? 331#atapibus* at pciide? channel ? 332 333# ATAPI devices 334cd* at atapibus? drive ? # ATAPI CD-ROM drives 335sd* at atapibus? drive ? # ATAPI disk drives 336 337 338# Miscellaneous mass storage devices 339 340# ISA floppy 341fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 342#fdc1 at isa? port 0x370 irq ? drq ? 343fd* at fdc? drive ? # the drives themselves 344# some machines need you to do this instead of fd* 345#fd0 at fdc0 drive 0 346 347# ISA CD-ROM devices 348#mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives 349 350# ISA tape devices 351# note: the wt driver conflicts unpleasantly with SMC boards at the 352# same I/O address. The probe reprograms their EEPROMs. Don't 353# uncomment it unless you are actually using it. 354#wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives 355 356 357# Network Interfaces 358 359# PCI network interfaces 360de* at pci? dev ? function ? # DEC 21x4x-based Ethernet 361en* at pci? dev ? function ? # ENI/Adaptec ATM 362ep* at pci? dev ? function ? # 3Com 3c59x/3c90x Ethernet 363epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 364esh* at pci? dev ? function ? # Essential HIPPI card 365fpa* at pci? dev ? function ? # DEC DEFPA FDDI 366fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 367le* at pci? dev ? function ? # PCnet-PCI Ethernet 368ne* at pci? dev ? function ? # NE2000-compatible Ethernet 369tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 370 371# EISA network interfaces 372ep* at eisa? slot ? # 3Com 3c579 Ethernet 373fea* at eisa? slot ? # DEC DEFEA FDDI 374 375# ISA Plug-and-Play network interfaces 376ep* at isapnp? # 3Com 3c509 Ethernet 377ne* at isapnp? # NE2000-compatible Ethernet 378 379# PCMCIA network interfaces 380ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 381mbe* at pcmcia? function ? # MB8696x based Ethernet 382ne* at pcmcia? function ? # NE2000-compatible Ethernet 383sm* at pcmcia? function ? # Megahertz Ethernet 384 385# ISA network interfaces 386ate0 at isa? port 0x2a0 irq ? # AT1700 387cs0 at isa? port 0x300 iomem ? irq ? drq ? # CS8900 Ethernet 388ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 389eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards 390el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards 391ep0 at isa? port ? irq ? # 3C509 ethernet cards 392ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3C507 393ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN 394fmv0 at isa? port 0x2a0 irq ? # FMV-180 series 395ix0 at isa? port 0x300 irq 10 # EtherExpress/16 396iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA 397lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC) 398#depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA 399#le* at depca? 400nele0 at isa? port 0x320 irq 9 drq 7 # NE2100 401le* at nele? 402bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan 403le* at bicc? 404ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 405ne1 at isa? port 0x300 irq 10 406sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet 407we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 408we1 at isa? port 0x300 iomem 0xcc000 irq 10 409 410# MII/PHY support 411inphy* at mii? phy ? # Intel 82555 PHYs 412nsphy* at mii? phy ? # NS83840 PHYs 413qsphy* at mii? phy ? # Quality Semiconductor QS6612 PHYs 414tlphy* at mii? phy ? # ThunderLAN PHYs 415 416# USB Controller and Devices 417 418# PCI USB controllers 419uhci* at pci? # Universal Host Controller (Intel) 420ohci* at pci? # Open Host Controller 421 422# USB bus support 423usb* at uhci? 424usb* at ohci? 425 426# USB Hubs 427uhub* at usb? 428uhub* at uhub? port ? 429 430# USB Mice 431ums* at uhub? port ? 432wsmouse* at ums? 433 434# USB Keyboards 435ukbd* at uhub? port ? 436wskbd* at ukbd? console ? 437 438# USB Generic HID devices 439uhid* at uhub? port ? 440 441# USB Printer 442ulpt* at uhub? port ? 443 444# USB Generic driver 445#ugen* at uhub? port ? 446 447# Audio Devices 448 449# PCI audio devices 450eap* at pci? dev ? function ? # Ensoniq AudioPCI 451 452# ISA Plug-and-Play audio devices 453ess* at isapnp? # ESS Tech ES1887, ES1888, ES888 audio 454guspnp* at isapnp? # Gravis Ultra Sound PnP audio 455sb* at isapnp? # SoundBlaster-compatible audio 456wss* at isapnp? # Windows Sound System 457ym* at isapnp? # Yamaha OPL3-SA3 audio 458 459# ISA audio devices 460aria0 at isa? port 0x290 irq 10 # Aria 461gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound 462pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum 463pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System 464sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver 465sb0 at isa? port 0x220 irq 5 drq 1 drq2 5 # SoundBlaster 466wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System 467 468# OPL[23] FM syntheziers 469#opl0 at isa? port 0x388 # use only if not attached to sound card 470opl* at ess? 471opl* at sb? 472 473# USB Audio devices 474#uaudio* at uhub? port ? 475 476# Audio support 477audio* at aria? 478audio* at eap? 479audio* at ess? 480audio* at gus? 481audio* at guspnp? 482audio* at pas? 483audio* at sb? 484audio* at sp? 485#audio* at uaudio? 486audio* at wss? 487audio* at ym? 488 489# MIDI support 490midi* at pcppi? # MIDI interface to the PC speaker 491midi* at sb? # SB MPU401 port 492midi* at opl? # OPL FM synth 493 494# The spkr driver provides a simple tone interface to the built in speaker. 495#spkr0 at pcppi? # PC speaker 496 497 498# Mice 499 500# ISA busmice 501lms0 at isa? port 0x23c irq 5 # Logitech bus mouse 502lms1 at isa? port 0x238 irq 5 503mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse 504mms1 at isa? port 0x238 irq 5 505#pms0 at pc? irq 12 # PS/2 auxiliary port mouse 506#pms0 at vt? irq 12 # PS/2 auxiliary port mouse 507 508 509# Joysticks 510 511# ISA Plug-and-Play joysticks 512joy* at isapnp? # Game ports (usually on audio cards) 513 514# ISA joysticks. Probe is a little strange; add only if you have one. 515#joy0 at isa? port 0x201 516 517 518# Miscellaneous Devices 519 520# Planetconnect Satellite receiver driver. 521#satlink0 at isa? port 0x300 drq 1 522 523 524# Pull in optional local configuration 525include "arch/i386/conf/GENERIC.local" 526 527 528# Pseudo-Devices 529 530# disk/mass storage pseudo-devices 531pseudo-device ccd 4 # concatenated/striped disk devices 532pseudo-device md 1 # memory disk device (ramdisk) 533pseudo-device vnd 4 # disk-like interface to files 534 535# network pseudo-devices 536pseudo-device bpfilter 8 # Berkeley packet filter 537pseudo-device ipfilter # IP filter (firewall) and NAT 538pseudo-device loop # network loopback 539pseudo-device ppp 2 # Point-to-Point Protocol 540pseudo-device sl 2 # Serial Line IP 541pseudo-device strip 2 # Starmode Radio IP (Metricom) 542pseudo-device tun 2 # network tunneling over tty 543pseudo-device gre 2 # generic L3 over IP tunnel 544 545# miscellaneous pseudo-devices 546pseudo-device pty 64 # pseudo-terminals 547pseudo-device tb 1 # tablet line discipline 548pseudo-device sequencer 1 # MIDI sequencer 549 550# rnd is EXPERIMENTAL at this point. 551#pseudo-device rnd # /dev/random and in-kernel generator 552#options RND_COM # use "com" randomness as well (BROKEN) 553 554# a pseudo device needed for Coda # also needs CODA (above) 555pseudo-device vcoda 4 # coda minicache <-> venus comm. 556