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