GENERIC revision 1.17
1# $NetBSD: GENERIC,v 1.17 2016/12/09 22:50:10 nat 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/emips/conf/std.emips" 22 23options INCLUDE_CONFIG_FILE # embed config file in kernel binary 24 25#ident "GENERIC-$Revision: 1.17 $" 26 27maxusers 64 28 29options MIPS1 # R2000/R3000 CPUs 30options NOFPU # No FPU 31options SOFTFLOAT # emulate FPU insn 32 33# Support eMIPS-based systems 34options XILINX_ML40X # Xilinx Ml401/2 dev boards 35options XS_BEE3 # MSR/BeCube BEE3 system 36 37# Standard system options 38options DDB # in-kernel debugger 39options DDB_HISTORY_SIZE=100 # enable history editing in DDB 40options DDB_ONPANIC=1 # enter debugger on panic 41#options DIAGNOSTIC # extra kernel debugging checks 42#options DEBUG # extra kernel debugging support 43options COMPAT_43 # compatibility with 4.3BSD binaries 44options KTRACE # system call tracing support 45#options SYSTRACE # system call vetting via systrace(1) 46 47options SYSVMSG # System V-like message queues 48options SYSVSEM # System V-like semaphores 49#options SEMMNI=10 # number of semaphore identifiers 50#options SEMMNS=60 # number of semaphores in system 51#options SEMUME=10 # max number of undo entries per process 52#options SEMMNU=30 # number of undo structures in system 53options SYSVSHM # System V-like memory sharing 54#options SHMMAXPGS=1024 # 1024 pages is the default 55 56options USERCONF # userconf(4) support 57#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 58options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 59 60# Enable experimental buffer queue strategy for better responsiveness under 61# high disk I/O load. Use it with caution - it's not proven to be stable yet. 62#options BUFQ_READPRIO 63#options BUFQ_PRIOCSCAN 64 65# Old 4.4BSD/emips kgdb options 66#options KGDB # support for kernel gdb 67#options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600) 68#options KGDB_DEV="15*256+0" # device for kernel gdb 69 70options NTP # network time protocol 71 72 73# Filesystem options 74file-system FFS # fast filesystem with user and group quotas 75file-system MFS # memory-based filesystem 76file-system NFS # Sun NFS-compatible filesystem (client) 77file-system LFS # Log-based filesystem (still experimental) 78file-system CD9660 # ISO 9660 + Rock Ridge file system 79file-system MSDOSFS # MS-DOS file system 80file-system FDESC # /dev/fd 81file-system KERNFS # /kern (kernel informational filesystem) 82file-system NULLFS # loopback file system 83file-system OVERLAY # overlay file system 84file-system PROCFS # /proc 85file-system UMAPFS # NULLFS + uid and gid remapping 86file-system UNION 87file-system PTYFS # /dev/pts/N support 88file-system TMPFS # Efficient memory file-system 89file-system UDF # experimental - OSTA UDF CD/DVD file-system 90 91options NFSSERVER # Sun NFS-compatible filesystem (server) 92options QUOTA # legacy UFS quotas 93options QUOTA2 # new, in-filesystem UFS quotas 94options FFS_EI # FFS Endian Independent support 95#options FFS_NO_SNAPSHOT # No FFS snapshot support 96options UFS_EXTATTR # Extended attribute support for UFS1 97#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 98 99# Networking options 100options INET # Internet protocols 101options INET6 # IPV6 102#options IPSEC # IP security 103#options IPSEC_DEBUG # debug for IP security 104#options GATEWAY # IP packet forwarding 105#options MROUTING # Multicast routing support 106#options PIM # Protocol Independent Multicast 107#options NETATALK # AppleTalk networking protocols 108options PPP_BSDCOMP # BSD-Compress compression support for PPP 109options PPP_DEFLATE # Deflate compression support for PPP 110options PPP_FILTER # Active filter support for PPP (requires bpf) 111options IPFILTER_LOG # ipmon(8) log support 112options IPFILTER_LOOKUP # ippool(8) 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 ALTQ # Manipulate network interfaces' output queues 117#options ALTQ_BLUE # Stochastic Fair Blue 118#options ALTQ_CBQ # Class-Based Queueing 119#options ALTQ_CDNR # Diffserv Traffic Conditioner 120#options ALTQ_FIFOQ # First-In First-Out Queue 121#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 122#options ALTQ_HFSC # Hierarchical Fair Service Curve 123#options ALTQ_LOCALQ # Local queueing discipline 124#options ALTQ_PRIQ # Priority Queueing 125#options ALTQ_RED # Random Early Detection 126#options ALTQ_RIO # RED with IN/OUT 127#options ALTQ_WFQ # Weighted Fair Queueing 128 129# NetBSD backwards compatibility 130#options COMPAT_10 # NetBSD 1.0, (needed for X on 386?) 131#options COMPAT_11 # NetBSD 1.1, EXEC_ELF_NOTELESS 132options COMPAT_12 # NetBSD 1.2 reboot(), EXEC_ELF_NOTELESS 133options COMPAT_13 # NetBSD 1.3, 134options COMPAT_14 # NetBSD 1.4, 135options COMPAT_15 # NetBSD 1.5, 136options COMPAT_16 # NetBSD 1.6, 137options COMPAT_20 # NetBSD 2.0, and 138options COMPAT_30 # NetBSD 3.0 binary compatibility. 139options COMPAT_386BSD_MBRPART # recognize old partition ID 140#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 141options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 142 143# Workstation console options 144#options FONT_BOLD8x16 145#options FONT_GALLANT12x22 146 147#options WSEMUL_VT100 148#options WSDISPLAY_COMPAT_USL # wsconscfg VT handling 149#options WS_KERNEL_FG=WSCOL_GREEN 150#options WS_KERNEL_BG=WSCOL_BLACK 151 152# Disable kernel security levels. Needed for X with a PX or PXG. 153#options INSECURE 154 155# emips specific 156options HZ=16 # RTC rate required, uses timecounter 157 158options NFS_BOOT_DHCP # superset of BOOTP 159options NFS_BOOT_RWSIZE=1024 160 161config netbsd root on ? type ? 162config nfsnetbsd root on ? type nfs 163mainbus0 at root 164cpu* at mainbus0 165 166## Peripheral Bus Support (for devices to attach to) 167## ---------------------------------------------------------------------------- 168 169# eMIPS systems 170ebus0 at mainbus0 171eclock* at ebus0 addr ? # clock 172dz* at ebus0 addr ? # usart 173enic* at ebus0 addr ? # ethernet 174ace* at ebus0 addr ? # disk 175eflash* at ebus0 addr ? # flash memory 176icap* at ebus0 addr ? # ICAP interface 177evga* at ebus0 addr ? # eVGA graphics 178pstwo* at ebus0 addr ? # PS2 mouse and kbd 179acns* at ebus0 addr ? # AC97 audio 180epio* at ebus0 addr ? # GPIO interface 181gpio* at epio? 182lcd* at ebus0 addr ? # lcd display 183 184######################################################################### 185# Pseudo-devices # 186######################################################################### 187 188pseudo-device loop # network loopback 189pseudo-device sl # serial-line IP ports 190pseudo-device ppp # serial-line IP ports 191pseudo-device pppoe # PPP over Ethernet (RFC 2516) 192pseudo-device pty # pseudo-terminals 193pseudo-device bpfilter # packet filter ports 194#pseudo-device carp # Common Address Redundancy Protocol 195pseudo-device ipfilter # IP filter, NAT 196#pseudo-device gre # generic L3 over IP tunnel 197pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 198#pseudo-device faith # IPv[46] tcp relay translation i/f 199pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 200pseudo-device vlan # IEEE 802.1q encapsulation 201pseudo-device bridge # simple inter-network bridging 202#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 203pseudo-device agr # IEEE 802.3ad link aggregation 204 205pseudo-device vnd # virtual disk ick 206#options VND_COMPRESSION # compressed vnd(4) 207pseudo-device ccd # concatenated disks 208#pseudo-device cgd # cryptographic disk devices 209#pseudo-device raid # RAIDframe disk driver 210#options RAID_AUTOCONFIG # auto-configuration of RAID components 211# Options to enable various other RAIDframe RAID types. 212#options RF_INCLUDE_EVENODD=1 213#options RF_INCLUDE_RAID5_RS=1 214#options RF_INCLUDE_PARITYLOGGING=1 215#options RF_INCLUDE_CHAINDECLUSTER=1 216#options RF_INCLUDE_INTERDECLUSTER=1 217#options RF_INCLUDE_PARITY_DECLUSTERING=1 218#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 219pseudo-device fss # file system snapshot device 220 221pseudo-device clockctl # user control of clock subsystem 222pseudo-device ksyms # /dev/ksyms 223#pseudo-device pf # PF packet filter 224#pseudo-device pflog # PF log if 225