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