1# $NetBSD: GENERIC,v 1.75 2006/09/05 11:09:36 uwe 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#options SYSTRACE # system call vetting via sistrace(1) 36 37options USERCONF # userconf(4) support 38#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 39options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 40 41options SYSVMSG # System V-like message queues 42options SYSVSEM # System V-like semaphores 43#options SEMMNI=10 # number of semaphore identifiers 44#options SEMMNS=60 # number of semaphores in system 45#options SEMUME=10 # max number of undo entries per process 46#options SEMMNU=30 # number of undo structures in system 47options SYSVSHM # System V-like memory sharing 48#options SHMMAXPGS=1024 # 1024 pages is the default 49options P1003_1B_SEMAPHORE # p1003.1b semaphore support 50 51# Diagnostic/debugging support options 52#options DIAGNOSTIC # cheap kernel consistency checks 53#options DEBUG # expensive debugging checks/support 54#options KMEMSTATS # kernel memory statistics (vmstat -m) 55options DDB # in-kernel debugger 56#options KGDB # remote debugger 57#options "KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600 58#makeoptions DEBUG="-g" # compile full symbol table 59options SYMTAB_SPACE=250000 60#options SYSCALL_DEBUG 61#options UVMHIST 62#options UVMHIST_PRINT 63 64# Compatibility options 65options COMPAT_16 # NetBSD 1.6, 66options COMPAT_20 # NetBSD 2.0, 67options COMPAT_30 # NetBSD 3.0 compatibility. 68options COMPAT_43 # and 4.3BSD 69#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 70options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 71 72# Executable format options 73options EXEC_COFF # COFF executables 74options EXEC_ELF32 # 32-bit ELF executables 75 76# File systems 77file-system FFS # UFS 78#file-system EXT2FS # second extended file system (linux) 79#file-system LFS # log-structured file system 80file-system MFS # memory file system 81file-system NFS # Network File System client 82file-system CD9660 # CD-ROM file system 83#file-system MSDOSFS # MS-DOS file system 84file-system FDESC # /dev/fd 85file-system KERNFS # /kern 86file-system PROCFS # /proc 87#file-system NULLFS # loopback file system 88#file-system OVERLAY # overlay file system 89#file-system PORTAL # portal file system (still experimental) 90#file-system UMAPFS # NULLFS + uid and gid remapping 91#file-system UNION # union file system 92#file-system PTYFS # /dev/pts/N support 93#file-system TMPFS # experimental - Efficient memory file-system 94#file-system UDF # experimental - OSTA UDF CD/DVD file-system 95 96# File system options 97#options QUOTA # UFS quotas 98#options FFS_EI # FFS Endian Independent supoprt 99#options SOFTDEP # FFS soft updates support 100#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 101#options NFSSERVER # Network File System server 102options FFS_NO_SNAPSHOT # No FFS snapshot support 103#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 104 # immutable) behave as system flags. 105 106# Networking options 107options INET # IP + ICMP + TCP + UDP 108options INET6 # IPV6 109#options IPSEC # IP security 110#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 111#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 112#options IPSEC_DEBUG # debug for IP security 113#options MROUTING # IP multicast routing 114#options PIM # Protocol Independent Multicast 115#options ISO,TPIP # OSI 116#options EON # OSI tunneling over IP 117#options NETATALK # AppleTalk networking protocols 118#options PPP_BSDCOMP # BSD-Compress compression support for PPP 119#options PPP_DEFLATE # Deflrate compression support for PPP 120#options PPP_FILTER # Active filter support for PPP (requires bpf) 121#options PFIL_HOOKS # pfil(9) packet filter hooks 122#options IPFILTER_LOG # ipmon(8) log support 123#options IPFILTER_LOOKUP # ippool(8) support 124#options IPFILTER_DEFAULT_BLOCK # block all packets by default 125#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 126 127#options ALTQ # Manipulate network interfaces' output queues 128#options ALTQ_BLUE # Stochastic Fair Blue 129#options ALTQ_CBQ # Class-Based Queueing 130#options ALTQ_CDNR # Diffserv Traffic Conditioner 131#options ALTQ_FIFOQ # First-In First-Out Queue 132#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 133#options ALTQ_HFSC # Hierarchical Fair Service Curve 134#options ALTQ_LOCALQ # Local queueing discipline 135#options ALTQ_PRIQ # Priority Queueing 136#options ALTQ_RED # Random Early Detection 137#options ALTQ_RIO # RED with IN/OUT 138#options ALTQ_WFQ # Weighted Fair Queueing 139 140#options PCIVERBOSE # verbose PCI device autoconfig messages 141#options MIIVERBOSE # verbose PHY autoconfig messages 142#options PCI_CONFIG_DUMP # verbosely dump PCI config space 143 144options NFS_BOOT_DHCP # Support DHCP NFS root 145 146options KLOADER # in-kernel bootloader 147#options KLOADER_DEBUG 148 149# wscons options 150options WSEMUL_VT100 # VT100 / VT220 emulation 151options FONT_BOLD8x16 152#options FONT_SONY8x16 153 154# Kernel root file system and dump configuration. 155#config netbsd root on ? type nfs 156#config netbsd root on wd0a type ffs 157config netbsd root on ? type ? 158 159# 160# Device configuration 161# 162 163mainbus0 at root 164 165cpu* at mainbus? 166shb* at mainbus? 167 168# Serial Devices 169#options SCIFCONSOLE 170options SCIFCN_SPEED=57600 171scif0 at shb? 172 173pvr0 at shb? 174wsdisplay* at pvr? console ? 175 176maple0 at shb? 177 178mkbd* at maple? port ? subunit ? 179wskbd* at mkbd? mux 1 console ? 180 181mms* at maple? port ? subunit ? 182wsmouse* at mms? mux 0 183 184mmem* at maple? port ? subunit ? 185mlcd* at maple? port ? subunit ? 186 187gdrom0 at shb? 188 189g2bus0 at shb? 190g2rtc0 at g2bus? # time-of-day clock 191gapspci* at g2bus? # GAPS PCI bridge 192pci* at gapspci? 193rtk* at pci? dev ? function ? # SEGA Broadband Adapter 194ukphy* at mii? phy ? 195 196mbe* at g2bus? # SEGA LAN Adapter 197 198aica* at g2bus? # AICA Sound Processing Unit 199audio* at aica? 200 201#pseudo-device cgd 2 # cryptographic disk devices 202pseudo-device md 1 # memory disk device (ramdisk) 203pseudo-device vnd # disk-like interface to files 204#options VND_COMPRESSION # compressed vnd(4) 205 206# network pseudo-devices 207pseudo-device bpfilter # Berkeley packet filter 208#pseudo-device carp # Common Address Redundancy Protocol 209#pseudo-device ipfilter # IP filter (firewall) and NAT 210pseudo-device loop # network loopback 211#pseudo-device ppp # Point-to-Point Protocol 212#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 213#pseudo-device sl # Serial Line IP 214#pseudo-device tun # network tunneling over tty 215#pseudo-device tap # virtual Ethernet 216#pseudo-device gre # generic L3 over IP tunnel 217#pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 218#pseudo-device faith # IPv[46] tcp relay translation i/f 219#pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 220#pseudo-device vlan # IEEE 802.1q encapsulation 221#pseudo-device bridge # simple inter-network bridging 222#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 223 224# miscellaneous pseudo-devices 225pseudo-device pty # pseudo-terminals 226pseudo-device rnd # /dev/random and in-kernel generator 227pseudo-device clockctl # user control of clock subsystem 228pseudo-device wsmux # mouse & keyboard multiplexor 229pseudo-device ksyms # /dev/ksyms 230#pseudo-device pf # PF packet filter 231#pseudo-device pflog # PF log if 232 233# Veriexec 234# 235# a pseudo device needed for veriexec 236#pseudo-device veriexec 1 237# 238# Uncomment the fingerprint methods below that are desired. Note that 239# removing fingerprint methods will have almost no impact on the kernel 240# code size. 241# 242#options VERIFIED_EXEC_FP_RMD160 243#options VERIFIED_EXEC_FP_SHA256 244#options VERIFIED_EXEC_FP_SHA384 245#options VERIFIED_EXEC_FP_SHA512 246#options VERIFIED_EXEC_FP_SHA1 247#options VERIFIED_EXEC_FP_MD5 248