1# $NetBSD: GENERIC,v 1.179 2002/04/25 15:06:22 atatat Exp $ 2# 3# GENERIC machine description file 4# 5# This machine description file is used to generate the default NetBSD 6# kernel. The generic kernel does not include all options, subsystems 7# and device drivers, but should be useful for most applications. 8# 9# The machine description file can be customised for your specific 10# machine to reduce the kernel size and improve its performance. 11# 12# For further information on compiling NetBSD kernels, see the config(8) 13# man page. 14# 15# For further information on hardware support for this architecture, see 16# the intro(4) man page. For further information about kernel options 17# for this architecture, see the options(4) man page. For an explanation 18# of each device driver in this file see the section 4 man page for the 19# device. 20 21# 22#if 0 23# GENERIC Amiga or DraCo 24# 25# This configuration file contains all possible options 26# 27# make AMIGA extracts the AMIGA configuration file. 28# make DRACO extracts the DRACO configuration file. 29# make INSTALL extracts the INSTALL configuration file. 30# 31# commit them, too. 32#endif 33# 34 35include "arch/amiga/conf/std.amiga" 36 37options INCLUDE_CONFIG_FILE # embed config file in kernel binary 38 39#ident "GENERIC-$Revision: 1.179 $" 40 41#ifdef INSTALL_CONFIGURATION 42makeoptions COPTS="-Os" 43#endif 44 45maxusers 8 46options RTC_OFFSET=0 47 48# 49# mainboards to support (in addition to Amiga) 50# 51#ifdef DRACO_CONFIGURATION 52options DRACO 53 54#endif 55#ifdef AMIGA_CONFIGURATION 56options BB060STUPIDROM # You need this, if you have a non-DraCo 57 # MC68060 with an OS ROM up to (at least) 58 # V40 (OS3.1) and want to boot with the 59 # bootblock. 60 # You do not need this if you have a DraCo, 61 # have no 68060 or NEVER use the bootblock 62options P5PPC68KBOARD # Phase5 PPC/68K board support 63#endif 64# 65# processors this kernel should support 66# 67options M68060 # support for 060 68options M060SP # MC68060 software support (Required for 060) 69#ifdef AMIGA_CONFIGURATION 70options M68040 # support for 040 71options FPSP # MC68040 floating point support 72options M68030 # support for 030 73options M68020 # support for 020/851 74options FPU_EMULATE # FPU emulation 75#endif 76 77# 78# Networking options 79# 80options INET # IP networking support (Required) 81options INET6 # IPV6 82#options IPSEC # IP security 83#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 84#options IPSEC_DEBUG # debug for IP security 85#options GATEWAY # Packet forwarding 86#options DIRECTED_BROADCAST # Broadcast across subnets 87 88#ifndef INSTALL_CONFIGURATION 89#options MROUTING # Multicast routing 90options NS # XNS 91#options NSIP # XNS tunneling over IP 92options ISO,TPIP # OSI 93#options EON # OSI tunneling over IP 94options CCITT,LLC,HDLC # X.25 95options NETATALK # AppleTalk networking protocols 96#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 97#endif 98 99options PPP_BSDCOMP # BSD-Compress compression support for PPP 100options PPP_DEFLATE # Deflate compression support for PPP 101options PPP_FILTER # Active filter support for PPP (requires bpf) 102options PFIL_HOOKS # pfil(9) packet filter hooks 103options IPFILTER_LOG # ipmon(8) log support 104 105# Filesystems 106file-system FFS # Berkeley fast file system 107file-system EXT2FS # second extended file system (linux) 108#file-system LFS # log-structured filesystem (experimental) 109 110#ifndef INSTALL_CONFIGURATION 111file-system MFS # Memory based filesystem 112#endif 113 114file-system NFS # Network File System client side code 115file-system ADOSFS # AmigaDOS file system 116file-system CD9660 # ISO 9660 + Rock Ridge filesystem 117file-system MSDOSFS # MS-DOS filesystem 118 119file-system KERNFS # kernel data-structure filesystem 120 121#ifndef INSTALL_CONFIGURATION 122file-system FDESC # user file descriptor filesystem 123file-system NULLFS # loopback filesystem 124file-system OVERLAY # overlay filesystem 125#file-system PORTAL # Portal filesystem 126file-system PROCFS # /proc filesystem 127file-system UMAPFS # NULLFS + uid and gid remapping 128file-system UNION # union filesystem 129#endif 130 131# Filesystem options 132 133#options FFS_EI # FFS Endian Independant support 134 135#ifndef INSTALL_CONFIGURATION 136options QUOTA # User and group quotas in FFS 137options SOFTDEP # FFS soft updates support. 138options NFSSERVER # Network File System server side code 139#endif 140 141#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 142 # immutable) behave as system flags. 143 144# 145# Compatibility options for various existing systems 146# 147 148#ifndef INSTALL_CONFIGURATION 149#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 150options COMPAT_43 # compatibility with 4.3BSD interfaces 151options COMPAT_09 # compatibility with NetBSD 0.9 152options COMPAT_10 # compatibility with NetBSD 1.0 153options COMPAT_12 # compatibility with NetBSD 1.2 154options COMPAT_13 # compatibility with NetBSD 1.3 155options COMPAT_14 # compatibility with NetBSD 1.4 156options COMPAT_SUNOS # Support to run Sun (m68k) executables 157options COMPAT_SVR4 # Support to run SVR4 (m68k) executables 158options COMPAT_NOMID # allow nonvalid machine id executables 159#options COMPAT_LINUX # Support to run Linux/m68k executables 160#endif 161 162options EXEC_AOUT # 32-bit aout executables (NetBSD-1.5.x) 163options COMPAT_AOUT_M68K # actually make some system calls work. 164 165#ifndef INSTALL_CONFIGURATION 166# 167# Support for System V IPC facilities. 168# 169options SYSVSHM # System V-like shared memory 170options SYSVMSG # System V-like messages 171options SYSVSEM # System V-like semaphores 172#options SEMMNI=10 # number of semaphore identifiers 173#options SEMMNS=60 # number of semaphores in system 174#options SEMUME=10 # max number of undo entries per process 175#options SEMMNU=30 # number of undo structures in system 176#endif 177 178# 179# Support for various kernel options 180# 181 182#ifndef INSTALL_CONFIGURATION 183options KTRACE # system call tracing support 184options LKM # Loadable kernel modules 185options UCONSOLE # anyone can redirect a virtual console 186#endif 187#options INSECURE # disable kernel security levels 188options SCSIVERBOSE # human readable SCSI error messages 189#options USERCONF # userconf(4) support 190#ifndef INSTALL_CONFIGURATION 191options NTP # NTP phase/frequency locked loop 192#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 193#else 194options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 195#endif 196 197# 198# Misc. debugging options 199# 200options DDB # Kernel debugger 201#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 202options DIAGNOSTIC # Extra kernel sanity checks 203#options DEBUG # Enable misc. kernel debugging code 204#options SYSCALL_DEBUG # debug all syscalls. 205#options SCSIDEBUG # Add SCSI debugging statements 206#options PANICBUTTON # Forced crash via keypress (???) 207 208# 209# Amiga specific options 210# 211#options LIMITMEM=24 # Do not use more than LIMITMEM MB of the 212 # first bank of RAM. (default: unlimited) 213#options NKPTADD=4 # set this for 4 additional KPT pages 214#options NKPTADDSHIFT=24 # set this for 1 additional KPT page 215 # per 16 MB (1<<24 bytes) of RAM 216 # uncomment and decrease this, or uncomment and 217 # increase NKPTADD if you get "out of PT pages" 218 # panics. 219 220# ATTENTION: There is NO WARRANTY AT ALL that the sync will be complete 221# before the 10 secondinterval ends, or that KBDRESET does work at all. 222#options KBDRESET # sync on Ctrl-Amiga-Amiga 223 224# These options improve performance with the built-in serial port 225# on slower Amigas. Try the larger buffers first then lev6_defer. 226#options SERIBUF_SIZE=4096 227#options SEROBUF_SIZE=32 228#options LEV6_DEFER # defers l6 to l4 (below serial l5) 229 230options RETINACONSOLE # enable code to allow retina to be console 231#ifdef AMIGA_CONFIGURATION 232options ULOWELLCONSOLE # enable code to allow a2410 to be console 233options CL5426CONSOLE # Cirrus console 234options CV64CONSOLE # CyberVision console 235options TSENGCONSOLE # Tseng console 236options CV3DCONSOLE # CyberVision 64/3D console 237#endif 238 239#ifdef AMIGA_CONFIGURATION 240options GRF_ECS # Enhanced Chip Set 241options GRF_NTSC # NTSC 242options GRF_PAL # PAL 243options GRF_A2024 # Support for the A2024 244options GRF_AGA # AGA Chip Set 245options GRF_AGA_VGA # AGA VGAONLY timing 246options GRF_SUPER72 # AGA Super-72 247#endif 248#options KFONT_8X11 # 8x11 font 249 250# select a font for the console according to the character set and keymap 251# you want to use 252options KFONT_CONS_ISO8859_1 253#options KFONT_CONS_ISO8859_2 254 255# This is how you would tell the kernel the A2410 oscillator frequencies: 256# The used frequencies are the defaults, and do not need option setting 257#options ULOWELL_OSC1=36000000 258#options ULOWELL_OSC2=66667000 259 260# This is how you specify the blitting speed, higher values may speed up blits 261# a littel bit. If you raise this value too much some trash may appear. 262# the commented version is the default. 263#options RH_MEMCLK=61000000 264# this option enables the 64 bit sprite which does not work 265# for quite a few people. E.g. The cursor sprite will turn to a block 266# when moved to the top of the screen in X. 267#options RH_64BIT_SPRITE 268# enables fast scroll code appears to now work on 040 systems. 269#options RETINA_SPEED_HACK 270# enables the Hardwarecursor which does not work on some systems. 271#options RH_HARDWARECURSOR 272 273#ifdef AMIGA_CONFIGURATION 274# wscons aware interface to amiga custom chips. 275# If you enable it enable also wskbd. 276# 277#amidisplaycc0 at mainbus0 # wscons interface to custom chips 278#wsdisplay0 at amidisplaycc0 console ? 279#options WSEMUL_VT100 280#options FONT_BOLD8x16 281#options FONT_VT220L8x10 282#endif 283 284#ifdef AMIGA_CONFIGURATION 285grfcc0 at mainbus0 # custom chips 286grfrt0 at zbus0 # retina II 287#endif 288grfrh0 at zbus0 # retina III 289#ifdef AMIGA_CONFIGURATION 290grfcl* at zbus0 # Picasso II/Piccolo/Spectrum 291grful0 at zbus0 # A2410 292grfcv0 at zbus0 # CyberVision 64 293grfet* at zbus0 # Tseng (oMniBus, Domino, Merlin) 294grfcv3d0 at zbus0 # CyberVision 64/3D 295#endif 296 297#ifdef AMIGA_CONFIGURATION 298grf0 at grfcc0 299grf1 at grfrt0 300#endif 301grf2 at grfrh0 302#ifdef AMIGA_CONFIGURATION 303grf3 at grfcl? 304grf4 at grful0 305grf5 at grfcv0 306grf6 at grfet? 307grf7 at grfcv3d0 308#endif 309#ifdef AMIGA_CONFIGURATION 310ite0 at grf0 # terminal emulators for grfs 311ite1 at grf1 # terminal emulators for grfs 312#endif 313ite2 at grf2 # terminal emulators for grfs 314#ifdef AMIGA_CONFIGURATION 315ite3 at grf3 # terminal emulators for grfs 316ite4 at grf4 # terminal emulators for grfs 317ite5 at grf5 # terminal emulators for grfs 318ite6 at grf6 # terminal emulators for grfs 319ite7 at grf7 # terminal emulators for grfs 320#endif 321 322msc0 at zbus0 # A2232 MSC multiport serial. 323mfc0 at zbus0 # MultiFaceCard I/O board 324mfcs0 at mfc0 unit 0 # MFC serial 325mfcs1 at mfc0 unit 1 # MFC serial 326#mfcp0 at mfc0 unit 0 # MFC parallel [not available yet] 327#mfc1 at zbus0 # MultiFaceCard 2nd I/O board 328#mfcs2 at mfc1 unit 0 329#mfcs3 at mfc1 unit 1 330#mfcp1 at mfc1 unit 0 331 332hyper* at zbus? # zbus HyperCom3/3+/4/4+ 333#hyper* at mainbus0 # not yet: HyperCom1 + HyperCom3 334com* at hyper? port ? # Hypercom3/4 serial ports 335lpt* at hyper? port ? # Hypercom3+/4+ parallel port 336 337#options IOBZCLOCK=22118400 # default, uncomment the next line 338#options IOBZCLOCK=24000000 # if needed. 339 340iobl* at zbus? # zbus IOBlix 341com* at iobl? port ? # IOBlix serial ports 342lpt* at iobl? port ? # IOBlix parallel ports 343 344 345# 346# Keyboard device. Optionally can attach a wskbd. 347# wskbd works together with a wsdisplay so enable them both if you will. 348# Don't enable wskbd if you use ite. 349# 350# XXX in std.amiga: kbd0 at mainbus0 351#wskbd0 at kbd0 console ? 352 353 354#ifdef AMIGA_CONFIGURATION 355# 356# Amiga Mainboard devices (sans graphics and keyboard) 357# 358 359ser0 at mainbus0 # Amiga onboard serial 360par0 at mainbus0 # Amiga onboard parallel 361ms* at mainbus0 # Amiga mice 362fdc0 at mainbus0 # Amiga FDC 363fd* at fdc0 unit ? # floppy disks on the later 364a34kbbc0 at mainbus0 # A3000/A4000 battery backed clock 365a2kbbc0 at mainbus0 # A2000 battery backed clock 366#ifndef INSTALL_CONFIGURATION 367aucc* at mainbus0 # Amiga CC audio 368audio* at aucc? 369#endif 370#endif 371 372#ifdef DRACO_CONFIGURATION 373# 374# DraCo Mainboard devices (sans keyboard) 375# 376 377drbbc0 at mainbus0 # DraCo battery backed clock 378drsupio0 at mainbus0 # DraCo superio chip 379com* at drsupio? port ? # DraCo serial 380lpt0 at drsupio? port ? # DraCo parallel 381#endif 382 383# 384# Zorro-II, Zorro-III, DraCo Direct-Bus devices (sans graphics) 385# 386 387#ifndef INSTALL_CONFIGURATION 388#ifndef DRACO_CONFIGURATION 389# Alas, Melody-Z2 dont configure in the DraCo bus. 390melody* at zbus0 # Melody MPEG audio decoder 391audio* at melody? 392#endif 393 394repulse* at zbus0 # ALiENDESiGN Repulse 395audio* at repulse? 396 397toccata* at zbus0 # MacroSystem GmbH Toccata 398audio* at toccata? 399#endif 400 401# Ethernet cards: 402le* at zbus0 # A2065, Ameristar, Ariadne 403ne* at zbus0 # AriadneII, X-surf 404ed* at zbus0 # Hydra, ASDG LanRover 405es* at zbus0 # CEI A4066 EthernetPLUS 406qn* at zbus0 # Quicknet 407 408# Arcnet 409bah* at zbus0 # C=/Ameristar A2060 / 560 410 411#ifdef AMIGA_CONFIGURATION 412# Greater Valley Product Bus 413gvpbus* at zbus0 414 415# scsi stuff, all possible 416gtsc0 at gvpbus? # GVP series II scsi 417scsibus* at gtsc0 418ahsc0 at mainbus0 # A3000 scsi 419scsibus* at ahsc0 420atzsc0 at zbus0 # A2091 scsi 421scsibus* at atzsc0 422wstsc0 at zbus0 # Wordsync II scsi 423scsibus* at wstsc0 424ivsc0 at zbus0 # IVS scsi 425scsibus* at ivsc0 426mlhsc0 at zbus0 # Hacker scsi 427scsibus* at mlhsc0 428otgsc0 at zbus0 # 12 gauge scsi 429scsibus* at otgsc0 430zssc0 at zbus0 # Zeus scsi 431scsibus* at zssc0 432mgnsc0 at zbus0 # Magnum scsi 433scsibus* at mgnsc0 434wesc0 at zbus0 # Warp Engine scsi 435scsibus* at wesc0 436afsc0 at zbus0 # A4091 scsi 437scsibus* at afsc0 438aftsc0 at mainbus0 # A4000T scsi 439scsibus* at aftsc0 440flsc0 at zbus0 # FastlaneZ3 scsi 441scsibus* at flsc0 442bzsc0 at zbus0 # Blizzard 1230 I,II scsi 443scsibus* at bzsc0 444bzivsc0 at zbus0 # Blizzard 12x0 IV scsi 445scsibus* at bzivsc0 446bztzsc0 at zbus0 # Blizzard 2060 scsi 447scsibus* at bztzsc0 448cbsc0 at zbus0 # CyberSCSI I 449scsibus* at cbsc0 450cbiisc0 at zbus0 # CyberSCSI II 451scsibus* at cbiisc0 452cbiiisc0 at zbus0 # Cyberstorm mk.III/Cyberstorm PPC SCSI 453scsibus* at cbiiisc0 454empsc0 at zbus0 # Emplant scsi 455scsibus* at empsc0 456#idesc0 at mainbus0 # A4000 & A1200 IDE 457#scsibus* at idesc0 458 459# <<< comment out the wdc/atapibus entries below if the idesc lines above >>> 460# <<< are uncommented >>> 461wdc0 at mainbus0 # A4000 & A1200 IDE bus 462wd* at wdc? drive ? # + drives 463atapibus* at wdc? channel ? # ATAPI bus 464cd* at atapibus? drive ? # ATAPI CD-ROM drives 465sd* at atapibus? drive ? # ATAPI disk drives 466 467pccard0 at mainbus0 468pcmcia* at pccard0 469com* at pcmcia? function ? # Modems and serial cards 470pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards 471aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 472wdc* at pcmcia? function ? 473awi* at pcmcia? function ? # BayStack 650 (802.11FH) 474ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 475mbe* at pcmcia? function ? # MB8696x based Ethernet 476ne* at pcmcia? function ? # NE2000-compatible Ethernet 477sm* at pcmcia? function ? # Megahertz Ethernet 478mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards 479com* at mhzc? 480sm* at mhzc? 481 482#endif 483 484#ifdef DRACO_CONFIGURATION 485drsc0 at mainbus0 # DraCo scsi 486scsibus* at drsc0 487#endif 488 489 490# each hard drive from low target to high 491# will configure to the next available sd unit number 492sd* at scsibus? target ? lun ? # scsi disks 493st* at scsibus? target ? lun ? # scsi tapes 494cd* at scsibus? target ? lun ? # scsi cds 495ch* at scsibus? target ? lun ? # scsi autochangers 496#ifndef INSTALL_CONFIGURATION 497ss* at scsibus? target ? lun ? # scsi scanner 498uk* at scsibus? target ? lun ? # scsi unknown 499#endif 500 501pseudo-device loop # loopback network interface 502pseudo-device sl 1 # SLIP network interfaces 503pseudo-device ppp 1 # PPP network interfaces 504pseudo-device pppoe # PPP over Ethernet (RFC 2516) 505pseudo-device tun 1 # network tunnel line discipline 506#pseudo-device gre 2 # generic L3 over IP tunnel 507pseudo-device bpfilter 16 # Berkeley packet filter 508pseudo-device ipfilter # IP Filter package 509pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 510#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 511#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 512pseudo-device vlan # IEEE 802.1q encapsulation 513pseudo-device bridge # simple inter-network bridging 514 515pseudo-device view 4 # views (needed for grfcc) 516pseudo-device pty # pseudo-terminals 517 518pseudo-device vnd 4 # vnode pseudo-disks 519pseudo-device ccd 4 # concatenated disk devices 520pseudo-device raid 8 # RAIDframe disk driver 521options RAID_AUTOCONFIG # auto-configuration of RAID components 522# Options to enable various other RAIDframe RAID types. 523# options RF_INCLUDE_EVENODD=1 524# options RF_INCLUDE_RAID5_RS=1 525# options RF_INCLUDE_PARITYLOGGING=1 526# options RF_INCLUDE_CHAINDECLUSTER=1 527# options RF_INCLUDE_INTERDECLUSTER=1 528# options RF_INCLUDE_PARITY_DECLUSTERING=1 529# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 530 531pseudo-device rnd # /dev/random and in-kernel generator 532#options RND_COM # use "com" randomness as well (BROKEN) 533 534config netbsd root on ? type ? 535