1# $NetBSD: GENERIC,v 1.338 2023/02/12 14:50:38 abs Exp $ 2# 3# This file was automatically created. 4# Changes will be lost when make is run in this directory. 5# 6# Created from: # NetBSD: GENERIC.in,v 1.150 2022/08/07 02:52:23 simonb Exp $ 7# 8## 9# GENERIC machine description file 10# 11# This machine description file is used to generate the default NetBSD 12# kernel. The generic kernel does not include all options, subsystems 13# and device drivers, but should be useful for most applications. 14# 15# The machine description file can be customised for your specific 16# machine to reduce the kernel size and improve its performance. 17# 18# For further information on compiling NetBSD kernels, see the config(8) 19# man page. 20# 21# For further information on hardware support for this architecture, see 22# the intro(4) man page. For further information about kernel options 23# for this architecture, see the options(4) man page. For an explanation 24# of each device driver in this file see the section 4 man page for the 25# device. 26 27 28include "arch/amiga/conf/std.amiga" 29 30options INCLUDE_CONFIG_FILE # embed config file in kernel binary 31 32#ident "GENERIC-$Revision: 1.338 $" 33 34makeoptions COPTS="-O2 -fno-reorder-blocks -fno-omit-frame-pointer" 35 # See share/mk/sys.mk. -fno-omit-frame-pointer is necessary for 36 # backtraces in DDB. 37 38maxusers 8 39options RTC_OFFSET=0 40 41# 42# mainboards to support (in addition to Amiga) 43# 44options DRACO 45options BB060STUPIDROM # You need this, if you have a non-DraCo 46 # MC68060 with an OS ROM up to (at least) 47 # V40 (OS3.1) and want to boot with the 48 # bootblock. 49 # You do not need this if you have a DraCo, 50 # have no 68060 or NEVER use the bootblock 51options P5PPC68KBOARD # Phase5 PPC/68K board support 52# 53# processors this kernel should support 54# 55options M68060 # support for 060 56options M060SP # MC68060 software support (Required for 060) 57options M68040 # support for 040 58options FPSP # MC68040 floating point support 59options M68030 # support for 030 60options M68020 # support for 020/851 61options FPU_EMULATE # FPU emulation 62 63# 64# Networking options 65# 66options INET # IP networking support (Required) 67options INET6 # IPV6 68#options IPSEC # IP security 69#options IPSEC_DEBUG # debug for IP security 70#options GATEWAY # Packet forwarding 71 72#options MROUTING # Multicast routing 73#options PIM # Protocol Independent Multicast 74options NETATALK # AppleTalk networking protocols 75#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 76 77options PPP_BSDCOMP # BSD-Compress compression support for PPP 78options PPP_DEFLATE # Deflate compression support for PPP 79options PPP_FILTER # Active filter support for PPP (requires bpf) 80 81#options ALTQ # Manipulate network interfaces' output queues 82#options ALTQ_BLUE # Stochastic Fair Blue 83#options ALTQ_CBQ # Class-Based Queueing 84#options ALTQ_CDNR # Diffserv Traffic Conditioner 85#options ALTQ_FIFOQ # First-In First-Out Queue 86#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 87#options ALTQ_HFSC # Hierarchical Fair Service Curve 88#options ALTQ_LOCALQ # Local queueing discipline 89#options ALTQ_PRIQ # Priority Queueing 90#options ALTQ_RED # Random Early Detection 91#options ALTQ_RIO # RED with IN/OUT 92#options ALTQ_WFQ # Weighted Fair Queueing 93 94# Filesystems 95file-system FFS # Berkeley fast file system 96file-system EXT2FS # second extended file system (linux) 97#file-system LFS # log-structured filesystem (experimental) 98 99file-system MFS # Memory based filesystem 100 101file-system NFS # Network File System client side code 102file-system ADOSFS # AmigaDOS file system 103file-system CD9660 # ISO 9660 + Rock Ridge filesystem 104file-system MSDOSFS # MS-DOS filesystem 105 106file-system KERNFS # kernel data-structure filesystem 107 108file-system FDESC # user file descriptor filesystem 109file-system NULLFS # loopback filesystem 110file-system OVERLAY # overlay filesystem 111file-system PROCFS # /proc filesystem 112file-system UMAPFS # NULLFS + uid and gid remapping 113file-system UNION # union filesystem 114file-system PTYFS # /dev/pts/N support 115file-system TMPFS # Efficient memory file-system 116#file-system UDF # experimental - OSTA UDF CD/DVD file-system 117 118# Filesystem options 119 120#options FFS_EI # FFS Endian Independent support 121options WAPBL # File system journaling support 122 123#options FFS_NO_SNAPSHOT # No FFS snapshot support 124options QUOTA # legacy UFS quotas 125options QUOTA2 # new, in-filesystem UFS quotas 126options UFS_DIRHASH # UFS Large Directory Hashing 127options UFS_EXTATTR # Extended attribute support for UFS1 128options NFSSERVER # Network File System server 129 130#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 131 # immutable) behave as system flags. 132 133# 134# Compatibility options for various existing systems 135# 136 137 138include "conf/compat_netbsd09.config" 139 140options COMPAT_SUNOS # Support to run Sun (m68k) executables 141options COMPAT_NOMID # allow nonvalid machine id executables 142#options COMPAT_LINUX # Support to run Linux/m68k executables 143#options COMPAT_OSSAUDIO # Support to run Linux/m68k executables 144 145options EXEC_AOUT # 32-bit aout executables (NetBSD-1.5.x) 146options COMPAT_AOUT_M68K # actually make some system calls work. 147 148# 149# Support for System V IPC facilities. 150# 151options SYSVSHM # System V-like shared memory 152options SYSVMSG # System V-like messages 153options SYSVSEM # System V-like semaphores 154 155# 156# Support for various kernel options 157# 158 159options KTRACE # system call tracing support 160#options INSECURE # disable kernel security levels 161options SCSIVERBOSE # human readable SCSI error messages 162options USERCONF # userconf(4) support 163options NTP # NTP phase/frequency locked loop 164#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 165 166# Alternate buffer queue strategies for better responsiveness under high 167# disk I/O load. 168#options BUFQ_READPRIO 169options BUFQ_PRIOCSCAN 170 171# 172# Misc. debugging options 173# 174options DDB # Kernel debugger 175#options DDB_HISTORY_SIZE=100 # Enable history editing in DDB 176#options DIAGNOSTIC # Extra kernel sanity checks 177#options DEBUG # Enable misc. kernel debugging code 178makeoptions DEBUG="-g" # compile full symbol table 179#options SYSCALL_DEBUG # debug all syscalls. 180#options SCSIDEBUG # Add SCSI debugging statements 181#options PANICBUTTON # Forced crash via keypress (?) 182 183# 184# Amiga specific options 185# 186#options LIMITMEM=24 # Do not use more than LIMITMEM MB of the 187 # first bank of RAM. (default: unlimited) 188 189# ATTENTION: There is NO WARRANTY AT ALL that the sync will be complete 190# before the 10 secondinterval ends, or that KBDRESET does work at all. 191#options KBDRESET # sync on Ctrl-Amiga-Amiga 192 193# These options improve performance with the built-in serial port 194# on slower Amigas. Try the larger buffers first then lev6_defer. 195#options SERIBUF_SIZE=4096 196#options SEROBUF_SIZE=32 197#options LEV6_DEFER # defers l6 to l4 (below serial l5) 198 199#options DEVRELOAD # implement /dev/reload 200# # currently only works for a.out kernels 201 202options RETINACONSOLE # enable code to allow retina to be console 203options ULOWELLCONSOLE # enable code to allow a2410 to be console 204options CL5426CONSOLE # Cirrus console 205options CV64CONSOLE # CyberVision console 206options TSENGCONSOLE # Tseng console 207options CV3DCONSOLE # CyberVision 64/3D console 208 209options GRF_ECS # Enhanced Chip Set 210options GRF_NTSC # NTSC 211options GRF_PAL # PAL 212options GRF_A2024 # Support for the A2024 213options GRF_AGA # AGA Chip Set 214options GRF_AGA_VGA # AGA VGAONLY timing 215options GRF_SUPER72 # AGA Super-72 216#options KFONT_8X11 # 8x11 font 217 218# select a font for the console according to the character set and keymap 219# you want to use 220options KFONT_CONS_ISO8859_1 221#options KFONT_CONS_ISO8859_2 222 223# This is how you would tell the kernel the A2410 oscillator frequencies: 224# The used frequencies are the defaults, and do not need option setting 225#options ULOWELL_OSC1=36000000 226#options ULOWELL_OSC2=66667000 227 228# This is how you specify the blitting speed, higher values may speed up blits 229# a little bit. If you raise this value too much some trash may appear. 230# the commented version is the default. 231#options RH_MEMCLK=61000000 232# this option enables the 64 bit sprite which does not work 233# for quite a few people. E.g. The cursor sprite will turn to a block 234# when moved to the top of the screen in X. 235#options RH_64BIT_SPRITE 236# enables fast scroll code appears to now work on 040 systems. 237#options RETINA_SPEED_HACK 238# enables the Hardwarecursor which does not work on some systems. 239#options RH_HARDWARECURSOR 240 241# wscons aware interface to amiga custom chips. 242# If you enable it enable also wskbd. 243# 244#amidisplaycc0 at mainbus0 # wscons interface to custom chips 245#wsdisplay0 at amidisplaycc0 console ? 246#options WSEMUL_VT100 247#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 248#options FONT_VT220L8x10 249#options FONT_VT220ISO8x16 250 251#z3rambd* at zbus0 # Zorro III RAM block devices 252#altmem* at z3rambd? 253 254p5bus0 at zbus0 # Phase5 CSPPC/BPPC internal bus 255 256grfcc0 at mainbus0 # custom chips 257grfrt0 at zbus0 # retina II 258grfrh0 at zbus0 # retina III 259grfcl* at zbus0 # Picasso II/Piccolo/Spectrum 260grful0 at zbus0 # A2410 261grfcv0 at zbus0 # CyberVision 64 262grfet* at zbus0 # Tseng (oMniBus, Domino, Merlin) 263grfcv3d0 at zbus0 # CyberVision 64/3D 264 265grf0 at grfcc0 266grf1 at grfrt0 267grf2 at grfrh0 268grf3 at grfcl? 269grf4 at grful0 270grf5 at grfcv0 271grf6 at grfet? 272grf7 at grfcv3d0 273ite0 at grf0 # terminal emulators for grfs 274ite1 at grf1 # terminal emulators for grfs 275ite2 at grf2 # terminal emulators for grfs 276ite3 at grf3 # terminal emulators for grfs 277ite4 at grf4 # terminal emulators for grfs 278ite5 at grf5 # terminal emulators for grfs 279ite6 at grf6 # terminal emulators for grfs 280ite7 at grf7 # terminal emulators for grfs 281 282#wsdisplay* at grf5 console ? # wsdisplay on top of grf (CV64) 283#wsdisplay* at grf7 console ? # wsdisplay on top of grf (CV64/3D) 284 285msc0 at zbus0 # A2232 MSC multiport serial. 286mfc0 at zbus0 # MultiFaceCard I/O board 287mfcs0 at mfc0 unit 0 # MFC serial 288mfcs1 at mfc0 unit 1 # MFC serial 289#mfcp0 at mfc0 unit 0 # MFC parallel [not available yet] 290#mfc1 at zbus0 # MultiFaceCard 2nd I/O board 291#mfcs2 at mfc1 unit 0 292#mfcs3 at mfc1 unit 1 293#mfcp1 at mfc1 unit 0 294 295hyper* at zbus? # zbus HyperCom3/3+/4/4+ 296#hyper* at mainbus0 # not yet: HyperCom1 + HyperCom3 297com* at hyper? port ? # Hypercom3/4 serial ports 298lpt* at hyper? port ? # Hypercom3+/4+ parallel port 299 300#options IOBZCLOCK=22118400 # default, uncomment the next line 301#options IOBZCLOCK=24000000 # if needed. 302 303iobl* at zbus? # zbus IOBlix 304com* at iobl? port ? # IOBlix serial ports 305lpt* at iobl? port ? # IOBlix parallel ports 306 307 308# 309# Keyboard device. Optionally can attach a wskbd. 310# wskbd works together with a wsdisplay so enable them both if you will. 311# Don't enable wskbd if you use ite. 312# 313# XXX in std.amiga: kbd0 at mainbus0 314#wskbd0 at kbd0 console ? 315 316 317# 318# Amiga Mainboard devices (sans graphics and keyboard) 319# 320 321ser0 at mainbus0 # Amiga onboard serial 322par0 at mainbus0 # Amiga onboard parallel 323ms* at mainbus0 # Amiga mice 324fdc0 at mainbus0 # Amiga FDC 325fd* at fdc0 unit ? # floppy disks on the later 326a34kbbc0 at mainbus0 # A3000/A4000 battery backed clock 327a2kbbc0 at mainbus0 # A2000 battery backed clock 328aucc* at mainbus0 # Amiga CC audio 329audio* at aucc? 330 331spkr* at audio? # PC speaker (synthesized) 332 333a1k2cp0 at mainbus0 # A1200 on-board clockport 334clockport* at a1k2cp0 335 336#com* at clockport? # Individual Computers SilverSurfer 337 338#wsmouse* at ms? 339 340# 341# DraCo Mainboard devices (sans keyboard) 342# 343 344drbbc0 at mainbus0 # DraCo battery backed clock 345drsupio0 at mainbus0 # DraCo superio chip 346com* at drsupio? port ? # DraCo serial 347lpt0 at drsupio? port ? # DraCo parallel 348 349# 350# Zorro-II, Zorro-III, DraCo Direct-Bus devices (sans graphics) 351# 352 353 354repulse* at zbus0 # ALiENDESiGN Repulse 355audio* at repulse? 356 357toccata* at zbus0 # MacroSystem GmbH Toccata 358audio* at toccata? 359 360# Ethernet cards: 361le* at zbus0 # A2065, Ameristar, Ariadne 362ne* at zbus0 # AriadneII 363ed* at zbus0 # Hydra, ASDG LanRover 364es* at zbus0 # CEI A4066 EthernetPLUS 365qn* at zbus0 # Quicknet 366 367xsh* at zbus0 # X-Surf 100 368ne* at xshbus? # NE2000 chip on X-Surf 100 369 370xsurf* at zbus0 # X-Surf 371ne* at xsurfbus? # NE2000 chip on X-Surf 372gencp* at xsurfbus? # clockports on X-Surf 373wdc* at xsurfbus? # IDE on X-Surf 374 375clockport* at gencp? 376 377# Arcnet 378bah* at zbus0 # C=/Ameristar A2060 / 560 379 380# Greater Valley Product Bus 381gvpbus* at zbus0 382 383# scsi stuff, all possible 384gtsc0 at gvpbus? # GVP series II scsi 385scsibus* at gtsc0 386ahsc0 at mainbus0 # A3000 scsi 387scsibus* at ahsc0 388atzsc0 at zbus0 # A2091 scsi 389scsibus* at atzsc0 390wstsc0 at zbus0 # Wordsync II scsi 391scsibus* at wstsc0 392ivsc0 at zbus0 # IVS scsi 393scsibus* at ivsc0 394mlhsc0 at zbus0 # Hacker scsi 395scsibus* at mlhsc0 396otgsc0 at zbus0 # 12 gauge scsi 397scsibus* at otgsc0 398zssc0 at zbus0 # Zeus scsi 399scsibus* at zssc0 400mgnsc0 at zbus0 # Magnum scsi 401scsibus* at mgnsc0 402wesc0 at zbus0 # Warp Engine scsi 403scsibus* at wesc0 404bppcsc0 at p5bus0 # BlizzardPPC 603e+ scsi 405scsibus* at bppcsc0 406afsc0 at zbus0 # A4091 scsi 407scsibus* at afsc0 408aftsc0 at mainbus0 # A4000T scsi 409scsibus* at aftsc0 410flsc0 at zbus0 # FastlaneZ3 scsi 411scsibus* at flsc0 412bzsc0 at zbus0 # Blizzard 1230 I,II scsi 413scsibus* at bzsc0 414bzivsc0 at zbus0 # Blizzard 12x0 IV scsi 415scsibus* at bzivsc0 416bztzsc0 at zbus0 # Blizzard 2060 scsi 417scsibus* at bztzsc0 418cbsc0 at zbus0 # CyberSCSI I 419scsibus* at cbsc0 420cbiisc0 at zbus0 # CyberSCSI II 421scsibus* at cbiisc0 422cbiiisc0 at p5bus0 # Cyberstorm mk.III/Cyberstorm PPC SCSI 423scsibus* at cbiiisc0 424empsc0 at zbus0 # Emplant scsi 425scsibus* at empsc0 426 427acafh0 at mainbus0 # Individual Computers ACA500 428wdc* at acafhbus? # CF slots on ACA500 429gencp* at acafhbus? # clockport on ACA500 430 431wdc0 at mainbus0 # A4000 & A1200 IDE bus 432wdc* at zbus0 # Buddha / Catweasel 433#efa0 at mainbus0 # ELBOX FastATA 1200 Mk-III/Mk-IV 434 435atabus* at wdc? channel ? # ATA bus 436#atabus* at efa? channel ? # ATA bus 437atabus* at ata? channel ? # ATA bus 438wd* at atabus? drive ? # + drives 439atapibus* at atabus? # ATAPI bus 440cd* at atapibus? drive ? # ATAPI CD-ROM drives 441sd* at atapibus? drive ? # ATAPI disk drives 442 443pccard0 at mainbus0 444pcmcia* at pccard0 445com* at pcmcia? function ? # Modems and serial cards 446pcmcom* at pcmcia? function ? # PCMCIA multi-port serial cards 447aic* at pcmcia? function ? # Adaptec APA-1460 SCSI 448wdc* at pcmcia? function ? 449awi* at pcmcia? function ? # BayStack 650 (802.11FH) 450ep* at pcmcia? function ? # 3Com 3c589 and 3c562 Ethernet 451mbe* at pcmcia? function ? # MB8696x based Ethernet 452ne* at pcmcia? function ? # NE2000-compatible Ethernet 453sm* at pcmcia? function ? # Megahertz Ethernet 454mhzc* at pcmcia? function ? # Megahertz Ethernet/Modem combo cards 455com* at mhzc? 456sm* at mhzc? 457 458nsphyter* at mii? phy ? # NS83843 PHYs 459ukphy* at mii? phy ? # generic unknown PHYs 460 461drsc0 at mainbus0 # DraCo scsi 462scsibus* at drsc0 463 464 465# each hard drive from low target to high 466# will configure to the next available sd unit number 467sd* at scsibus? target ? lun ? # scsi disks 468st* at scsibus? target ? lun ? # scsi tapes 469cd* at scsibus? target ? lun ? # scsi cds 470ch* at scsibus? target ? lun ? # scsi autochangers 471ss* at scsibus? target ? lun ? # scsi scanner 472uk* at scsibus? target ? lun ? # scsi unknown 473 474# PCI bus support 475options PCIVERBOSE # verbose PCI device autoconfig messages 476#options PCI_CONFIG_DUMP 477options PCI_NETBSD_CONFIGURE # supported by mppb(4), p5pb(4), empb(4) 478 479p5pb0 at p5bus0 # Phase5 PCI bridge (CVPPC/BVPPC/G-REX) 480p5membar* at zbus0 # Phase5 PCI bridge autoconfiguring BARs 481#options P5PB_DEBUG # enable excessive debug for p5pb 482#options P5PB_CONSOLE # console on CVPPC/BVPPC/Voodoo3 483pci* at p5pb0 484 485mppb* at zbus0 # Matay Prometheus Zorro-PCI bridge 486pci* at mppb? 487 488empb0 at zbus0 # ELBOX Mediator PCI 1200 489em4k0 at zbus0 # ELBOX Mediator PCI 4000 490emmem0 at zbus0 # ELBOX Mediator PCI memory space 491empm0 at empb0 # ELBOX Mediator PCI Power Management 492pci* at empb0 493pci* at em4k0 494 495#cv3dpb* at zbus0 # CyberVision 64/3D PCI bridge 496 497#genfb* at pci? # generic fb, CVPPC/BVPPC only 498#voodoofb* at pci? # 3Dfx Voodoo 3 in G-REX 499#radeonfb* at pci? # untested 500 501ne* at pci? # NE2000 Ethernet 502satalink* at pci? dev ? function ? flags 0x0002 # SiI SATALink 3112 503 504# Bluetooth Controller and Device support 505# tested only with btuart on an A1200 506 507# Bluetooth PCMCIA Controllers 508bt3c* at pcmcia? function ? # 3Com 3CRWB6096-A 509btbc* at pcmcia? function ? # AnyCom BlueCard LSE041/039/139 510 511# Bluetooth Device Hub 512bthub* at bcsp? 513bthub* at bt3c? 514bthub* at btbc? 515bthub* at btuart? 516 517# Bluetooth HID support 518bthidev* at bthub? 519 520# Bluetooth Mouse 521#btms* at bthidev? reportid ? 522#wsmouse* at btms? mux 0 523 524# Bluetooth Keyboard 525#btkbd* at bthidev? reportid ? 526#wskbd* at btkbd? console ? mux 1 527 528# Bluetooth Apple Magic Mouse 529#btmagic* at bthub? 530#wsmouse* at btmagic? mux 0 531 532# Bluetooth Audio support 533#btsco* at bthub? 534 535# USB 536slhci* at zbus? # Thylacine 537usb* at slhci? 538 539uhub* at usb? 540uhub* at uhub? port ? 541 542uhidev* at uhub? port ? configuration ? interface ? 543uhid* at uhidev? reportid ? 544 545# 546# accept filters 547pseudo-device accf_data # "dataready" accept filter 548pseudo-device accf_http # "httpready" accept filter 549 550pseudo-device loop # loopback network interface 551pseudo-device sl # SLIP network interfaces 552pseudo-device ppp # PPP network interfaces 553pseudo-device pppoe # PPP over Ethernet (RFC 2516) 554pseudo-device tun # network tunnel line discipline 555pseudo-device tap # virtual Ethernet 556#pseudo-device gre # generic L3 over IP tunnel 557pseudo-device bpfilter # Berkeley packet filter 558pseudo-device carp # Common Address Redundancy Protocol 559pseudo-device npf # NPF packet filter 560pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 561#pseudo-device faith # IPv[46] tcp relay translation i/f 562pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 563pseudo-device vlan # IEEE 802.1q encapsulation 564pseudo-device bridge # simple inter-network bridging 565pseudo-device vether # Virtual Ethernet for bridge 566pseudo-device agr # IEEE 802.3ad link aggregation 567pseudo-device fss # file system snapshot device 568pseudo-device putter # for puffs and pud 569 570pseudo-device view 4 # views (needed for grfcc) 571pseudo-device pty # pseudo-terminals 572pseudo-device clockctl # user control of clock subsystem 573pseudo-device drvctl # user control of drive subsystem 574 575#pseudo-device wsfont # wsfont(4) dynamic font loading support 576#pseudo-device wsmux # mouse & keyboard multiplexor 577 578pseudo-device vnd # vnode pseudo-disks 579#options VND_COMPRESSION # compressed vnd(4) 580pseudo-device ccd # concatenated disk devices 581#pseudo-device cgd # cryptographic disk devices 582pseudo-device raid # RAIDframe disk driver 583options RAID_AUTOCONFIG # auto-configuration of RAID components 584# Options to enable various other RAIDframe RAID types. 585# options RF_INCLUDE_EVENODD=1 586# options RF_INCLUDE_RAID5_RS=1 587# options RF_INCLUDE_PARITYLOGGING=1 588# options RF_INCLUDE_CHAINDECLUSTER=1 589# options RF_INCLUDE_INTERDECLUSTER=1 590# options RF_INCLUDE_PARITY_DECLUSTERING=1 591# options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 592 593#options RND_COM # use "com" randomness as well (BROKEN) 594 595pseudo-device ksyms # /dev/ksyms (kernel symbols) 596pseudo-device bcsp # BlueCore Serial Protocol 597pseudo-device btuart # Bluetooth HCI UART (H4) 598pseudo-device swwdog # software watchdog timer -- swwdog(4) 599 600# Veriexec 601include "dev/veriexec.config" 602 603config netbsd root on ? type ? 604 605# Pull in optional local configuration - always at end 606cinclude "arch/amiga/conf/GENERIC.local" 607