GENERIC_TINY revision 1.58
1# $NetBSD: GENERIC_TINY,v 1.58 2003/09/09 07:14:02 itojun 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# These options enable verbose messages for several subsystems. 140# Warning, these may compile large string tables into the kernel! 141#options EISAVERBOSE # verbose EISA device autoconfig messages 142#options PCIVERBOSE # verbose PCI device autoconfig messages 143#options PCI_CONFIG_DUMP # verbosely dump PCI config space 144#options PCMCIAVERBOSE # verbose PCMCIA configuration messages 145#options SCSIVERBOSE # human readable SCSI error messages 146#options USBVERBOSE # verbose USB device autoconfig messages 147 148#options NFS_BOOT_BOOTP,NFS_BOOT_BOOTPARAM 149 150# Kernel root file system and dump configuration. 151config netbsd root on ? type ? 152#config netbsd root on sd0a type ffs 153#config netbsd root on ? type nfs 154 155# 156# wscons options 157# 158# builtin terminal emulations 159#options WSEMUL_SUN # sun terminal emulation 160options WSEMUL_VT100 # VT100 / VT220 emulation 161# different kernel output - see dev/wscons/wsdisplayvar.h 162options WS_KERNEL_FG=WSCOL_GREEN 163#options WS_KERNEL_BG=WSCOL_BLACK 164# compatibility to other console drivers 165options WSDISPLAY_COMPAT_PCVT # emulate some ioctls 166options WSDISPLAY_COMPAT_SYSCONS # emulate some ioctls 167options WSDISPLAY_COMPAT_USL # VT handling 168options WSDISPLAY_COMPAT_RAWKBD # can get raw scancodes 169# see dev/pckbc/wskbdmap_mfii.c for implemented layouts 170#options PCKBD_LAYOUT="(KB_DE | KB_NODEAD)" 171# allocate a number of virtual screens at autoconfiguration time 172#options WSDISPLAY_DEFAULTSCREENS=4 173# use a large software cursor that doesn't blink 174options PCDISPLAY_SOFTCURSOR 175 176# 177# Device configuration 178# 179 180mainbus0 at root 181 182cpu0 at mainbus0 183 184#apm0 at mainbus0 # Advanced power management 185 186 187# Basic Bus Support 188 189# PCI bus support 190#pci* at mainbus? bus ? 191#pci* at pchb? bus ? 192#pci* at ppb? bus ? 193 194# PCI bridges 195#pchb* at pci? dev ? function ? # PCI-Host bridges 196#pceb* at pci? dev ? function ? # PCI-EISA bridges 197#pcib* at pci? dev ? function ? # PCI-ISA bridges 198#ppb* at pci? dev ? function ? # PCI-PCI bridges 199# XXX 'puc's aren't really bridges, but there's no better place for them here 200#puc* at pci? dev ? function ? # PCI "universal" comm. cards 201 202# EISA bus support 203#eisa0 at mainbus? 204#eisa0 at pceb? 205 206# ISA bus support 207isa0 at mainbus? 208#isa0 at pceb? 209#isa0 at pcib? 210 211# PCMCIA bus support 212pcmcia* at pcic? controller ? socket ? 213 214# ISA PCMCIA controllers 215pcic0 at isa? port 0x3e0 iomem 0xd0000 iosiz 0x4000 216pcic1 at isa? port 0x3e2 iomem 0xd4000 iosiz 0x4000 217 218# ISA Plug-and-Play bus support 219#isapnp0 at isa? 220 221# ISA Plug-and-Play PCMCIA controllers 222#pcic* at isapnp? 223 224# Coprocessor Support 225 226# Math Coprocessor support 227npx0 at isa? port 0xf0 irq 13 # x86 math coprocessor 228 229# Console Devices 230 231# ISA console 232#pc0 at isa? port 0x60 irq 1 # pccons generic PC console driver 233 234# wscons 235pckbc0 at isa? # pc keyboard controller 236pckbd* at pckbc? # PC keyboard 237#pms* at pckbc? # PS/2 mouse for wsmouse 238vga0 at isa? 239#vga* at pci? dev ? function ? 240pcdisplay0 at isa? # CGA, MDA, EGA, HGA 241wsdisplay* at vga? console ? 242wsdisplay* at pcdisplay? console ? 243wskbd* at pckbd? console ? 244#wsmouse* at pms? mux 0 245 246 247#pcppi0 at isa? 248#sysbeep0 at pcppi? 249 250# Serial Devices 251 252# PCI serial interfaces 253#com* at puc? port ? # 16x50s on "universal" comm boards 254#cy* at pci? dev ? function ? # Cyclades Cyclom-Y serial boards 255 256# ISA Plug-and-Play serial interfaces 257#com* at isapnp? # Modems and serial boards 258 259# PCMCIA serial interfaces 260com* at pcmcia? function ? # Modems and serial cards 261 262# ISA serial interfaces 263#options COM_HAYESP # adds Hayes ESP serial board support 264com0 at isa? port 0x3f8 irq 4 # Standard PC serial ports 265com1 at isa? port 0x2f8 irq 3 266com2 at isa? port 0x3e8 irq 5 267#com3 at isa? port 0x2e8 irq 9 268#ast0 at isa? port 0x1a0 irq 5 # AST 4-port serial cards 269#com* at ast? slave ? 270#boca0 at isa? port 0x100 irq 5 # BOCA 8-port serial cards 271#com* at boca? slave ? 272#rtfps0 at isa? port 0x1230 irq 10 # RT 4-port serial cards 273#com* at rtfps? slave ? 274#cy0 at isa? iomem 0xd4000 irq 12 # Cyclades serial cards 275 276 277# Parallel Printer Interfaces 278 279# PCI parallel printer interfaces 280#lpt* at puc? port ? # || ports on "universal" comm boards 281 282# ISA parallel printer interfaces 283lpt0 at isa? port 0x378 irq 7 # standard PC parallel ports 284#lpt1 at isa? port 0x278 285#lpt2 at isa? port 0x3bc 286 287 288# SCSI Controllers and Devices 289 290# PCI SCSI controllers 291#ahc* at pci? dev ? function ? # Adaptec [23]94x, aic78x0 SCSI 292#dpt* at pci? dev ? function ? # DPT SmartCache/SmartRAID 293#bha* at pci? dev ? function ? # BusLogic 9xx SCSI 294#isp* at pci? dev ? function ? # Qlogic ISP [12]0x0 SCSI/FibreChannel 295#siop* at pci? dev ? function ? # NCR 53c8xx SCSI 296#esiop* at pci? dev ? function ? # NCR 53c875 SCSI and newer 297#options SIOP_SYMLED # drive the act. LED in software 298 299# EISA SCSI controllers 300#ahb* at eisa? slot ? # Adaptec 174[02] SCSI 301#ahc* at eisa? slot ? # Adaptec 274x, aic7770 SCSI 302#bha* at eisa? slot ? # BusLogic 7xx SCSI 303#dpt* at eisa? slot ? # DPT SmartCache/SmartRAID 304#uha* at eisa? slot ? # UltraStor 24f SCSI 305 306# PCMCIA SCSI controllers 307#aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 308 309# ISA Plug-and-Play SCSI controllers 310#aic* at isapnp? # Adaptec AHA-1520B 311 312# ISA SCSI controllers 313#aha0 at isa? port 0x330 irq ? drq ? # Adaptec 154[02] SCSI 314#aha1 at isa? port 0x334 irq ? drq ? 315#ahc0 at isa? port ? irq ? # Adaptec 284x SCSI 316#aic0 at isa? port 0x340 irq 11 # Adaptec 152[02] SCSI 317#bha0 at isa? port 0x330 irq ? drq ? # BusLogic [457]4X SCSI 318#bha1 at isa? port 0x334 irq ? drq ? 319#sea0 at isa? iomem 0xc8000 irq 5 # Seagate/Future Domain SCSI 320#uha0 at isa? port 0x330 irq ? drq ? # UltraStor [13]4f SCSI 321#uha1 at isa? port 0x340 irq ? drq ? 322#wds0 at isa? port 0x350 irq 15 drq 6 # WD7000 and TMC-7000 controllers 323#wds1 at isa? port 0x358 irq 11 drq 5 324 325# SCSI bus support 326#scsibus* at scsi? 327 328# SCSI devices 329#sd* at scsibus? target ? lun ? # SCSI disk drives 330#st* at scsibus? target ? lun ? # SCSI tape drives 331#cd* at scsibus? target ? lun ? # SCSI CD-ROM drives 332#ch* at scsibus? target ? lun ? # SCSI autochangers 333#ss* at scsibus? target ? lun ? # SCSI scanners 334#uk* at scsibus? target ? lun ? # SCSI unknown 335 336 337# IDE and related devices 338 339# ISA Plug-and-Play IDE controllers 340#wdc* at isapnp? 341 342# PCMCIA IDE controllers 343wdc* at pcmcia? function ? 344 345# ISA IDE controllers 346wdc0 at isa? port 0x1f0 irq 14 # ST506, ESDI, and IDE controllers 347wdc1 at isa? port 0x170 irq 15 348 349# IDE drives 350wd* at wdc? drive ? # the drives themselves 351 352# ATAPI bus support 353atapibus* at atapi? 354 355# ATAPI devices 356cd* at atapibus? drive ? # ATAPI CD-ROM drives 357sd* at atapibus? drive ? # ATAPI disk drives 358 359 360# Miscellaneous mass storage devices 361 362# ISA floppy 363fdc0 at isa? port 0x3f0 irq 6 drq 2 # standard PC floppy controllers 364#fdc1 at isa? port 0x370 irq ? drq ? 365fd* at fdc? drive ? # the drives themselves 366# some machines need you to do this instead of fd* 367#fd0 at fdc0 drive 0 368 369# ISA CD-ROM devices 370#mcd0 at isa? port 0x300 irq 10 # Mitsumi CD-ROM drives 371 372# ISA tape devices 373# note: the wt driver conflicts unpleasantly with SMC boards at the 374# same I/O address. The probe reprograms their EEPROMs. Don't 375# uncomment it unless you are actually using it. 376#wt0 at isa? port 0x308 irq 5 drq 1 # Archive and Wangtek QIC tape drives 377 378 379# Network Interfaces 380 381# PCI network interfaces 382#en* at pci? dev ? function ? # ENI/Adaptec ATM 383#ep* at pci? dev ? function ? # 3Com 3c59x/3c90x Ethernet 384#epic* at pci? dev ? function ? # SMC EPIC/100 Ethernet 385#esh* at pci? dev ? function ? # Essential HIPPI card 386#fpa* at pci? dev ? function ? # DEC DEFPA FDDI 387#fxp* at pci? dev ? function ? # Intel EtherExpress PRO 10+/100B 388#le* at pci? dev ? function ? # PCnet-PCI Ethernet 389#ne* at pci? dev ? function ? # NE2000-compatible Ethernet 390#tl* at pci? dev ? function ? # ThunderLAN-based Ethernet 391#tlp* at pci? dev ? function ? # DECchip 21x4x and clones 392 393# EISA network interfaces 394#ep* at eisa? slot ? # 3Com 3c579 Ethernet 395#fea* at eisa? slot ? # DEC DEFEA FDDI 396 397# ISA Plug-and-Play network interfaces 398#ep* at isapnp? # 3Com 3c509 Ethernet 399#ne* at isapnp? # NE2000-compatible Ethernet 400 401# PCMCIA network interfaces 402ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 403mbe* at pcmcia? function ? # MB8696x based Ethernet 404ne* at pcmcia? function ? # NE2000-compatible Ethernet 405sm* at pcmcia? function ? # Megahertz Ethernet 406 407# ISA network interfaces 408ate0 at isa? port 0x2a0 irq ? # AT1700 409ec0 at isa? port 0x250 iomem 0xd8000 irq 9 # 3Com 3c503 Ethernet 410eg0 at isa? port 0x280 irq 9 # 3C505 ethernet cards 411el0 at isa? port 0x300 irq 9 # 3C501 ethernet cards 412ep0 at isa? port ? irq ? # 3C509 ethernet cards 413ef0 at isa? port 0x360 iomem 0xd0000 irq 7 # 3C507 414ai0 at isa? port 0x360 iomem 0xd0000 irq 7 # StarLAN 415fmv0 at isa? port 0x2a0 irq ? # FMV-180 series 416ix0 at isa? port 0x300 irq 10 # EtherExpress/16 417iy0 at isa? port 0x360 irq ? # EtherExpress PRO 10 ISA 418lc0 at isa? port 0x320 iomem ? irq ? # DEC EtherWORKS III (LEMAC) 419#depca0 at isa? port 0x300 iomem 0xc8000 iosiz 0x8000 irq 5 # DEPCA 420#le* at depca? 421nele0 at isa? port 0x320 irq 9 drq 7 # NE2100 422le* at nele? 423bicc0 at isa? port 0x320 irq 10 drq 7 # BICC IsoLan 424le* at bicc? 425ne0 at isa? port 0x280 irq 9 # NE[12]000 ethernet cards 426ne1 at isa? port 0x300 irq 10 427sm0 at isa? port 0x300 irq 10 # SMC91C9x Ethernet 428we0 at isa? port 0x280 iomem 0xd0000 irq 9 # WD/SMC Ethernet 429we1 at isa? port 0x300 iomem 0xcc000 irq 10 430 431# MII bus support 432#mii* at tl? 433 434# MII PHY network interfaces 435#tlphy* at mii? dev ? # ThunderLAN PHYs 436#nsphy* at mii? dev ? # NS and compatible PHYs 437#ukphy* at mii? phy ? # generic unknown 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 469# USB Ethernet adapters 470#aue* at uhub? port ? # ADMtek AN986 Pegasus based adapters 471#cue* at uhub? port ? # CATC USB-EL1201A based adapters 472#kue* at uhub? port ? # Kawasaki LSI KL5KUSB101B based adapters 473#uax* at uhub? port ? # ASIX AX88172 based adapters 474#url* at uhub? port ? # Realtek RTL8150L 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 audiobus? 503 504# The spkr driver provides a simple tone interface to the built in speaker. 505#spkr0 at pcppi? # PC speaker 506 507 508# Joysticks 509 510# ISA Plug-and-Play joysticks 511#joy* at isapnp? # Game ports (usually on audio cards) 512 513# ISA joysticks. Probe is a little strange; add only if you have one. 514#joy0 at isa? port 0x201 515 516 517# Miscellaneous Devices 518 519# Planetconnect Satellite receiver driver. 520#satlink0 at isa? port 0x300 drq 1 521 522 523# Pull in optional local configuration 524include "arch/i386/conf/GENERIC.local" 525 526 527# Pseudo-Devices 528 529# disk/mass storage pseudo-devices 530#pseudo-device ccd 4 # concatenated/striped disk devices 531#pseudo-device md 1 # memory disk device (ramdisk) 532pseudo-device vnd 4 # disk-like interface to files 533 534# network pseudo-devices 535pseudo-device bpfilter 8 # Berkeley packet filter 536pseudo-device bridge # simple inter-network bridging 537pseudo-device ipfilter # IP filter (firewall) and NAT 538pseudo-device loop # network loopback 539pseudo-device ppp 2 # Point-to-Point Protocol 540pseudo-device pppoe # PPP over Ethernet (RFC 2516) 541#pseudo-device sl 2 # Serial Line IP 542#pseudo-device strip 2 # Starmode Radio IP (Metricom) 543pseudo-device tun 2 # network tunneling over tty 544 545# miscellaneous pseudo-devices 546pseudo-device pty # pseudo-terminals 547#pseudo-device tb 1 # tablet line discipline 548pseudo-device rnd # /dev/random and in-kernel generator 549#options RND_COM # use "com" randomness as well (BROKEN) 550pseudo-device clockctl # user control of clock subsystem 551