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