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