1# $NetBSD: GENERIC,v 1.139 2024/01/29 18:27:11 christos 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/dreamcast/conf/std.dreamcast" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25maxusers 16 # estimated number of users 26 27# Standard system options 28#options INSECURE # disable kernel security levels 29 30#options RTC_OFFSET=-540 31options HZ=100 # clock interrupt generates every 1/HZ sec 32options NTP # NTP phase/frequency locked loop 33 34options KTRACE # system call tracing via ktrace(1) 35 36options USERCONF # userconf(4) support 37#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 38options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 39 40options SYSVMSG # System V-like message queues 41options SYSVSEM # System V-like semaphores 42options SYSVSHM # System V-like memory sharing 43 44#options MODULAR # new style module(7) framework 45#options MODULAR_DEFAULT_AUTOLOAD 46 47# Diagnostic/debugging support options 48#options DIAGNOSTIC # cheap kernel consistency checks 49#options DEBUG # expensive debugging checks/support 50options DDB # in-kernel debugger 51#options KGDB # remote debugger 52#options KGDB_DEVNAME="\"scif\"",KGDB_DEVRATE=57600 53#makeoptions DEBUG="-g" # compile full symbol table 54makeoptions COPY_SYMTAB=1 55#options SYSCALL_DEBUG 56#options UVMHIST 57#options UVMHIST_PRINT 58 59# Compatibility options 60include "conf/compat_netbsd16.config" 61 62# Executable format options 63options EXEC_COFF # COFF executables 64 65# File systems 66file-system FFS # UFS 67#file-system EXT2FS # second extended file system (linux) 68#file-system LFS # log-structured file system 69file-system MFS # memory file system 70file-system NFS # Network File System client 71file-system CD9660 # CD-ROM file system 72#file-system MSDOSFS # MS-DOS file system 73file-system FDESC # /dev/fd 74file-system KERNFS # /kern 75file-system PROCFS # /proc 76#file-system NULLFS # loopback file system 77#file-system OVERLAY # overlay file system 78#file-system UMAPFS # NULLFS + uid and gid remapping 79file-system UNION # union file system 80file-system PTYFS # /dev/pts/N support 81file-system TMPFS # Efficient memory file-system 82#file-system UDF # experimental - OSTA UDF CD/DVD file-system 83 84# File system options 85#options FFS_EI # FFS Endian Independent support 86options FFS_NO_SNAPSHOT # No FFS snapshot support 87#options QUOTA # legacy UFS quotas 88#options QUOTA2 # new, in-filesystem UFS quotas 89#options UFS_DIRHASH # UFS Large Directory Hashing 90#options UFS_EXTATTR # Extended attribute support for UFS1 91options WAPBL # File system journaling support 92#options NFSSERVER # Network File System server 93 94# Networking options 95options INET # IP + ICMP + TCP + UDP 96options INET6 # IPV6 97#options IPSEC # IP security 98#options IPSEC_DEBUG # debug for IP security 99#options MROUTING # IP multicast routing 100#options PIM # Protocol Independent Multicast 101#options NETATALK # AppleTalk networking protocols 102#options PPP_BSDCOMP # BSD-Compress compression support for PPP 103#options PPP_DEFLATE # Deflrate compression support for PPP 104#options PPP_FILTER # Active filter support for PPP (requires bpf) 105#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 106 107#options ALTQ # Manipulate network interfaces' output queues 108#options ALTQ_BLUE # Stochastic Fair Blue 109#options ALTQ_CBQ # Class-Based Queueing 110#options ALTQ_CDNR # Diffserv Traffic Conditioner 111#options ALTQ_FIFOQ # First-In First-Out Queue 112#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 113#options ALTQ_HFSC # Hierarchical Fair Service Curve 114#options ALTQ_LOCALQ # Local queueing discipline 115#options ALTQ_PRIQ # Priority Queueing 116#options ALTQ_RED # Random Early Detection 117#options ALTQ_RIO # RED with IN/OUT 118#options ALTQ_WFQ # Weighted Fair Queueing 119 120#options PCIVERBOSE # verbose PCI device autoconfig messages 121#options MIIVERBOSE # verbose PHY autoconfig messages 122#options PCI_CONFIG_DUMP # verbosely dump PCI config space 123 124options NFS_BOOT_DHCP # Support DHCP NFS root 125 126options KLOADER # in-kernel bootloader 127#options KLOADER_DEBUG 128 129# wscons options 130options WSEMUL_VT100 # VT100 / VT220 emulation 131options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 132options FONT_BOLD8x16 133#options FONT_SONY8x16 134 135# Kernel root file system and dump configuration. 136#config netbsd root on ? type nfs 137#config netbsd root on wd0a type ffs 138config netbsd root on ? type ? 139 140# 141# Device configuration 142# 143 144mainbus0 at root 145 146cpu* at mainbus? 147shb* at mainbus? 148 149# Serial Devices 150#options SCIFCONSOLE 151options SCIFCN_SPEED=57600 152scif0 at shb? 153 154pvr0 at shb? 155wsdisplay* at pvr? console ? 156 157maple0 at shb? 158 159mkbd* at maple? port ? subunit ? 160wskbd* at mkbd? mux 1 console ? 161 162mms* at maple? port ? subunit ? 163wsmouse* at mms? mux 0 164 165mmem* at maple? port ? subunit ? 166mlcd* at maple? port ? subunit ? 167 168gdrom0 at shb? 169 170g2bus0 at shb? 171g2rtc0 at g2bus? # time-of-day clock 172gapspci* at g2bus? # GAPS PCI bridge 173pci* at gapspci? 174rtk* at pci? dev ? function ? # SEGA Broadband Adapter 175rlphy* at mii? phy ? 176 177mbe* at g2bus? # SEGA LAN Adapter 178 179aica* at g2bus? # AICA Sound Processing Unit 180audio* at audiobus? 181 182spkr* at audio? # PC speaker (synthesized) 183 184#pseudo-device cgd # cryptographic disk devices 185pseudo-device md # memory disk device (ramdisk) 186pseudo-device vnd # disk-like interface to files 187#options VND_COMPRESSION # compressed vnd(4) 188 189# network pseudo-devices 190pseudo-device bpfilter # Berkeley packet filter 191#pseudo-device carp # Common Address Redundancy Protocol 192#pseudo-device npf # NPF packet filter 193pseudo-device loop # network loopback 194#pseudo-device ppp # Point-to-Point Protocol 195#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 196#pseudo-device sl # Serial Line IP 197#pseudo-device tun # network tunneling over tty 198#pseudo-device tap # virtual Ethernet 199#pseudo-device gre # generic L3 over IP tunnel 200#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 201#pseudo-device faith # IPv[46] tcp relay translation i/f 202#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 203#pseudo-device vlan # IEEE 802.1q encapsulation 204#pseudo-device bridge # simple inter-network bridging 205#pseudo-device vether # Virtual Ethernet for bridge 206#pseudo-device agr # IEEE 802.3ad link aggregation 207 208# 209# accept filters 210pseudo-device accf_data # "dataready" accept filter 211pseudo-device accf_http # "httpready" accept filter 212 213# miscellaneous pseudo-devices 214pseudo-device pty # pseudo-terminals 215pseudo-device clockctl # user control of clock subsystem 216pseudo-device drvctl # user control of drive subsystem 217pseudo-device wsmux # mouse & keyboard multiplexor 218pseudo-device ksyms # /dev/ksyms 219pseudo-device swwdog # software watchdog timer -- swwdog(4) 220 221# Veriexec 222# include "dev/veriexec.config" 223 224# Pull in optional local configuration - always at end 225cinclude "arch/dreamcast/conf/GENERIC.local" 226