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