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