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