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