1# $NetBSD: GENERIC,v 1.32 2017/09/14 07:58:39 mrg 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 21include "arch/amigappc/conf/std.amigappc" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25#ident "GENERIC-$Revision: 1.32 $" 26 27maxusers 8 28 29# 30# Mainboards to support (in addition to Amiga) 31# 32options BB060STUPIDROM # You need this, if you have a non-DraCo 33 # MC68060 with an OS ROM up to (at least) 34 # V40 (OS3.1) and want to boot with the 35 # bootblock. 36 # You do not need this if you have a DraCo, 37 # have no 68060 or NEVER use the bootblock 38options P5PPC68KBOARD # Phase5 PPC/68K board support 39 40# 41# Standard system options 42# 43options INSECURE # disable kernel security levels 44options RTC_OFFSET=0 # hardware clock is this many mins. west of GMT 45options NTP # NTP phase/frequency locked loop 46 47options KTRACE # system call tracing support 48options SCSIVERBOSE # human readable SCSI error messages 49options USERCONF # userconf(4) support 50#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 51#options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 52 53# Support for System V IPC facilities. 54options SYSVSHM # System V-like shared memory 55options SYSVMSG # System V-like messages 56options SYSVSEM # System V-like semaphores 57 58# Enable experimental buffer queue strategy for better responsiveness under 59# high disk I/O load. Use it with caution - it's not proven to be stable yet. 60#options BUFQ_READPRIO 61#options BUFQ_PRIOCSCAN 62 63# 64# Diagnostic/debugging support options 65# 66#options DIAGNOSTIC # Extra kernel sanity checks 67#options DEBUG # Enable misc. kernel debugging code 68#options DEBUG_KERNEL_START 69options DDB # in-kernel debugger 70#options DDB_ONPANIC=1 # see also sysctl(7): `ddb.onpanic' 71options DDB_HISTORY_SIZE=512 # Enable history editing in DDB 72#options SCSIDEBUG # Add SCSI debugging statements 73#options SERCONSOLE # console via Amiga serial port 74#makeoptions DEBUG="-g" # compile full symbol table 75 76# 77# Compatibility option 78# 79 80include "conf/compat_netbsd09.config" 81 82#options COMPAT_386BSD_MBRPART # recognize old partition ID 83#options COMPAT_LINUX # Linux binary compatibility 84 85# 86# File systems 87# 88file-system FFS # UFS 89file-system EXT2FS # second extended file system (linux) 90file-system LFS # log-structured file system 91file-system MFS # memory file system 92file-system NFS # Network file System client 93file-system CD9660 # ISO 9660 + Rock Ridge file system 94file-system MSDOSFS # MS-DOS file system 95file-system ADOSFS # AmigaDOS file system 96file-system FDESC # /dev/fd 97file-system KERNFS # /kern 98file-system NULLFS # loopback file system 99file-system OVERLAY # overlay file system 100file-system PROCFS # /proc 101file-system UMAPFS # NULLFS + uid and gid remapping 102file-system UNION # union file system 103file-system SMBFS # experimental - CIFS; also needs nsmb (below) 104file-system PTYFS # /dev/pts/N support 105file-system TMPFS # Efficient memory file-system 106#file-system UDF # experimental - OSTA UDF CD/DVD file-system 107 108# File system options 109#options FFS_EI # FFS Endian Independent support 110options WAPBL # File system journaling support 111 112options QUOTA # legacy UFS quotas 113options QUOTA2 # new, in-filesystem UFS quotas 114#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 115options NFSSERVER # Network File System server side code 116#options FFS_NO_SNAPSHOT # No FFS snapshot support 117options UFS_EXTATTR # Extended attribute support for UFS1 118#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 119 # immutable) behave as system flags. 120 121# 122# Networking options 123# 124#options GATEWAY # Packet forwarding 125options INET # IP networking support (Required) 126options INET6 # IPV6 127#options IPSEC # IP security 128#options IPSEC_DEBUG # debug for IP security 129#options MROUTING # Multicast routing 130#options DIRECTED_BROADCAST # Broadcast across subnets 131#options PIM # Protocol Independent Multicast 132#options NETATALK # AppleTalk networking protocols 133options PPP_BSDCOMP # BSD-Compress compression support for PPP 134options PPP_DEFLATE # Deflate compression support for PPP 135options PPP_FILTER # Active filter support for PPP (requires bpf) 136options IPFILTER_LOG # ipmon(8) log support 137options IPFILTER_LOOKUP # ippool(8) support 138options IPFILTER_COMPAT # Compat for IP-Filter 139#options IPFILTER_DEFAULT_BLOCK # block all packets by default 140#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 141 142#options ALTQ # Manipulate network interfaces' output queues 143#options ALTQ_BLUE # Stochastic Fair Blue 144#options ALTQ_CBQ # Class-Based Queueing 145#options ALTQ_CDNR # Diffserv Traffic Conditioner 146#options ALTQ_FIFOQ # First-In First-Out Queue 147#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 148#options ALTQ_HFSC # Hierarchical Fair Service Curve 149#options ALTQ_LOCALQ # Local queueing discipline 150#options ALTQ_PRIQ # Priority Queueing 151#options ALTQ_RED # Random Early Detection 152#options ALTQ_RIO # RED with IN/OUT 153#options ALTQ_WFQ # Weighted Fair Queueing 154 155# 156# Amiga specific options 157# 158options RETINACONSOLE # enable code to allow retina to be console 159options ULOWELLCONSOLE # enable code to allow a2410 to be console 160options CL5426CONSOLE # Cirrus console 161options CV64CONSOLE # CyberVision console 162options TSENGCONSOLE # Tseng console 163options CV3DCONSOLE # CyberVision 64/3D console 164 165options GRF_ECS # Enhanced Chip Set 166options GRF_NTSC # NTSC 167options GRF_PAL # PAL 168options GRF_A2024 # Support for the A2024 169options GRF_AGA # AGA Chip Set 170options GRF_AGA_VGA # AGA VGAONLY timing 171options GRF_SUPER72 # AGA Super-72 172#options KFONT_8X11 # 8x11 font 173 174# select a font for the console according to the character set and keymap 175# you want to use 176options KFONT_CONS_ISO8859_1 177#options KFONT_CONS_ISO8859_2 178 179# This is how you would tell the kernel the A2410 oscillator frequencies: 180# The used frequencies are the defaults, and do not need option setting 181#options ULOWELL_OSC1=36000000 182#options ULOWELL_OSC2=66667000 183 184# This is how you specify the blitting speed, higher values may speed up blits 185# a littel bit. If you raise this value too much some trash may appear. 186# the commented version is the default. 187#options RH_MEMCLK=61000000 188# this option enables the 64 bit sprite which does not work 189# for quite a few people. E.g. The cursor sprite will turn to a block 190# when moved to the top of the screen in X. 191#options RH_64BIT_SPRITE 192# enables fast scroll code appears to now work on 040 systems. 193#options RETINA_SPEED_HACK 194# enables the Hardwarecursor which does not work on some systems. 195#options RH_HARDWARECURSOR 196 197# 198# Device configuration 199# 200mainbus0 at root 201cpu0 at mainbus0 202kbd0 at mainbus0 # Amiga keyboard 203zbus0 at mainbus0 # ZorroII/III expansion bus 204ser0 at mainbus0 # Amiga onboard serial 205par0 at mainbus0 # Amiga onboard parallel 206ms* at mainbus0 # Amiga mice 207fdc0 at mainbus0 # Amiga FDC 208fd* at fdc0 unit ? # floppy disks on the later 209a34kbbc0 at mainbus0 # A3000/A4000 battery backed clock 210aucc* at mainbus0 # Amiga CC audio 211audio* at aucc? 212 213spkr* at audio? # PC speaker (synthesized) 214 215# wscons aware interface to amiga custom chips. 216# If you enable it enable also wskbd. 217#amidisplaycc0 at mainbus0 # wscons interface to custom chips 218#wsdisplay0 at amidisplaycc0 console ? 219#options WSEMUL_VT100 220#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 221#options FONT_VT220L8x10 222#options FONT_VT220ISO8x16 223# 224# Keyboard device. Optionally can attach a wskbd. 225# wskbd works together with a wsdisplay so enable them both if you will. 226# Don't enable wskbd if you use ite. 227# 228# XXX in std.amiga: kbd0 at mainbus0 229#wskbd0 at kbd0 console ? 230#wsmouse* at ms? 231 232# 233# Graphics devices 234# 235grfcc0 at mainbus0 # custom chips 236grfrt0 at zbus0 # retina II 237grfrh0 at zbus0 # retina III 238grfcl* at zbus0 # Picasso II/Piccolo/Spectrum 239grful0 at zbus0 # A2410 240grfcv0 at zbus0 # CyberVision 64 241grfet* at zbus0 # Tseng (oMniBus, Domino, Merlin) 242grfcv3d0 at zbus0 # CyberVision 64/3D 243 244grf0 at grfcc0 245grf1 at grfrt0 246grf2 at grfrh0 247grf3 at grfcl? 248grf4 at grful0 249grf5 at grfcv0 250grf6 at grfet? 251grf7 at grfcv3d0 252ite0 at grf0 # terminal emulators for grfs 253ite1 at grf1 # terminal emulators for grfs 254ite2 at grf2 # terminal emulators for grfs 255ite3 at grf3 # terminal emulators for grfs 256ite4 at grf4 # terminal emulators for grfs 257ite5 at grf5 # terminal emulators for grfs 258ite6 at grf6 # terminal emulators for grfs 259ite7 at grf7 # terminal emulators for grfs 260 261# Needs wscons 262#mntva* at zbus? # MNTMN VA2000 263#options MNTVA_CONSOLE 264 265# 266# Zorro-II, Zorro-III devices (sans graphics) 267# 268repulse* at zbus0 # ALiENDESiGN Repulse 269audio* at repulse? 270 271toccata* at zbus0 # MacroSystem GmbH Toccata 272audio* at toccata? 273 274# Ethernet cards: 275le* at zbus0 # A2065, Ameristar, Ariadne 276ne* at zbus0 # AriadneII, X-surf 277ed* at zbus0 # Hydra, ASDG LanRover 278es* at zbus0 # CEI A4066 EthernetPLUS 279qn* at zbus0 # Quicknet 280 281# Arcnet 282bah* at zbus0 # C=/Ameristar A2060 / 560 283 284# Greater Valley Product Bus 285gvpbus* at zbus0 286 287# scsi stuff, all possible 288gtsc0 at gvpbus? # GVP series II scsi 289scsibus* at gtsc0 290ahsc0 at mainbus0 # A3000 scsi 291scsibus* at ahsc0 292atzsc0 at zbus0 # A2091 scsi 293scsibus* at atzsc0 294wstsc0 at zbus0 # Wordsync II scsi 295scsibus* at wstsc0 296ivsc0 at zbus0 # IVS scsi 297scsibus* at ivsc0 298mlhsc0 at zbus0 # Hacker scsi 299scsibus* at mlhsc0 300otgsc0 at zbus0 # 12 gauge scsi 301scsibus* at otgsc0 302zssc0 at zbus0 # Zeus scsi 303scsibus* at zssc0 304mgnsc0 at zbus0 # Magnum scsi 305scsibus* at mgnsc0 306wesc0 at zbus0 # Warp Engine scsi 307scsibus* at wesc0 308bppcsc0 at zbus0 # BlizzardPPC 603e+ scsi 309scsibus* at bppcsc0 310afsc0 at zbus0 # A4091 scsi 311scsibus* at afsc0 312aftsc0 at mainbus0 # A4000T scsi 313scsibus* at aftsc0 314flsc0 at zbus0 # FastlaneZ3 scsi 315scsibus* at flsc0 316bzsc0 at zbus0 # Blizzard 1230 I,II scsi 317scsibus* at bzsc0 318bzivsc0 at zbus0 # Blizzard 12x0 IV scsi 319scsibus* at bzivsc0 320bztzsc0 at zbus0 # Blizzard 2060 scsi 321scsibus* at bztzsc0 322cbsc0 at zbus0 # CyberSCSI I 323scsibus* at cbsc0 324cbiisc0 at zbus0 # CyberSCSI II 325scsibus* at cbiisc0 326cbiiisc0 at zbus0 # Cyberstorm mk.III/Cyberstorm PPC SCSI 327scsibus* at cbiiisc0 328empsc0 at zbus0 # Emplant scsi 329scsibus* at empsc0 330 331wdc0 at mainbus0 # A4000 & A1200 IDE bus 332wdc* at zbus0 # Buddha / Catweasel 333 334atabus* at wdc? channel ? # ATA bus 335wd* at atabus? drive ? # + drives 336atapibus* at atabus? # ATAPI bus 337cd* at atapibus? drive ? # ATAPI CD-ROM drives 338sd* at atapibus? drive ? # ATAPI disk drives 339 340pccard0 at mainbus0 341pcmcia* at pccard0 342com* at pcmcia? function ? # Modems and serial cards 343pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards 344aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 345wdc* at pcmcia? function ? 346awi* at pcmcia? function ? # BayStack 650 (802.11FH) 347ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 348mbe* at pcmcia? function ? # MB8696x based Ethernet 349ne* at pcmcia? function ? # NE2000-compatible Ethernet 350sm* at pcmcia? function ? # Megahertz Ethernet 351mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards 352com* at mhzc? 353sm* at mhzc? 354 355# each hard drive from low target to high 356# will configure to the next available sd unit number 357sd* at scsibus? target ? lun ? # scsi disks 358st* at scsibus? target ? lun ? # scsi tapes 359cd* at scsibus? target ? lun ? # scsi cds 360ch* at scsibus? target ? lun ? # scsi autochangers 361ss* at scsibus? target ? lun ? # scsi scanner 362uk* at scsibus? target ? lun ? # scsi unknown 363 364msc0 at zbus0 # A2232 MSC multiport serial. 365mfc0 at zbus0 # MultiFaceCard I/O board 366mfcs0 at mfc0 unit 0 # MFC serial 367mfcs1 at mfc0 unit 1 # MFC serial 368#mfcp0 at mfc0 unit 0 # MFC parallel [not available yet] 369#mfc1 at zbus0 # MultiFaceCard 2nd I/O board 370#mfcs2 at mfc1 unit 0 371#mfcs3 at mfc1 unit 1 372#mfcp1 at mfc1 unit 0 373 374hyper* at zbus? # zbus HyperCom3/3+/4/4+ 375#hyper* at mainbus0 # not yet: HyperCom1 + HyperCom3 376com* at hyper? port ? # Hypercom3/4 serial ports 377lpt* at hyper? port ? # Hypercom3+/4+ parallel port 378 379#options IOBZCLOCK=22118400 # default, uncomment the next line 380#options IOBZCLOCK=24000000 # if needed. 381 382iobl* at zbus? # zbus IOBlix 383com* at iobl? port ? # IOBlix serial ports 384lpt* at iobl? port ? # IOBlix parallel ports 385 386 387# 388# accept filters 389pseudo-device accf_data # "dataready" accept filter 390pseudo-device accf_http # "httpready" accept filter 391 392pseudo-device loop # loopback network interface 393pseudo-device sl # SLIP network interfaces 394pseudo-device ppp # PPP network interfaces 395pseudo-device pppoe # PPP over Ethernet (RFC 2516) 396pseudo-device tun # network tunnel line discipline 397pseudo-device tap # virtual Ethernet 398#pseudo-device gre # generic L3 over IP tunnel 399pseudo-device bpfilter # Berkeley packet filter 400#pseudo-device carp # Common Address Redundancy Protocol 401pseudo-device ipfilter # IP Filter package 402pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 403#pseudo-device faith # IPv[46] tcp relay translation i/f 404pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 405pseudo-device vlan # IEEE 802.1q encapsulation 406pseudo-device bridge # simple inter-network bridging 407#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 408pseudo-device agr # IEEE 802.3ad link aggregation 409#pseudo-device pf # PF packet filter 410#pseudo-device pflog # PF log if 411pseudo-device fss # file system snapshot device 412 413pseudo-device view 4 # views (needed for grfcc) 414pseudo-device pty # pseudo-terminals 415pseudo-device clockctl # user control of clock subsystem 416 417#pseudo-device wsfont # wsfont(4) dynamic font loading support 418#pseudo-device wsmux # mouse & keyboard multiplexor 419 420pseudo-device vnd # vnode pseudo-disks 421#options VND_COMPRESSION # compressed vnd(4) 422pseudo-device ccd # concatenated disk devices 423#pseudo-device cgd # cryptographic disk devices 424pseudo-device raid # RAIDframe disk driver 425options RAID_AUTOCONFIG # auto-configuration of RAID components 426# Options to enable various other RAIDframe RAID types. 427# options RF_INCLUDE_EVENODD=1 428# options RF_INCLUDE_RAID5_RS=1 429# options RF_INCLUDE_PARITYLOGGING=1 430# options RF_INCLUDE_CHAINDECLUSTER=1 431# options RF_INCLUDE_INTERDECLUSTER=1 432# options RF_INCLUDE_PARITY_DECLUSTERING=1 433# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 434 435#options RND_COM # use "com" randomness as well (BROKEN) 436 437pseudo-device ksyms # /dev/ksyms (kernel symbols) 438pseudo-device nsmb # experimental - SMB requester 439 440# Veriexec 441# 442# a pseudo device needed for veriexec 443#pseudo-device veriexec 444# 445# Uncomment the fingerprint methods below that are desired. Note that 446# removing fingerprint methods will have almost no impact on the kernel 447# code size. 448# 449#options VERIFIED_EXEC_FP_SHA256 450#options VERIFIED_EXEC_FP_SHA384 451#options VERIFIED_EXEC_FP_SHA512 452 453# Kernel root file system and dump configuration 454config netbsd root on ? type ? 455