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