1# $NetBSD: GENERIC.in,v 1.9 2002/11/22 12:20:59 wiz 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.9 $" 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 208options UCONSOLE # anyone can redirect a virtual console 209')m4_dnl 210#options INSECURE # disable kernel security levels 211options SCSIVERBOSE # human readable SCSI error messages 212options USERCONF # userconf(4) support 213m4_ifdef(`INSTALL_CONFIGURATION', `m4_dnl 214options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 215options MALLOC_NOINLINE # Not inlining MALLOC saves memory 216', `m4_dnl 217options NTP # NTP phase/frequency locked loop 218#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 219')m4_dnl 220 221# Enable experimental buffer queue strategy for better responsiveness under 222# high disk I/O load. Use it with caution - it's not proven to be stable yet. 223#options NEW_BUFQ_STRATEGY 224 225# 226# Misc. debugging options 227# 228options DDB # Kernel debugger 229#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 230options DIAGNOSTIC # Extra kernel sanity checks 231#options DEBUG # Enable misc. kernel debugging code 232#options SYSCALL_DEBUG # debug all syscalls. 233#options SCSIDEBUG # Add SCSI debugging statements 234#options PANICBUTTON # Forced crash via keypress (?) 235 236# 237# Amiga specific options 238# 239#options LIMITMEM=24 # Do not use more than LIMITMEM MB of the 240 # first bank of RAM. (default: unlimited) 241#options NKPTADD=4 # set this for 4 additional KPT pages 242#options NKPTADDSHIFT=24 # set this for 1 additional KPT page 243 # per 16 MB (1<<24 bytes) of RAM 244 # uncomment and decrease this, or uncomment and 245 # increase NKPTADD if you get "out of PT pages" 246 # panics. 247 248# ATTENTION: There is NO WARRANTY AT ALL that the sync will be complete 249# before the 10 secondinterval ends, or that KBDRESET does work at all. 250#options KBDRESET # sync on Ctrl-Amiga-Amiga 251 252# These options improve performance with the built-in serial port 253# on slower Amigas. Try the larger buffers first then lev6_defer. 254#options SERIBUF_SIZE=4096 255#options SEROBUF_SIZE=32 256#options LEV6_DEFER # defers l6 to l4 (below serial l5) 257 258options RETINACONSOLE # enable code to allow retina to be console 259m4_ifdef(`AMIGA_CONFIGURATION', `m4_dnl 260options ULOWELLCONSOLE # enable code to allow a2410 to be console 261options CL5426CONSOLE # Cirrus console 262options CV64CONSOLE # CyberVision console 263options TSENGCONSOLE # Tseng console 264options CV3DCONSOLE # CyberVision 64/3D console 265 266options GRF_ECS # Enhanced Chip Set 267options GRF_NTSC # NTSC 268options GRF_PAL # PAL 269options GRF_A2024 # Support for the A2024 270options GRF_AGA # AGA Chip Set 271options GRF_AGA_VGA # AGA VGAONLY timing 272options GRF_SUPER72 # AGA Super-72 273')m4_dnl 274#options KFONT_8X11 # 8x11 font 275 276# select a font for the console according to the character set and keymap 277# you want to use 278options KFONT_CONS_ISO8859_1 279#options KFONT_CONS_ISO8859_2 280 281# This is how you would tell the kernel the A2410 oscillator frequencies: 282# The used frequencies are the defaults, and do not need option setting 283#options ULOWELL_OSC1=36000000 284#options ULOWELL_OSC2=66667000 285 286# This is how you specify the blitting speed, higher values may speed up blits 287# a littel bit. If you raise this value too much some trash may appear. 288# the commented version is the default. 289#options RH_MEMCLK=61000000 290# this option enables the 64 bit sprite which does not work 291# for quite a few people. E.g. The cursor sprite will turn to a block 292# when moved to the top of the screen in X. 293#options RH_64BIT_SPRITE 294# enables fast scroll code appears to now work on 040 systems. 295#options RETINA_SPEED_HACK 296# enables the Hardwarecursor which does not work on some systems. 297#options RH_HARDWARECURSOR 298 299m4_ifdef(`AMIGA_CONFIGURATION', `m4_dnl 300# wscons aware interface to amiga custom chips. 301# If you enable it enable also wskbd. 302# 303m4_ifdef(`WSCONS_CONFIGURATION', `m4_dnl 304amidisplaycc0 at mainbus0 # wscons interface to custom chips 305wsdisplay0 at amidisplaycc0 console ? 306options WSEMUL_VT100 307options FONT_BOLD8x16 308options FONT_VT220L8x10 309', ` 310#amidisplaycc0 at mainbus0 # wscons interface to custom chips 311#wsdisplay0 at amidisplaycc0 console ? 312#options WSEMUL_VT100 313#options FONT_BOLD8x16 314#options FONT_VT220L8x10 315')m4_dnl 316')m4_dnl 317 318m4_ifdef(`WSCONS_CONFIGURATION', `', `m4_dnl 319m4_ifdef(`AMIGA_CONFIGURATION', `m4_dnl 320grfcc0 at mainbus0 # custom chips 321grfrt0 at zbus0 # retina II 322')m4_dnl 323grfrh0 at zbus0 # retina III 324m4_ifdef(`AMIGA_CONFIGURATION', `m4_dnl 325grfcl* at zbus0 # Picasso II/Piccolo/Spectrum 326grful0 at zbus0 # A2410 327grfcv0 at zbus0 # CyberVision 64 328grfet* at zbus0 # Tseng (oMniBus, Domino, Merlin) 329grfcv3d0 at zbus0 # CyberVision 64/3D 330')m4_dnl 331 332m4_ifdef(`AMIGA_CONFIGURATION', `m4_dnl 333grf0 at grfcc0 334grf1 at grfrt0 335')m4_dnl 336grf2 at grfrh0 337m4_ifdef(`AMIGA_CONFIGURATION', `m4_dnl 338grf3 at grfcl? 339grf4 at grful0 340grf5 at grfcv0 341grf6 at grfet? 342grf7 at grfcv3d0 343ite0 at grf0 # terminal emulators for grfs 344ite1 at grf1 # terminal emulators for grfs 345')m4_dnl 346ite2 at grf2 # terminal emulators for grfs 347m4_ifdef(`AMIGA_CONFIGURATION', `m4_dnl 348ite3 at grf3 # terminal emulators for grfs 349ite4 at grf4 # terminal emulators for grfs 350ite5 at grf5 # terminal emulators for grfs 351ite6 at grf6 # terminal emulators for grfs 352ite7 at grf7 # terminal emulators for grfs 353')m4_dnl 354')m4_dnl 355 356msc0 at zbus0 # A2232 MSC multiport serial. 357mfc0 at zbus0 # MultiFaceCard I/O board 358mfcs0 at mfc0 unit 0 # MFC serial 359mfcs1 at mfc0 unit 1 # MFC serial 360#mfcp0 at mfc0 unit 0 # MFC parallel [not available yet] 361#mfc1 at zbus0 # MultiFaceCard 2nd I/O board 362#mfcs2 at mfc1 unit 0 363#mfcs3 at mfc1 unit 1 364#mfcp1 at mfc1 unit 0 365 366hyper* at zbus? # zbus HyperCom3/3+/4/4+ 367#hyper* at mainbus0 # not yet: HyperCom1 + HyperCom3 368com* at hyper? port ? # Hypercom3/4 serial ports 369lpt* at hyper? port ? # Hypercom3+/4+ parallel port 370 371#options IOBZCLOCK=22118400 # default, uncomment the next line 372#options IOBZCLOCK=24000000 # if needed. 373 374iobl* at zbus? # zbus IOBlix 375com* at iobl? port ? # IOBlix serial ports 376lpt* at iobl? port ? # IOBlix parallel ports 377 378 379# 380# Keyboard device. Optionally can attach a wskbd. 381# wskbd works together with a wsdisplay so enable them both if you will. 382# Don't enable wskbd if you use ite. 383# 384# XXX in std.amiga: kbd0 at mainbus0 385m4_ifdef(`WSCONS_CONFIGURATION', `m4_dnl 386wskbd0 at kbd0 console ? 387', ` 388#wskbd0 at kbd0 console ? 389')m4_dnl 390 391 392m4_ifdef(`AMIGA_CONFIGURATION', `m4_dnl 393# 394# Amiga Mainboard devices (sans graphics and keyboard) 395# 396 397ser0 at mainbus0 # Amiga onboard serial 398par0 at mainbus0 # Amiga onboard parallel 399ms* at mainbus0 # Amiga mice 400fdc0 at mainbus0 # Amiga FDC 401fd* at fdc0 unit ? # floppy disks on the later 402a34kbbc0 at mainbus0 # A3000/A4000 battery backed clock 403a2kbbc0 at mainbus0 # A2000 battery backed clock 404m4_ifdef(`INSTALL_CONFIGURATION', `', `m4_dnl 405aucc* at mainbus0 # Amiga CC audio 406audio* at aucc? 407')m4_dnl 408')m4_dnl 409 410m4_ifdef(`DRACO_CONFIGURATION', `m4_dnl 411# 412# DraCo Mainboard devices (sans keyboard) 413# 414 415drbbc0 at mainbus0 # DraCo battery backed clock 416drsupio0 at mainbus0 # DraCo superio chip 417com* at drsupio? port ? # DraCo serial 418lpt0 at drsupio? port ? # DraCo parallel 419')m4_dnl 420 421# 422# Zorro-II, Zorro-III, DraCo Direct-Bus devices (sans graphics) 423# 424 425m4_ifdef(`INSTALL_CONFIGURATION', `', `m4_dnl 426m4_ifdef(`DRACO_CONFIGURATION', `', `m4_dnl 427# Alas, Melody-Z2 dont configure in the DraCo bus. 428melody* at zbus0 # Melody MPEG audio decoder 429audio* at melody? 430')m4_dnl 431 432repulse* at zbus0 # ALiENDESiGN Repulse 433audio* at repulse? 434 435toccata* at zbus0 # MacroSystem GmbH Toccata 436audio* at toccata? 437')m4_dnl 438 439# Ethernet cards: 440le* at zbus0 # A2065, Ameristar, Ariadne 441ne* at zbus0 # AriadneII, X-surf 442ed* at zbus0 # Hydra, ASDG LanRover 443es* at zbus0 # CEI A4066 EthernetPLUS 444qn* at zbus0 # Quicknet 445 446# Arcnet 447bah* at zbus0 # C=/Ameristar A2060 / 560 448 449m4_ifdef(`AMIGA_CONFIGURATION', `m4_dnl 450# Greater Valley Product Bus 451gvpbus* at zbus0 452 453# scsi stuff, all possible 454gtsc0 at gvpbus? # GVP series II scsi 455scsibus* at gtsc0 456ahsc0 at mainbus0 # A3000 scsi 457scsibus* at ahsc0 458atzsc0 at zbus0 # A2091 scsi 459scsibus* at atzsc0 460wstsc0 at zbus0 # Wordsync II scsi 461scsibus* at wstsc0 462ivsc0 at zbus0 # IVS scsi 463scsibus* at ivsc0 464mlhsc0 at zbus0 # Hacker scsi 465scsibus* at mlhsc0 466otgsc0 at zbus0 # 12 gauge scsi 467scsibus* at otgsc0 468zssc0 at zbus0 # Zeus scsi 469scsibus* at zssc0 470mgnsc0 at zbus0 # Magnum scsi 471scsibus* at mgnsc0 472wesc0 at zbus0 # Warp Engine scsi 473scsibus* at wesc0 474afsc0 at zbus0 # A4091 scsi 475scsibus* at afsc0 476aftsc0 at mainbus0 # A4000T scsi 477scsibus* at aftsc0 478flsc0 at zbus0 # FastlaneZ3 scsi 479scsibus* at flsc0 480bzsc0 at zbus0 # Blizzard 1230 I,II scsi 481scsibus* at bzsc0 482bzivsc0 at zbus0 # Blizzard 12x0 IV scsi 483scsibus* at bzivsc0 484bztzsc0 at zbus0 # Blizzard 2060 scsi 485scsibus* at bztzsc0 486cbsc0 at zbus0 # CyberSCSI I 487scsibus* at cbsc0 488cbiisc0 at zbus0 # CyberSCSI II 489scsibus* at cbiisc0 490cbiiisc0 at zbus0 # Cyberstorm mk.III/Cyberstorm PPC SCSI 491scsibus* at cbiiisc0 492empsc0 at zbus0 # Emplant scsi 493scsibus* at empsc0 494#idesc0 at mainbus0 # A4000 & A1200 IDE 495#scsibus* at idesc0 496 497# <<< comment out the wdc/atapibus entries below if the idesc lines above >>> 498# <<< are uncommented >>> 499wdc0 at mainbus0 # A4000 & A1200 IDE bus 500wd* at wdc? drive ? # + drives 501atapibus* at wdc? channel ? # ATAPI bus 502cd* at atapibus? drive ? # ATAPI CD-ROM drives 503sd* at atapibus? drive ? # ATAPI disk drives 504 505pccard0 at mainbus0 506pcmcia* at pccard0 507com* at pcmcia? function ? # Modems and serial cards 508pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards 509aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 510wdc* at pcmcia? function ? 511awi* at pcmcia? function ? # BayStack 650 (802.11FH) 512ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 513mbe* at pcmcia? function ? # MB8696x based Ethernet 514ne* at pcmcia? function ? # NE2000-compatible Ethernet 515sm* at pcmcia? function ? # Megahertz Ethernet 516mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards 517com* at mhzc? 518sm* at mhzc? 519 520')m4_dnl 521 522m4_ifdef(`DRACO_CONFIGURATION', `m4_dnl 523drsc0 at mainbus0 # DraCo scsi 524scsibus* at drsc0 525')m4_dnl 526 527 528# each hard drive from low target to high 529# will configure to the next available sd unit number 530sd* at scsibus? target ? lun ? # scsi disks 531st* at scsibus? target ? lun ? # scsi tapes 532cd* at scsibus? target ? lun ? # scsi cds 533ch* at scsibus? target ? lun ? # scsi autochangers 534m4_ifdef(`INSTALL_CONFIGURATION', `', `m4_dnl 535ss* at scsibus? target ? lun ? # scsi scanner 536uk* at scsibus? target ? lun ? # scsi unknown 537')m4_dnl 538 539pseudo-device loop # loopback network interface 540pseudo-device sl 1 # SLIP network interfaces 541pseudo-device ppp 1 # PPP network interfaces 542pseudo-device pppoe # PPP over Ethernet (RFC 2516) 543pseudo-device tun 1 # network tunnel line discipline 544#pseudo-device gre 2 # generic L3 over IP tunnel 545pseudo-device bpfilter 16 # Berkeley packet filter 546pseudo-device ipfilter # IP Filter package 547pseudo-device gif 4 # IPv[46] over IPv[46] tunnel (RFC1933) 548#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 549#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 550pseudo-device vlan # IEEE 802.1q encapsulation 551pseudo-device bridge # simple inter-network bridging 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