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