1# $NetBSD: GENERIC,v 1.36 2003/06/14 16:28:32 tsutsui 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) 35options SYSTRACE # system call vetting via sistrace(1) 36 37options USERCONF # userconf(4) support 38#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 39 40options SYSVMSG # System V-like message queues 41options SYSVSEM # System V-like semaphores 42#options SEMMNI=10 # number of semaphore identifiers 43#options SEMMNS=60 # number of semaphores in system 44#options SEMUME=10 # max number of undo entries per process 45#options SEMMNU=30 # number of undo structures in system 46options SYSVSHM # System V-like memory sharing 47#options SHMMAXPGS=1024 # 1024 pages is the default 48 49# Diagnostic/debugging support options 50options DIAGNOSTIC # cheap kernel consistency checks 51#options DEBUG # expensive debugging checks/support 52#options KMEMSTATS # kernel memory statistics (vmstat -m) 53options DDB # in-kernel debugger 54#options KGDB # remote debugger 55#options "KGDB_DEVNAME=\"scif\"",KGDB_DEVRATE=57600 56#makeoptions DEBUG="-g" # compile full symbol table 57options SYMTAB_SPACE=194000 58#options SYSCALL_DEBUG 59#options UVMHIST 60#options UVMHIST_PRINT 61 62# Compatibility options 63options COMPAT_43 # and 4.3BSD 64#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 65 66# Executable format options 67options EXEC_COFF # COFF executables 68options EXEC_ELF32 # 32-bit ELF executables 69 70# File systems 71file-system FFS # UFS 72#file-system EXT2FS # second extended file system (linux) 73#file-system LFS # log-structured file system 74file-system MFS # memory file system 75file-system NFS # Network File System client 76file-system CD9660 # CD-ROM file system 77#file-system MSDOSFS # MS-DOS file system 78file-system FDESC # /dev/fd 79file-system KERNFS # /kern 80file-system PROCFS # /proc 81#file-system NULLFS # loopback file system 82#file-system OVERLAY # overlay file system 83#file-system PORTAL # portal file system (still experimental) 84#file-system UMAPFS # NULLFS + uid and gid remapping 85#file-system UNION # union file system 86 87# File system options 88#options QUOTA # UFS quotas 89#options FFS_EI # FFS Endian Independent supoprt 90#options SOFTDEP # FFS soft updates support 91#options NFSSERVER # Network File System server 92#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 93 # immutable) behave as system flags. 94 95# Networking options 96options INET # IP + ICMP + TCP + UDP 97options INET6 # IPV6 98#options IPSEC # IP security 99#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 100#options IPSEC_DEBUG # debug for IP security 101#options MROUTING # IP multicast routing 102#options NS # XNS 103#options NSIP # XNS tunneling over IP 104#options ISO,TPIP # OSI 105#options EON # OSI tunneling over IP 106#options CCITT,LLC, HDLC # X.25 107#options NETATALK # AppleTalk networking protocols 108#options PPP_BSDCOMP # BSD-Compress compression support for PPP 109#options PPP_DEFLATE # Deflrate compression support for PPP 110#options PPP_FILTER # Active filter support for PPP (requires bpf) 111#options PFIL_HOOKS # pfil(9) packet filter hooks 112#options IPFILTER_LOG # ipmon(8) log support 113#options IPFILTER_DEFAULT_BLOCK # block all packets by default 114#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 115 116#options PCIVERBOSE # verbose PCI device autoconfig messages 117#options MIIVERBOSE # verbose PHY autoconfig messages 118#options PCI_CONFIG_DUMP # verbosely dump PCI config space 119 120options NFS_BOOT_DHCP # Support DHCP NFS root 121 122# wscons options 123options WSEMUL_VT100 # VT100 / VT220 emulation 124options FONT_BOLD8x16 125#options FONT_SONY8x16 126 127# Kernel root file system and dump configuration. 128#config netbsd root on ? type nfs 129#config netbsd root on wd0a type ffs 130config netbsd root on ? type ? 131 132# 133# Device configuration 134# 135 136mainbus0 at root 137 138cpu* at mainbus? 139shb* at mainbus? 140 141# Serial Devices 142#options SCIFCONSOLE 143options SCIFCN_SPEED=57600 144scif0 at shb? 145 146pvr0 at shb? 147wsdisplay* at pvr? console ? 148 149maple0 at shb? 150 151mkbd* at maple? port ? subunit ? 152wskbd* at mkbd? mux 1 console ? 153 154mms* at maple? port ? subunit ? 155wsmouse* at mms? mux 0 156 157mmem* at maple? port ? subunit ? 158mlcd* at maple? port ? subunit ? 159 160gdrom0 at shb? 161 162g2bus0 at shb? 163gapspci* at g2bus? # GAPS PCI bridge 164pci* at gapspci? 165rtk* at pci? dev ? function ? # SEGA Broadband Adapter 166ukphy* at mii? phy ? 167 168mbe* at g2bus? # SEGA LAN Adapter 169 170#pseudo-device cgd 2 # cryptographic disk devices 171pseudo-device md 1 # memory disk device (ramdisk) 172pseudo-device vnd 2 # disk-like interface to files 173 174# network pseudo-devices 175pseudo-device bpfilter 4 # Berkeley packet filter 176#pseudo-device ipfilter # IP filter (firewall) and NAT 177pseudo-device loop # network loopback 178#pseudo-device ppp 1 # Point-to-Point Protocol 179#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 180#pseudo-device sl 1 # Serial Line IP 181#pseudo-device tun 1 # network tunneling over tty 182#pseudo-device gre 1 # generic L3 over IP tunnel 183#pseudo-device gif 1 # IPv[46] over IPv[46] tunnel (RFC1933) 184#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 185#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 186#pseudo-device vlan # IEEE 802.1q encapsulation 187#pseudo-device bridge # simple inter-network bridging 188#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 189 190# miscellaneous pseudo-devices 191pseudo-device pty # pseudo-terminals 192pseudo-device rnd # /dev/random and in-kernel generator 193pseudo-device clockctl # user control of clock subsystem 194pseudo-device wsmux # mouse & keyboard multiplexor 195pseudo-device ksyms # /dev/ksyms 196