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