GENERIC_TINY revision 1.34
1# $NetBSD: GENERIC_TINY,v 1.34 2002/01/27 13:23:17 jdolecek 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 9makeoptions COPTS="-Os" 10 11maxusers 8 # estimated number of users 12 13# CPU support. At least one is REQUIRED. 14options I386_CPU 15options I486_CPU 16options I586_CPU 17options I686_CPU 18 19# CPU-related options. 20options MATH_EMULATE # floating point emulation 21#options VM86 # virtual 8086 emulation 22#options USER_LDT # user-settable LDT; used by WINE 23# eliminate delay no-ops in I/O; recommended on all but very old machines 24#options DUMMY_NOPS 25 26# Misc. i386-specific options 27#options XSERVER # X server support in console drivers 28 29# This option allows you to force a serial console at the specified 30# I/O address. see console(4) for details. 31#options CONSDEVNAME="\"com\"" 32 33# The following options override the memory sizes passed in from the boot 34# block. Use them *only* if the boot block is unable to determine the correct 35# values. Note that the BIOS may *correctly* report less than 640k of base 36# memory if the extended BIOS data area is located at the top of base memory 37# (as is the case on most recent systems). 38#options REALBASEMEM=... # size of base memory 39#options REALEXTMEM=... # size of extended memory 40 41# Standard system options 42 43#options UCONSOLE # users can use TIOCCONS (for xconsole) 44options INSECURE # disable kernel security levels 45 46options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 47#options NTP # NTP phase/frequency locked loop 48 49#options KTRACE # system call tracing via ktrace(1) 50 51#options SYSVMSG # System V-like message queues 52#options SYSVSEM # System V-like semaphores 53#options SYSVSHM # System V-like memory sharing 54#options SHMMAXPGS=1024 # 1024 pages is the default 55 56options NMBCLUSTERS=256 57 58#options LKM # loadable kernel modules 59 60options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 61 62# Diagnostic/debugging support options 63#options DIAGNOSTIC # expensive kernel consistency checks 64#options DEBUG # expensive debugging checks/support 65#options KMEMSTATS # kernel memory statistics (vmstat -m) 66#options DDB # in-kernel debugger 67#options DDB_HISTORY_SIZE=512 # enable history editing in DDB 68#options KGDB # remote debugger 69#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 70#makeoptions DEBUG="-g" # compile full symbol table 71 72# Compatibility options 73#options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8, 74#options COMPAT_09 # NetBSD 0.9, 75#options COMPAT_10 # NetBSD 1.0, 76#options COMPAT_11 # NetBSD 1.1, 77options COMPAT_12 # NetBSD 1.2, 78options COMPAT_13 # NetBSD 1.3, 79options COMPAT_14 # NetBSD 1.4, 80#options COMPAT_43 # and 4.3BSD 81options COMPAT_386BSD_MBRPART # recognize old partition ID 82#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 83 84#options COMPAT_SVR4 # binary compatibility with SVR4 85#options COMPAT_IBCS2 # binary compatibility with SCO and ISC 86#options COMPAT_LINUX # binary compatibility with Linux 87#options COMPAT_FREEBSD # binary compatibility with FreeBSD 88 89# File systems 90file-system FFS # UFS 91#file-system EXT2FS # second extended file system (linux) 92#file-system LFS # log-structured file system 93#file-system MFS # memory file system 94file-system NFS # Network File System client 95file-system CD9660 # ISO 9660 + Rock Ridge file system 96file-system MSDOSFS # MS-DOS file system 97#file-system FDESC # /dev/fd 98file-system KERNFS # /kern 99#file-system NULLFS # loopback file system 100#file-system PORTAL # portal filesystem (still experimental) 101#file-system PROCFS # /proc 102#file-system UMAPFS # NULLFS + uid and gid remapping 103#file-system UNION # union file system 104 105# File system options 106#options QUOTA # UFS quotas 107#options FFS_EI # FFS Endian Independant support 108#options NFSSERVER # Network File System server 109#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 110 # immutable) behave as system flags. 111options VNODE_OP_NOINLINE # don't inline vnode op calls 112 113# Networking options 114#options GATEWAY # packet forwarding 115options INET # IP + ICMP + TCP + UDP 116#options MROUTING # IP multicast routing 117#options NS # XNS 118#options NSIP # XNS tunneling over IP 119#options ISO,TPIP # OSI 120#options EON # OSI tunneling over IP 121#options CCITT,LLC,HDLC # X.25 122#options NETATALK # AppleTalk networking protocols 123#options PPP_BSDCOMP # BSD-Compress compression support for PPP 124#options PPP_DEFLATE # Deflate compression support for PPP 125#options PPP_FILTER # Active filter support for PPP (requires bpf) 126#options PFIL_HOOKS # pfil(9) packet filter hooks 127#options IPFILTER_LOG # ipmon(8) log support 128#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 129 130# These options enable verbose messages for several subsystems. 131# Warning, these may compile large string tables into the kernel! 132#options EISAVERBOSE # verbose EISA device autoconfig messages 133#options PCIVERBOSE # verbose PCI device autoconfig messages 134#options PCI_CONFIG_DUMP # verbosely dump PCI config space 135#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 136#options SCSIVERBOSE # human readable SCSI error messages 137#options USBVERBOSE # verbose USB device autoconfig messages 138 139#options NFS_BOOT_BOOTP,NFS_BOOT_BOOTPARAM 140 141# Kernel root file system and dump configuration. 142config netbsd root on ? type ? 143#config netbsd root on sd0a type ffs 144#config netbsd root on ? type nfs 145 146# 147# wscons options 148# 149# builtin terminal emulations 150#options WSEMUL_SUN # sun terminal emulation 151options WSEMUL_VT100 # VT100 / VT220 emulation 152# different kernel output - see dev/wscons/wsdisplayvar.h 153options WS_KERNEL_FG=WSCOL_GREEN 154#options WS_KERNEL_BG=WSCOL_BLACK 155# compatibility to other console drivers 156options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 157options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 158options WSDISPLAY_COMPAT_USL # VT handling 159options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 160# see dev/pckbc/wskbdmap_mfii.c for implemented layouts 161#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 162# allocate a number of virtual screens at autoconfiguration time 163#options WSDISPLAY_DEFAULTSCREENS=4 164# use a large software cursor that doesn't blink 165options PCDISPLAY_SOFTCURSOR 166 167# 168# Device configuration 169# 170 171mainbus0 at root 172 173#apm0 at mainbus0 # Advanced power management 174 175 176# Basic Bus Support 177 178# PCI bus support 179#pci* at mainbus? bus ? 180#pci* at pchb? bus ? 181#pci* at ppb? bus ? 182 183# PCI bridges 184#pchb* at pci? dev ? function ? # PCI-Host bridges 185#pceb* at pci? dev ? function ? # PCI-EISA bridges 186#pcib* at pci? dev ? function ? # PCI-ISA bridges 187#ppb* at pci? dev ? function ? # PCI-PCI bridges 188# XXX 'puc's aren't really bridges, but there's no better place for them here 189#puc* at pci? dev ? function ? # PCI "universal" comm. cards 190 191# EISA bus support 192#eisa0 at mainbus? 193#eisa0 at pceb? 194 195# ISA bus support 196isa0 at mainbus? 197#isa0 at pceb? 198#isa0 at pcib? 199 200# PCMCIA bus support 201pcmcia* at pcic? controller ? socket ? 202 203# ISA PCMCIA controllers 204pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000 205pcic1 at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000 206 207# ISA Plug-and-Play bus support 208#isapnp0 at isa? 209 210# ISA Plug-and-Play PCMCIA controllers 211#pcic* at isapnp? 212 213# Coprocessor Support 214 215# Math Coprocessor support 216npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor 217 218# Console Devices 219 220# ISA console 221#pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver 222 223# wscons 224pckbc0 at isa? # pc keyboard controller 225pckbd* at pckbc? # PC keyboard 226# "opms" should not be enabled together with "pms" or "pmsi" 227#pms* at pckbc? # PS/2 mouse for wsmouse 228#pmsi* at pckbc? # PS/2 "Intelli"mouse for wsmouse 229#opms* at pckbc? # backwards compatible PS/2 mouse 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#wsmouse* at pmsi? 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 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#de* at pci? dev ? function ? # DEC 21x4x-based Ethernet 384#en* at pci? dev ? function ? # ENI/Adaptec ATM 385#ep* at pci? dev ? function ? # 3Com 3c59x/3c90x Ethernet 386#epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 387#esh* at pci? dev ? function ? # Essential HIPPI card 388#fpa* at pci? dev ? function ? # DEC DEFPA FDDI 389#fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 390#le* at pci? dev ? function ? # PCnet-PCI Ethernet 391#ne* at pci? dev ? function ? # NE2000-compatible Ethernet 392#tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 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 439 440# USB Controller and Devices 441 442# PCI USB controllers 443#uhci* at pci? # Universal Host Controller (Intel) 444#ohci* at pci? # Open Host Controller 445 446# USB bus support 447#usb* at uhci? 448#usb* at ohci? 449 450# USB Hubs 451#uhub* at usb? 452#uhub* at uhub? port ? 453 454# USB Mice 455#ums* at uhub? port ? 456 457# USB Keyboards 458#ukbd* at uhub? port ? 459 460# USB Generic HID devices 461#uhid* at uhub? port ? 462 463# USB Printer 464#ulpt* at uhub? port ? 465 466# USB Mass Storage 467#umass* at uhub? port ? configuration ? interface ? 468#atapibus* at umass? channel ? 469#scsibus* at umass? channel ? 470 471# USB Ethernet adapters 472#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 473#cue* at uhub? port ? # CATC USB-EL1201A based adapters 474#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 475 476# Y@P firmware loader 477#uyap* at uhub? port ? 478 479# USB Generic driver 480#ugen* at uhub? port ? 481 482# Audio Devices 483 484# PCI audio devices 485#eap* at pci? dev ? function ? # Ensoniq AudioPCI 486 487# ISA Plug-and-Play audio devices 488#guspnp* at isapnp? # Gravis Ultra Sound PnP audio 489#sb* at isapnp? # SoundBlaster-compatible audio 490#ym* at isapnp? # Yamaha OPL3-SA3 audio 491 492# ISA audio devices 493#aria0 at isa? port 0x290 irq 10 # Aria 494#gus0 at isa? port 0x220 irq 7 drq 1 drq2 6 # Gravis Ultra Sound 495#pas0 at isa? port 0x220 irq 7 drq 1 # ProAudio Spectrum 496#pss0 at isa? port 0x220 irq 7 drq 6 # Personal Sound System 497#sp0 at pss0 port 0x530 irq 10 drq 0 # sound port driver 498#sb0 at isa? port 0x220 irq 5 drq 1 drq2 5 # SoundBlaster 499#wss0 at isa? port 0x530 irq 10 drq 0 drq2 1 # Windows Sound System 500 501# Audio support 502#audio* at aria? 503#audio* at eap? 504#audio* at gus? 505#audio* at guspnp? 506#audio* at pas? 507#audio* at sb? 508#audio* at sp? 509#audio* at wss? 510#audio* at ym? 511 512# The spkr driver provides a simple tone interface to the built in speaker. 513#spkr0 at pcppi? # PC speaker 514 515 516# Mice 517 518# ISA busmice 519#olms0 at isa? port 0x23c irq 5 # Logitech bus mouse 520#olms1 at isa? port 0x238 irq 5 521#omms0 at isa? port 0x23c irq 5 # Microsoft InPort mouse 522#omms1 at isa? port 0x238 irq 5 523#opms0 at pc? irq 12 # PS/2 auxiliary port mouse 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