GENERIC revision 1.123
1# $NetBSD: GENERIC,v 1.123 1997/11/17 03:39:42 thorpej 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 26# This option allows you to force a serial console at the specified 27# I/O address. see console(4) for details. 28#options "CONSDEVNAME=\"com\"" 29 30# The following options override the memory sizes passed in from the boot 31# block. Use them *only* if the boot block is unable to determine the correct 32# values. Note that the BIOS may *correctly* report less than 640k of base 33# memory if the extended BIOS data area is located at the top of base memory 34# (as is the case on most recent systems). 35#options REALBASEMEM=... # size of base memory 36#options REALEXTMEM=... # size of extended memory 37 38# Standard system options 39 40options UCONSOLE # users can use TIOCCONS (for xconsole) 41options INSECURE # disable kernel security levels 42 43options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 44#options NTP # NTP phase/frequency locked loop 45 46options KTRACE # system call tracing via ktrace(1) 47 48options SYSVMSG # System V-like message queues 49options SYSVSEM # System V-like semaphores 50options SYSVSHM # System V-like memory sharing 51#options SHMMAXPGS=1024 # 1024 pages is the default 52 53options LKM # loadable kernel modules 54 55# Diagnostic/debugging support options 56options DIAGNOSTIC # cheap kernel consistency checks 57#options DEBUG # expensive debugging checks/support 58options KMEMSTATS # kernel memory statistics (vmstat -m) 59options DDB # in-kernel debugger 60#options DDB_HISTORY_SIZE=100 # enable history editing in DDB 61#options KGDB # remote debugger 62#options "KGDB_DEVNAME=\"com\"",KGDBADDR=0x3f8,KGDBRATE=9600 63#makeoptions DEBUG="-g" # compile full symbol table 64 65# Compatibility options 66options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8, 67options COMPAT_09 # NetBSD 0.9, 68options COMPAT_10 # NetBSD 1.0, 69options COMPAT_11 # NetBSD 1.1, 70options COMPAT_12 # NetBSD 1.2, 71options COMPAT_43 # and 4.3BSD 72 73options COMPAT_SVR4 # binary compatibility with SVR4 74options COMPAT_IBCS2 # binary compatibility with SCO and ISC 75options COMPAT_LINUX # binary compatibility with Linux 76options COMPAT_FREEBSD # binary compatibility with FreeBSD 77 78# Executable format options 79options EXEC_ELF32 # 32-bit ELF executables (SVR4, Linux) 80 81# File systems 82file-system FFS # UFS 83file-system EXT2FS # second extended file system (linux) 84file-system LFS # log-structured file system 85file-system MFS # memory file system 86file-system NFS # Network File System client 87file-system CD9660 # ISO 9660 + Rock Ridge file system 88file-system MSDOSFS # MS-DOS file system 89file-system FDESC # /dev/fd 90file-system KERNFS # /kern 91file-system NULLFS # loopback file system 92file-system PORTAL # portal filesystem (still experimental) 93file-system PROCFS # /proc 94file-system UMAPFS # NULLFS + uid and gid remapping 95file-system UNION # union file system 96 97# File system options 98options QUOTA # UFS quotas 99options NFSSERVER # Network File System server 100options FIFO # FIFOs; RECOMMENDED 101#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 102 # immutable) behave as system flags. 103 104# Networking options 105#options GATEWAY # packet forwarding 106options INET # IP + ICMP + TCP + UDP 107#options MROUTING # IP multicast routing 108options NS # XNS 109#options NSIP # XNS tunneling over IP 110options ISO,TPIP # OSI 111options EON # OSI tunneling over IP 112options CCITT,LLC,HDLC # X.25 113options NETATALK # AppleTalk networking protocols 114#options PPP_BSDCOMP # BSD-Compress compression support for PPP 115#options PPP_DEFLATE # Deflate compression support for PPP 116#options PPP_FILTER # Active filter support for PPP (requires bpf) 117#options PFIL_HOOKS # pfil(9) packet filter hooks 118 119# Compatibility with 4.2BSD implementation of TCP/IP. Not recommended. 120#options TCP_COMPAT_42 121 122# These options enable verbose messages for several subsystems. 123# Warning, these may compile large string tables into the kernel! 124options EISAVERBOSE # verbose EISA device autoconfig messages 125options PCIVERBOSE # verbose PCI device autoconfig messages 126#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 127options SCSIVERBOSE # human readable SCSI error messages 128 129# Kernel root file system and dump configuration. 130config netbsd root on ? type ? 131#config netbsd root on sd0a type ffs 132#config netbsd root on ? type nfs 133 134# 135# Device configuration 136# 137 138mainbus0 at root 139 140#apm0 at mainbus0 # Advanced power management 141 142 143# Basic Bus Support 144 145# PCI bus support 146pci* at mainbus? bus ? 147pci* at pchb? bus ? 148pci* at ppb? bus ? 149 150# PCI bridges 151pchb* at pci? dev ? function ? # PCI-Host bridges 152pcib* at pci? dev ? function ? # PCI-ISA bridges 153ppb* at pci? dev ? function ? # PCI-PCI bridges 154 155# EISA bus support 156eisa* at mainbus? 157 158# ISA bus support 159isa* at mainbus? 160isa* at pcib? 161 162# PCMCIA bus support 163pcmcia* at pcic? controller ? socket ? 164 165# ISA PCMCIA controllers 166pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000 167pcic1 at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000 168 169# ISA Plug-and-Play bus support 170isapnp0 at isa? 171 172 173# Coprocessor Support 174 175# Math Coprocessor support 176npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor 177 178 179# Console Devices 180 181# ISA console. You can only configure one of these! 182pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver 183#vt0 at isa? port 0x60 irq 1 # PCVT console driver 184 185 186# Serial Devices 187 188# PCI serial interfaces 189cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards 190 191# ISA Plug-and-Play serial interfaces 192com* at isapnp? # Modems and serial boards 193 194# PCMCIA serial interfaces 195com* at pcmcia? function ? # Modems and serial cards 196 197# ISA serial interfaces 198#options COM_HAYESP # adds Hayes ESP serial board support 199com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports 200com1 at isa? port 0x2f8 irq 3 201com2 at isa? port 0x3e8 irq 5 202#com3 at isa? port 0x2e8 irq 9 203#ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards 204#com* at ast? slave ? 205#boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards 206#com* at boca? slave ? 207#rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards 208#com* at rtfps? slave ? 209#cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards 210 211 212# Parallel Printer Interfaces 213 214# ISA parallel printer interfaces 215lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports 216lpt1 at isa? port 0x278 217lpt2 at isa? port 0x3bc 218 219 220# SCSI Controllers and Devices 221 222# PCI SCSI controllers 223ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 224bha* at pci? dev ? function ? # BusLogic 9xx SCSI 225isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel 226ncr* at pci? dev ? function ? # NCR 53c8xx SCSI 227 228# EISA SCSI controllers 229ahb* at eisa? slot ? # Adaptec 174[02] SCSI 230ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI 231bha* at eisa? slot ? # BusLogic 7xx SCSI 232uha* at eisa? slot ? # UltraStor 24f SCSI 233 234# PCMCIA SCSI controllers 235aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 236 237# ISA SCSI controllers 238aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI 239aha1 at isa? port 0x334 irq ? drq ? 240ahc0 at isa? port ? irq ? # Adaptec 284x SCSI 241aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI 242bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI 243bha1 at isa? port 0x334 irq ? drq ? 244sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI 245uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI 246uha1 at isa? port 0x334 irq ? drq ? 247wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers 248wds1 at isa? port 0x358 irq 11 drq 5 249 250# SCSI bus support 251scsibus* at aha? 252scsibus* at ahb? 253scsibus* at ahc? 254scsibus* at aic? 255scsibus* at bha? 256scsibus* at isp? 257scsibus* at ncr? 258scsibus* at sea? 259scsibus* at uha? 260scsibus* at wds? 261 262# SCSI devices 263sd* at scsibus? target ? lun ? # SCSI disk drives 264st* at scsibus? target ? lun ? # SCSI tape drives 265cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 266ch* at scsibus? target ? lun ? # SCSI autochangers 267ss* at scsibus? target ? lun ? # SCSI scanners 268uk* at scsibus? target ? lun ? # SCSI unknown 269 270 271# IDE and Related Devices 272 273# ISA IDE controllers 274wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers 275wdc1 at isa? port 0x170 irq 15 276 277# IDE drives 278wd* at wdc? drive ? # the drives themselves 279 280# ATAPI bus support 281atapibus* at wdc? 282 283# ATAPI devices 284cd* at atapibus? drive ? # ATAPI CD-ROM drives 285 286 287# Miscellaneous mass storage devices 288 289# ISA floppy 290fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 291#fdc1 at isa? port 0x370 irq ? drq ? 292fd* at fdc? drive ? # the drives themselves 293# some machines need you to do this instead of fd* 294#fd0 at fdc0 drive 0 295 296# ISA CD-ROM devices 297#mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives 298 299# ISA tape devices 300# note: the wt driver conflicts unpleasantly with ed devices at the 301# same I/O address. The probe reprograms their EEPROMs. Don't 302# uncomment it unless you are actually using it. 303#wt0 at isa? port 0x300 irq 5 drq 1 # Archive and Wangtek QIC tape drives 304 305 306# Network Interfaces 307 308# PCI network interfaces 309de* at pci? dev ? function ? # DEC 21x4x-based Ethernet 310en* at pci? dev ? function ? # ENI/Adaptec ATM 311ep* at pci? dev ? function ? # 3Com 3c59x/3c90x Ethernet 312fpa* at pci? dev ? function ? # DEC DEFPA FDDI 313fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 314le* at pci? dev ? function ? # PCnet-PCI Ethernet 315ne* at pci? dev ? function ? # NE2000-compatible Ethernet 316tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 317 318# EISA network interfaces 319ep* at eisa? slot ? # 3Com 3c579 Ethernet 320fea* at eisa? slot ? # DEC DEFEA FDDI 321 322# ISA Plug-and-Play network interfaces 323ep* at isapnp? # 3Com 3c509 Ethernet 324ne* at isapnp? # NE2000-compatible Ethernet 325 326# PCMCIA network interfaces 327ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 328ne* at pcmcia? function ? # NE2000-compatible Ethernet 329sm* at pcmcia? function ? # Megahertz Ethernet 330 331# ISA network interfaces 332ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 333eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards 334el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards 335ep0 at isa? port ? irq ? # 3C509 ethernet cards 336fe0 at isa? port 0x2a0 irq ? # AT1700 337ie0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN and 3C507 338ie1 at isa? port 0x300 irq 10 # EtherExpress 339iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA 340lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC) 341#le0 at isa? port 0x320 irq 10 drq 7 # IsoLan, NE2100, and DEPCA 342ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 343ne1 at isa? port 0x300 irq 10 344sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet 345we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 346we1 at isa? port 0x300 iomem 0xcc000 irq 10 347 348# MII bus support 349mii* at tl? 350 351# MII PHY network interfaces 352tlphy* at mii? dev ? # ThunderLAN PHYs 353nsphy* at mii? dev ? # NS and compatible PHYs 354 355 356# Audio Devices 357 358# ISA Plug-and-Play audio devices 359guspnp* at isapnp? # Gravis Ultra Sound PnP audio 360sb* at isapnp? # SoundBlaster-compatible audio 361 362# ISA audio devices 363gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound 364pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum 365pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System 366sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver 367sb0 at isa? port 0x220 irq 7 drq 1 drq2 5 # SoundBlaster 368wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System 369 370# Audio support 371audio* at gus? 372audio* at guspnp? 373audio* at pas? 374audio* at sb? 375audio* at sp? 376audio* at wss? 377 378# The spkr driver provides a simple tone interface to the built in speaker. 379#spkr0 at pckbd? port 0x61 # PC speaker 380 381 382# Mice 383 384# ISA busmice 385lms0 at isa? port 0x23c irq 5 # Logitech bus mouse 386lms1 at isa? port 0x238 irq 5 387mms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse 388mms1 at isa? port 0x238 irq 5 389#pms0 at pckbd? irq 12 # PS/2 auxiliary port mouse 390 391 392# Joysticks 393 394# ISA Plug-and-Play joysticks 395joy* at isapnp? # Game ports (usually on audio cards) 396 397# ISA joysticks. Probe is a little strange; add only if you have one. 398#joy0 at isa? port 0x201 399 400 401# Miscellaneous Devices 402 403# Planetconnect Satellite receiver driver. 404#satlink0 at isa? port 0x300 drq 1 405 406 407# Pull in optional local configuration 408include "arch/i386/conf/GENERIC.local" 409 410 411# Pseudo-Devices 412 413# disk/mass storage pseudo-devices 414pseudo-device ccd 4 # concatenated/striped disk devices 415pseudo-device md 1 # memory disk device (ramdisk) 416pseudo-device vnd 4 # disk-like interface to files 417 418# network pseudo-devices 419pseudo-device bpfilter 8 # Berkeley packet filter 420pseudo-device ipfilter # IP filter (firewall) and NAT 421pseudo-device loop # network loopback 422pseudo-device ppp 2 # Point-to-Point Protocol 423pseudo-device sl 2 # Serial Line IP 424pseudo-device strip 2 # Starmode Radio IP (Metricom) 425pseudo-device tun 2 # network tunneling over tty 426 427# miscellaneous pseudo-devices 428pseudo-device pty 64 # pseudo-terminals 429pseudo-device tb 1 # tablet line discipline 430 431# rnd is EXPERIMENTAL at this point. 432#pseudo-device rnd # /dev/random and in-kernel generator 433#options RND_COM # use "com" randomness as well (BROKEN) 434