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