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