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