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