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