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