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