GENERIC revision 1.47
1# $NetBSD: GENERIC,v 1.47 2005/01/07 11:32:43 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) 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 52options 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=204800 60#options SYSCALL_DEBUG 61#options UVMHIST 62#options UVMHIST_PRINT 63 64# Compatibility options 65options COMPAT_43 # and 4.3BSD 66#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 67options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 68 69# Executable format options 70options EXEC_COFF # COFF executables 71options EXEC_ELF32 # 32-bit ELF executables 72 73# File systems 74file-system FFS # UFS 75#file-system EXT2FS # second extended file system (linux) 76#file-system LFS # log-structured file system 77file-system MFS # memory file system 78file-system NFS # Network File System client 79file-system CD9660 # CD-ROM file system 80#file-system MSDOSFS # MS-DOS file system 81file-system FDESC # /dev/fd 82file-system KERNFS # /kern 83file-system PROCFS # /proc 84#file-system NULLFS # loopback file system 85#file-system OVERLAY # overlay file system 86#file-system PORTAL # portal file system (still experimental) 87#file-system UMAPFS # NULLFS + uid and gid remapping 88#file-system UNION # union file system 89 90# File system options 91#options QUOTA # UFS quotas 92#options FFS_EI # FFS Endian Independent supoprt 93#options SOFTDEP # FFS soft updates support 94#options NFSSERVER # Network File System server 95#options EXT2FS_SYSTEM_FLAGS # makes ext2fs file flags (append and 96 # immutable) behave as system flags. 97 98# Networking options 99options INET # IP + ICMP + TCP + UDP 100options INET6 # IPV6 101#options IPSEC # IP security 102#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 103#options IPSEC_DEBUG # debug for IP security 104#options MROUTING # IP multicast routing 105#options PIM # Protocol Independent Multicast 106#options NS # XNS 107#options NSIP # XNS tunneling over IP 108#options ISO,TPIP # OSI 109#options EON # OSI tunneling over IP 110#options CCITT,LLC, HDLC # X.25 111#options NETATALK # AppleTalk networking protocols 112#options PPP_BSDCOMP # BSD-Compress compression support for PPP 113#options PPP_DEFLATE # Deflrate compression support for PPP 114#options PPP_FILTER # Active filter support for PPP (requires bpf) 115#options PFIL_HOOKS # pfil(9) packet filter hooks 116#options IPFILTER_LOG # ipmon(8) log support 117#options IPFILTER_DEFAULT_BLOCK # block all packets by default 118#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 119 120#options ALTQ # Manipulate network interfaces' output queues 121#options ALTQ_BLUE # Stochastic Fair Blue 122#options ALTQ_CBQ # Class-Based Queueing 123#options ALTQ_CDNR # Diffserv Traffic Conditioner 124#options ALTQ_FIFOQ # First-In First-Out Queue 125#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 126#options ALTQ_HFSC # Hierarchical Fair Service Curve 127#options ALTQ_LOCALQ # Local queueing discipline 128#options ALTQ_PRIQ # Priority Queueing 129#options ALTQ_RED # Random Early Detection 130#options ALTQ_RIO # RED with IN/OUT 131#options ALTQ_WFQ # Weighted Fair Queueing 132 133#options PCIVERBOSE # verbose PCI device autoconfig messages 134#options MIIVERBOSE # verbose PHY autoconfig messages 135#options PCI_CONFIG_DUMP # verbosely dump PCI config space 136 137options NFS_BOOT_DHCP # Support DHCP NFS root 138 139options KLOADER # in-kernel bootloader 140#options KLOADER_DEBUG 141 142# wscons options 143options WSEMUL_VT100 # VT100 / VT220 emulation 144options FONT_BOLD8x16 145#options FONT_SONY8x16 146 147# Kernel root file system and dump configuration. 148#config netbsd root on ? type nfs 149#config netbsd root on wd0a type ffs 150config netbsd root on ? type ? 151 152# 153# Device configuration 154# 155 156mainbus0 at root 157 158cpu* at mainbus? 159shb* at mainbus? 160 161# Serial Devices 162#options SCIFCONSOLE 163options SCIFCN_SPEED=57600 164scif0 at shb? 165 166pvr0 at shb? 167wsdisplay* at pvr? console ? 168 169maple0 at shb? 170 171mkbd* at maple? port ? subunit ? 172wskbd* at mkbd? mux 1 console ? 173 174mms* at maple? port ? subunit ? 175wsmouse* at mms? mux 0 176 177mmem* at maple? port ? subunit ? 178mlcd* at maple? port ? subunit ? 179 180gdrom0 at shb? 181 182g2bus0 at shb? 183gapspci* at g2bus? # GAPS PCI bridge 184pci* at gapspci? 185rtk* at pci? dev ? function ? # SEGA Broadband Adapter 186ukphy* at mii? phy ? 187 188mbe* at g2bus? # SEGA LAN Adapter 189 190aica* at g2bus? # AICA Sound Processing Unit 191audio* at aica? 192 193#pseudo-device cgd 2 # cryptographic disk devices 194pseudo-device md 1 # memory disk device (ramdisk) 195pseudo-device vnd 2 # disk-like interface to files 196 197# network pseudo-devices 198pseudo-device bpfilter 4 # Berkeley packet filter 199#pseudo-device ipfilter # IP filter (firewall) and NAT 200pseudo-device loop # network loopback 201#pseudo-device ppp 1 # Point-to-Point Protocol 202#pseudo-device pppoe # PPP over Ethernet (RFC 2516) 203#pseudo-device sl 1 # Serial Line IP 204#pseudo-device tun 1 # network tunneling over tty 205#pseudo-device gre 1 # generic L3 over IP tunnel 206#pseudo-device gif 1 # IPv[46] over IPv[46] tunnel (RFC1933) 207#pseudo-device faith 1 # IPv[46] tcp relay translation i/f 208#pseudo-device stf 1 # 6to4 IPv6 over IPv4 encapsulation 209#pseudo-device vlan # IEEE 802.1q encapsulation 210#pseudo-device bridge # simple inter-network bridging 211#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 212 213# miscellaneous pseudo-devices 214pseudo-device pty # pseudo-terminals 215pseudo-device rnd # /dev/random and in-kernel generator 216pseudo-device clockctl # user control of clock subsystem 217pseudo-device wsmux # mouse & keyboard multiplexor 218pseudo-device ksyms # /dev/ksyms 219#pseudo-device pf # PF packet filter 220#pseudo-device pflog # PF log if 221