GENERIC_TINY revision 1.35
1# $NetBSD: GENERIC_TINY,v 1.35 2002/04/12 08:11:02 gmcgarry 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 60#options USERCONF # userconf(4) support 61options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 62 63# Diagnostic/debugging support options 64#options DIAGNOSTIC # expensive kernel consistency checks 65#options DEBUG # expensive debugging checks/support 66#options KMEMSTATS # kernel memory statistics (vmstat -m) 67#options DDB # in-kernel debugger 68#options DDB_HISTORY_SIZE=512 # enable history editing in DDB 69#options KGDB # remote debugger 70#options KGDB_DEVNAME="\"com\"",KGDB_DEVADDR=0x3f8,KGDB_DEVRATE=9600 71#makeoptions DEBUG="-g" # compile full symbol table 72 73# Compatibility options 74#options COMPAT_NOMID # compatibility with 386BSD, BSDI, NetBSD 0.8, 75#options COMPAT_09 # NetBSD 0.9, 76#options COMPAT_10 # NetBSD 1.0, 77#options COMPAT_11 # NetBSD 1.1, 78options COMPAT_12 # NetBSD 1.2, 79options COMPAT_13 # NetBSD 1.3, 80options COMPAT_14 # NetBSD 1.4, 81#options COMPAT_43 # and 4.3BSD 82options COMPAT_386BSD_MBRPART # recognize old partition ID 83#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 84 85#options COMPAT_SVR4 # binary compatibility with SVR4 86#options COMPAT_IBCS2 # binary compatibility with SCO and ISC 87#options COMPAT_LINUX # binary compatibility with Linux 88#options COMPAT_FREEBSD # binary compatibility with FreeBSD 89 90# File systems 91file-system FFS # UFS 92#file-system EXT2FS # second extended file system (linux) 93#file-system LFS # log-structured file system 94#file-system MFS # memory file system 95file-system NFS # Network File System client 96file-system CD9660 # ISO 9660 + Rock Ridge file system 97file-system MSDOSFS # MS-DOS file system 98#file-system FDESC # /dev/fd 99file-system KERNFS # /kern 100#file-system NULLFS # loopback file system 101#file-system PORTAL # portal filesystem (still experimental) 102#file-system PROCFS # /proc 103#file-system UMAPFS # NULLFS + uid and gid remapping 104#file-system UNION # union file system 105 106# File system options 107#options QUOTA # UFS quotas 108#options FFS_EI # FFS Endian Independant support 109#options NFSSERVER # Network File System server 110#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 111 # immutable) behave as system flags. 112options VNODE_OP_NOINLINE # don't inline vnode op calls 113 114# Networking options 115#options GATEWAY # packet forwarding 116options INET # IP + ICMP + TCP + UDP 117#options MROUTING # IP multicast routing 118#options NS # XNS 119#options NSIP # XNS tunneling over IP 120#options ISO,TPIP # OSI 121#options EON # OSI tunneling over IP 122#options CCITT,LLC,HDLC # X.25 123#options NETATALK # AppleTalk networking protocols 124#options PPP_BSDCOMP # BSD-Compress compression support for PPP 125#options PPP_DEFLATE # Deflate compression support for PPP 126#options PPP_FILTER # Active filter support for PPP (requires bpf) 127#options PFIL_HOOKS # pfil(9) packet filter hooks 128#options IPFILTER_LOG # ipmon(8) log support 129#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 130 131# These options enable verbose messages for several subsystems. 132# Warning, these may compile large string tables into the kernel! 133#options EISAVERBOSE # verbose EISA device autoconfig messages 134#options PCIVERBOSE # verbose PCI device autoconfig messages 135#options PCI_CONFIG_DUMP # verbosely dump PCI config space 136#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 137#options SCSIVERBOSE # human readable SCSI error messages 138#options USBVERBOSE # verbose USB device autoconfig messages 139 140#options NFS_BOOT_BOOTP,NFS_BOOT_BOOTPARAM 141 142# Kernel root file system and dump configuration. 143config netbsd root on ? type ? 144#config netbsd root on sd0a type ffs 145#config netbsd root on ? type nfs 146 147# 148# wscons options 149# 150# builtin terminal emulations 151#options WSEMUL_SUN # sun terminal emulation 152options WSEMUL_VT100 # VT100 / VT220 emulation 153# different kernel output - see dev/wscons/wsdisplayvar.h 154options WS_KERNEL_FG=WSCOL_GREEN 155#options WS_KERNEL_BG=WSCOL_BLACK 156# compatibility to other console drivers 157options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 158options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 159options WSDISPLAY_COMPAT_USL # VT handling 160options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 161# see dev/pckbc/wskbdmap_mfii.c for implemented layouts 162#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 163# allocate a number of virtual screens at autoconfiguration time 164#options WSDISPLAY_DEFAULTSCREENS=4 165# use a large software cursor that doesn't blink 166options PCDISPLAY_SOFTCURSOR 167 168# 169# Device configuration 170# 171 172mainbus0 at root 173 174#apm0 at mainbus0 # Advanced power management 175 176 177# Basic Bus Support 178 179# PCI bus support 180#pci* at mainbus? bus ? 181#pci* at pchb? bus ? 182#pci* at ppb? bus ? 183 184# PCI bridges 185#pchb* at pci? dev ? function ? # PCI-Host bridges 186#pceb* at pci? dev ? function ? # PCI-EISA bridges 187#pcib* at pci? dev ? function ? # PCI-ISA bridges 188#ppb* at pci? dev ? function ? # PCI-PCI bridges 189# XXX 'puc's aren't really bridges, but there's no better place for them here 190#puc* at pci? dev ? function ? # PCI "universal" comm. cards 191 192# EISA bus support 193#eisa0 at mainbus? 194#eisa0 at pceb? 195 196# ISA bus support 197isa0 at mainbus? 198#isa0 at pceb? 199#isa0 at pcib? 200 201# PCMCIA bus support 202pcmcia* at pcic? controller ? socket ? 203 204# ISA PCMCIA controllers 205pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000 206pcic1 at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000 207 208# ISA Plug-and-Play bus support 209#isapnp0 at isa? 210 211# ISA Plug-and-Play PCMCIA controllers 212#pcic* at isapnp? 213 214# Coprocessor Support 215 216# Math Coprocessor support 217npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor 218 219# Console Devices 220 221# ISA console 222#pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver 223 224# wscons 225pckbc0 at isa? # pc keyboard controller 226pckbd* at pckbc? # PC keyboard 227# "opms" should not be enabled together with "pms" or "pmsi" 228#pms* at pckbc? # PS/2 mouse for wsmouse 229#pmsi* at pckbc? # PS/2 "Intelli"mouse for wsmouse 230#opms* at pckbc? # backwards compatible PS/2 mouse 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#wsmouse* at pmsi? mux 0 239 240 241#pcppi0 at isa? 242#sysbeep0 at pcppi? 243 244# Serial Devices 245 246# PCI serial interfaces 247#com* at puc? port ? # 16x50s on "universal" comm boards 248#cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards 249 250# ISA Plug-and-Play serial interfaces 251#com* at isapnp? # Modems and serial boards 252 253# PCMCIA serial interfaces 254com* at pcmcia? function ? # Modems and serial cards 255 256# ISA serial interfaces 257#options COM_HAYESP # adds Hayes ESP serial board support 258com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports 259com1 at isa? port 0x2f8 irq 3 260com2 at isa? port 0x3e8 irq 5 261#com3 at isa? port 0x2e8 irq 9 262#ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards 263#com* at ast? slave ? 264#boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards 265#com* at boca? slave ? 266#rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards 267#com* at rtfps? slave ? 268#cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards 269 270 271# Parallel Printer Interfaces 272 273# PCI parallel printer interfaces 274#lpt* at puc? port ? # || ports on "universal" comm boards 275 276# ISA parallel printer interfaces 277lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports 278#lpt1 at isa? port 0x278 279#lpt2 at isa? port 0x3bc 280 281 282# SCSI Controllers and Devices 283 284# PCI SCSI controllers 285#ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 286#dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID 287#bha* at pci? dev ? function ? # BusLogic 9xx SCSI 288#isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel 289#siop* at pci? dev ? function ? # NCR 53c8xx SCSI 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 aha? 319#scsibus* at ahb? 320#scsibus* at ahc? 321#scsibus* at aic? 322#scsibus* at bha? 323#scsibus* at dpt? 324#scsibus* at isp? 325#scsibus* at sea? 326#scsibus* at siop? 327#scsibus* at uha? 328#scsibus* at wds? 329 330# SCSI devices 331#sd* at scsibus? target ? lun ? # SCSI disk drives 332#st* at scsibus? target ? lun ? # SCSI tape drives 333#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 334#ch* at scsibus? target ? lun ? # SCSI autochangers 335#ss* at scsibus? target ? lun ? # SCSI scanners 336#uk* at scsibus? target ? lun ? # SCSI unknown 337 338 339# IDE and related devices 340 341# ISA Plug-and-Play IDE controllers 342#wdc* at isapnp? 343 344# PCMCIA IDE controllers 345wdc* at pcmcia? function ? 346 347# ISA IDE controllers 348wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers 349wdc1 at isa? port 0x170 irq 15 350 351# IDE drives 352wd* at wdc? drive ? # the drives themselves 353 354# ATAPI bus support 355atapibus* at wdc? 356 357# ATAPI devices 358cd* at atapibus? drive ? # ATAPI CD-ROM drives 359sd* at atapibus? drive ? # ATAPI disk drives 360 361 362# Miscellaneous mass storage devices 363 364# ISA floppy 365fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 366#fdc1 at isa? port 0x370 irq ? drq ? 367fd* at fdc? drive ? # the drives themselves 368# some machines need you to do this instead of fd* 369#fd0 at fdc0 drive 0 370 371# ISA CD-ROM devices 372#mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives 373 374# ISA tape devices 375# note: the wt driver conflicts unpleasantly with SMC boards at the 376# same I/O address. The probe reprograms their EEPROMs. Don't 377# uncomment it unless you are actually using it. 378#wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives 379 380 381# Network Interfaces 382 383# PCI network interfaces 384#de* at pci? dev ? function ? # DEC 21x4x-based Ethernet 385#en* at pci? dev ? function ? # ENI/Adaptec ATM 386#ep* at pci? dev ? function ? # 3Com 3c59x/3c90x Ethernet 387#epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 388#esh* at pci? dev ? function ? # Essential HIPPI card 389#fpa* at pci? dev ? function ? # DEC DEFPA FDDI 390#fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 391#le* at pci? dev ? function ? # PCnet-PCI Ethernet 392#ne* at pci? dev ? function ? # NE2000-compatible Ethernet 393#tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 394 395# EISA network interfaces 396#ep* at eisa? slot ? # 3Com 3c579 Ethernet 397#fea* at eisa? slot ? # DEC DEFEA FDDI 398 399# ISA Plug-and-Play network interfaces 400#ep* at isapnp? # 3Com 3c509 Ethernet 401#ne* at isapnp? # NE2000-compatible Ethernet 402 403# PCMCIA network interfaces 404ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 405mbe* at pcmcia? function ? # MB8696x based Ethernet 406ne* at pcmcia? function ? # NE2000-compatible Ethernet 407sm* at pcmcia? function ? # Megahertz Ethernet 408 409# ISA network interfaces 410ate0 at isa? port 0x2a0 irq ? # AT1700 411ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 412eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards 413el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards 414ep0 at isa? port ? irq ? # 3C509 ethernet cards 415ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3C507 416ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN 417fmv0 at isa? port 0x2a0 irq ? # FMV-180 series 418ix0 at isa? port 0x300 irq 10 # EtherExpress/16 419iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA 420lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC) 421#depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA 422#le* at depca? 423nele0 at isa? port 0x320 irq 9 drq 7 # NE2100 424le* at nele? 425bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan 426le* at bicc? 427ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 428ne1 at isa? port 0x300 irq 10 429sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet 430we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 431we1 at isa? port 0x300 iomem 0xcc000 irq 10 432 433# MII bus support 434#mii* at tl? 435 436# MII PHY network interfaces 437#tlphy* at mii? dev ? # ThunderLAN PHYs 438#nsphy* at mii? dev ? # NS and compatible 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#opms0 at pc? irq 12 # PS/2 auxiliary port mouse 525 526 527# Joysticks 528 529# ISA Plug-and-Play joysticks 530#joy* at isapnp? # Game ports (usually on audio cards) 531 532# ISA joysticks. Probe is a little strange; add only if you have one. 533#joy0 at isa? port 0x201 534 535 536# Miscellaneous Devices 537 538# Planetconnect Satellite receiver driver. 539#satlink0 at isa? port 0x300 drq 1 540 541 542# Pull in optional local configuration 543include "arch/i386/conf/GENERIC.local" 544 545 546# Pseudo-Devices 547 548# disk/mass storage pseudo-devices 549#pseudo-device ccd 4 # concatenated/striped disk devices 550#pseudo-device md 1 # memory disk device (ramdisk) 551pseudo-device vnd 4 # disk-like interface to files 552 553# network pseudo-devices 554pseudo-device bpfilter 8 # Berkeley packet filter 555pseudo-device bridge # simple inter-network bridging 556pseudo-device ipfilter # IP filter (firewall) and NAT 557pseudo-device loop # network loopback 558pseudo-device ppp 2 # Point-to-Point Protocol 559pseudo-device pppoe # PPP over Ethernet (RFC 2516) 560#pseudo-device sl 2 # Serial Line IP 561#pseudo-device strip 2 # Starmode Radio IP (Metricom) 562pseudo-device tun 2 # network tunneling over tty 563 564# miscellaneous pseudo-devices 565pseudo-device pty # pseudo-terminals 566#pseudo-device tb 1 # tablet line discipline 567pseudo-device rnd # /dev/random and in-kernel generator 568#options RND_COM # use "com" randomness as well (BROKEN) 569