GENERIC_TINY revision 1.55
1# $NetBSD: GENERIC_TINY,v 1.55 2003/04/10 22:06:58 christos 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" 12 13maxusers 8 # estimated number of users 14 15# CPU support. At least one is REQUIRED. 16options I386_CPU 17options I486_CPU 18options I586_CPU 19options I686_CPU 20 21# CPU-related options. 22options MATH_EMULATE # floating point emulation 23#options VM86 # virtual 8086 emulation 24#options USER_LDT # user-settable LDT; used by WINE 25# insert delay no-ops in interrupts; recommended on very old machines 26options PIC_DELAY 27 28# Misc. i386-specific options 29#options XSERVER # X server support in console drivers 30 31# This option allows you to force a serial console at the specified 32# I/O address. see console(4) for details. 33#options CONSDEVNAME="\"com\"" 34 35# The following options override the memory sizes passed in from the boot 36# block. Use them *only* if the boot block is unable to determine the correct 37# values. Note that the BIOS may *correctly* report less than 640k of base 38# memory if the extended BIOS data area is located at the top of base memory 39# (as is the case on most recent systems). 40#options REALBASEMEM=... # size of base memory 41#options REALEXTMEM=... # size of extended memory 42 43# Save a physical page per process by not setting a kernel stack red zone. 44options NOREDZONE 45 46# Standard system options 47 48options INSECURE # disable kernel security levels - X needs this 49 50options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 51#options NTP # NTP phase/frequency locked loop 52 53#options KTRACE # system call tracing via ktrace(1) 54 55#options SYSVMSG # System V-like message queues 56#options SYSVSEM # System V-like semaphores 57#options SYSVSHM # System V-like memory sharing 58#options SHMMAXPGS=2048 # 2048 pages is the default 59 60options NMBCLUSTERS=256 61 62#options LKM # loadable kernel modules 63 64#options USERCONF # userconf(4) support 65options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 66 67# Diagnostic/debugging support options 68#options DIAGNOSTIC # expensive kernel consistency checks 69#options DEBUG # expensive debugging checks/support 70#options KMEMSTATS # kernel memory statistics (vmstat -m) 71#options DDB # in-kernel debugger 72#options DDB_ONPANIC=1 # see also sysctl(8): `ddb.onpanic' 73#options DDB_HISTORY_SIZE=512 # enable history editing in DDB 74#options KGDB # remote debugger 75#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 76#makeoptions DEBUG="-g" # compile full symbol table 77 78# Compatibility options 79#options COMPAT_NOMID # NetBSD 0.8, 386BSD, and BSDI 80#options COMPAT_09 # NetBSD 0.9 81#options COMPAT_10 # NetBSD 1.0 82#options COMPAT_11 # NetBSD 1.1 83options COMPAT_12 # NetBSD 1.2, 386BSD, and BSDI 84options COMPAT_13 # NetBSD 1.3, 386BSD, and BSDI 85options COMPAT_14 # NetBSD 1.4 86options COMPAT_15 # NetBSD 1.5 87options COMPAT_43 # 4.3BSD, 386BSD, and BSDI 88options COMPAT_386BSD_MBRPART # recognize old partition ID 89#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 90 91#options COMPAT_SVR4 # binary compatibility with SVR4 92#options COMPAT_IBCS2 # binary compatibility with SCO and ISC 93#options COMPAT_LINUX # binary compatibility with Linux 94#options COMPAT_FREEBSD # binary compatibility with FreeBSD 95 96# File systems 97file-system FFS # UFS 98#file-system EXT2FS # second extended file system (linux) 99#file-system LFS # log-structured file system 100#file-system MFS # memory file system 101file-system NFS # Network File System client 102file-system CD9660 # ISO 9660 + Rock Ridge file system 103file-system MSDOSFS # MS-DOS file system 104#file-system FDESC # /dev/fd 105file-system KERNFS # /kern 106#file-system NULLFS # loopback file system 107#file-system PORTAL # portal filesystem (still experimental) 108#file-system PROCFS # /proc 109#file-system UMAPFS # NULLFS + uid and gid remapping 110#file-system UNION # union file system 111 112# File system options 113#options QUOTA # UFS quotas 114#options FFS_EI # FFS Endian Independant support 115#options NFSSERVER # Network File System server 116#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 117 # immutable) behave as system flags. 118options VNODE_OP_NOINLINE # don't inline vnode op calls 119 120# Networking options 121#options GATEWAY # packet forwarding 122options INET # IP + ICMP + TCP + UDP 123#options MROUTING # IP multicast routing 124#options NS # XNS 125#options NSIP # XNS tunneling over IP 126#options ISO,TPIP # OSI 127#options EON # OSI tunneling over IP 128#options CCITT,LLC,HDLC # X.25 129#options NETATALK # AppleTalk networking protocols 130#options PPP_BSDCOMP # BSD-Compress compression support for PPP 131#options PPP_DEFLATE # Deflate compression support for PPP 132#options PPP_FILTER # Active filter support for PPP (requires bpf) 133#options PFIL_HOOKS # pfil(9) packet filter hooks 134#options IPFILTER_LOG # ipmon(8) log support 135#options IPFILTER_DEFAULT_BLOCK # block all packets by default 136#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 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# different kernel output - see dev/wscons/wsdisplayvar.h 161options WS_KERNEL_FG=WSCOL_GREEN 162#options WS_KERNEL_BG=WSCOL_BLACK 163# compatibility to other console drivers 164options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 165options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 166options WSDISPLAY_COMPAT_USL # VT handling 167options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 168# see dev/pckbc/wskbdmap_mfii.c for implemented layouts 169#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 170# allocate a number of virtual screens at autoconfiguration time 171#options WSDISPLAY_DEFAULTSCREENS=4 172# use a large software cursor that doesn't blink 173options PCDISPLAY_SOFTCURSOR 174 175# 176# Device configuration 177# 178 179mainbus0 at root 180 181cpu0 at mainbus0 182 183#apm0 at mainbus0 # Advanced power management 184 185 186# Basic Bus Support 187 188# PCI bus support 189#pci* at mainbus? bus ? 190#pci* at pchb? bus ? 191#pci* at ppb? bus ? 192 193# PCI bridges 194#pchb* at pci? dev ? function ? # PCI-Host bridges 195#pceb* at pci? dev ? function ? # PCI-EISA bridges 196#pcib* at pci? dev ? function ? # PCI-ISA bridges 197#ppb* at pci? dev ? function ? # PCI-PCI bridges 198# XXX 'puc's aren't really bridges, but there's no better place for them here 199#puc* at pci? dev ? function ? # PCI "universal" comm. cards 200 201# EISA bus support 202#eisa0 at mainbus? 203#eisa0 at pceb? 204 205# ISA bus support 206isa0 at mainbus? 207#isa0 at pceb? 208#isa0 at pcib? 209 210# PCMCIA bus support 211pcmcia* at pcic? controller ? socket ? 212 213# ISA PCMCIA controllers 214pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000 215pcic1 at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000 216 217# ISA Plug-and-Play bus support 218#isapnp0 at isa? 219 220# ISA Plug-and-Play PCMCIA controllers 221#pcic* at isapnp? 222 223# Coprocessor Support 224 225# Math Coprocessor support 226npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor 227 228# Console Devices 229 230# ISA console 231#pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver 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#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#options SIOP_SYMLED # drive the act. LED in software 296 297# EISA SCSI controllers 298#ahb* at eisa? slot ? # Adaptec 174[02] SCSI 299#ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI 300#bha* at eisa? slot ? # BusLogic 7xx SCSI 301#dpt* at eisa? slot ? # DPT SmartCache/SmartRAID 302#uha* at eisa? slot ? # UltraStor 24f SCSI 303 304# PCMCIA SCSI controllers 305#aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 306 307# ISA Plug-and-Play SCSI controllers 308#aic* at isapnp? # Adaptec AHA-1520B 309 310# ISA SCSI controllers 311#aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI 312#aha1 at isa? port 0x334 irq ? drq ? 313#ahc0 at isa? port ? irq ? # Adaptec 284x SCSI 314#aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI 315#bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI 316#bha1 at isa? port 0x334 irq ? drq ? 317#sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI 318#uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI 319#uha1 at isa? port 0x340 irq ? drq ? 320#wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers 321#wds1 at isa? port 0x358 irq 11 drq 5 322 323# SCSI bus support 324#scsibus* at scsi? 325 326# SCSI devices 327#sd* at scsibus? target ? lun ? # SCSI disk drives 328#st* at scsibus? target ? lun ? # SCSI tape drives 329#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 330#ch* at scsibus? target ? lun ? # SCSI autochangers 331#ss* at scsibus? target ? lun ? # SCSI scanners 332#uk* at scsibus? target ? lun ? # SCSI unknown 333 334 335# IDE and related devices 336 337# ISA Plug-and-Play IDE controllers 338#wdc* at isapnp? 339 340# PCMCIA IDE controllers 341wdc* at pcmcia? function ? 342 343# ISA IDE controllers 344wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers 345wdc1 at isa? port 0x170 irq 15 346 347# IDE drives 348wd* at wdc? drive ? # the drives themselves 349 350# ATAPI bus support 351atapibus* at atapi? 352 353# ATAPI devices 354cd* at atapibus? drive ? # ATAPI CD-ROM drives 355sd* at atapibus? drive ? # ATAPI disk drives 356 357 358# Miscellaneous mass storage devices 359 360# ISA floppy 361fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 362#fdc1 at isa? port 0x370 irq ? drq ? 363fd* at fdc? drive ? # the drives themselves 364# some machines need you to do this instead of fd* 365#fd0 at fdc0 drive 0 366 367# ISA CD-ROM devices 368#mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives 369 370# ISA tape devices 371# note: the wt driver conflicts unpleasantly with SMC boards at the 372# same I/O address. The probe reprograms their EEPROMs. Don't 373# uncomment it unless you are actually using it. 374#wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives 375 376 377# Network Interfaces 378 379# PCI network interfaces 380#en* at pci? dev ? function ? # ENI/Adaptec ATM 381#ep* at pci? dev ? function ? # 3Com 3c59x/3c90x Ethernet 382#epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 383#esh* at pci? dev ? function ? # Essential HIPPI card 384#fpa* at pci? dev ? function ? # DEC DEFPA FDDI 385#fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 386#le* at pci? dev ? function ? # PCnet-PCI Ethernet 387#ne* at pci? dev ? function ? # NE2000-compatible Ethernet 388#tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 389#tlp* at pci? dev ? function ? # DECchip 21x4x and clones 390 391# EISA network interfaces 392#ep* at eisa? slot ? # 3Com 3c579 Ethernet 393#fea* at eisa? slot ? # DEC DEFEA FDDI 394 395# ISA Plug-and-Play network interfaces 396#ep* at isapnp? # 3Com 3c509 Ethernet 397#ne* at isapnp? # NE2000-compatible Ethernet 398 399# PCMCIA network interfaces 400ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 401mbe* at pcmcia? function ? # MB8696x based Ethernet 402ne* at pcmcia? function ? # NE2000-compatible Ethernet 403sm* at pcmcia? function ? # Megahertz Ethernet 404 405# ISA network interfaces 406ate0 at isa? port 0x2a0 irq ? # AT1700 407ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 408eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards 409el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards 410ep0 at isa? port ? irq ? # 3C509 ethernet cards 411ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3C507 412ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN 413fmv0 at isa? port 0x2a0 irq ? # FMV-180 series 414ix0 at isa? port 0x300 irq 10 # EtherExpress/16 415iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA 416lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC) 417#depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA 418#le* at depca? 419nele0 at isa? port 0x320 irq 9 drq 7 # NE2100 420le* at nele? 421bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan 422le* at bicc? 423ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 424ne1 at isa? port 0x300 irq 10 425sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet 426we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 427we1 at isa? port 0x300 iomem 0xcc000 irq 10 428 429# MII bus support 430#mii* at tl? 431 432# MII PHY network interfaces 433#tlphy* at mii? dev ? # ThunderLAN PHYs 434#nsphy* at mii? dev ? # NS and compatible PHYs 435#ukphy* at mii? phy ? # generic unknown PHYs 436 437 438# USB Controller and Devices 439 440# PCI USB controllers 441#uhci* at pci? # Universal Host Controller (Intel) 442#ohci* at pci? # Open Host Controller 443 444# USB bus support 445#usb* at uhci? 446#usb* at ohci? 447 448# USB Hubs 449#uhub* at usb? 450#uhub* at uhub? port ? 451 452# USB Mice 453#ums* at uhub? port ? 454 455# USB Keyboards 456#ukbd* at uhub? port ? 457 458# USB Generic HID devices 459#uhid* at uhub? port ? 460 461# USB Printer 462#ulpt* at uhub? port ? 463 464# USB Mass Storage 465#umass* at uhub? port ? configuration ? interface ? 466 467# USB Ethernet adapters 468#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 469#cue* at uhub? port ? # CATC USB-EL1201A based adapters 470#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 471#uax* at uhub? port ? # ASIX AX88172 based adapters 472#url* at uhub? port ? # Realtek RTL8150L based adapters 473 474# Y@P firmware loader 475#uyap* at uhub? port ? 476 477# USB Generic driver 478#ugen* at uhub? port ? 479 480# Audio Devices 481 482# PCI audio devices 483#eap* at pci? dev ? function ? # Ensoniq AudioPCI 484 485# ISA Plug-and-Play audio devices 486#guspnp* at isapnp? # Gravis Ultra Sound PnP audio 487#sb* at isapnp? # SoundBlaster-compatible audio 488#ym* at isapnp? # Yamaha OPL3-SA3 audio 489 490# ISA audio devices 491#aria0 at isa? port 0x290 irq 10 # Aria 492#gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound 493#pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum 494#pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System 495#sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver 496#sb0 at isa? port 0x220 irq 5 drq 1 drq2 5 # SoundBlaster 497#wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System 498 499# Audio support 500#audio* at audiobus? 501 502# The spkr driver provides a simple tone interface to the built in speaker. 503#spkr0 at pcppi? # PC speaker 504 505 506# Mice 507 508# ISA busmice 509#olms0 at isa? port 0x23c irq 5 # Logitech bus mouse 510#olms1 at isa? port 0x238 irq 5 511#omms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse 512#omms1 at isa? port 0x238 irq 5 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 531include "arch/i386/conf/GENERIC.local" 532 533 534# Pseudo-Devices 535 536# disk/mass storage pseudo-devices 537#pseudo-device ccd 4 # concatenated/striped disk devices 538#pseudo-device md 1 # memory disk device (ramdisk) 539pseudo-device vnd 4 # disk-like interface to files 540 541# network pseudo-devices 542pseudo-device bpfilter 8 # 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 2 # Point-to-Point Protocol 547pseudo-device pppoe # PPP over Ethernet (RFC 2516) 548#pseudo-device sl 2 # Serial Line IP 549#pseudo-device strip 2 # Starmode Radio IP (Metricom) 550pseudo-device tun 2 # network tunneling over tty 551 552# miscellaneous pseudo-devices 553pseudo-device pty # pseudo-terminals 554#pseudo-device tb 1 # tablet line discipline 555pseudo-device rnd # /dev/random and in-kernel generator 556#options RND_COM # use "com" randomness as well (BROKEN) 557pseudo-device clockctl # user control of clock subsystem 558