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