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