1# $NetBSD: GENERIC,v 1.1 2011/01/26 01:18:49 pooka 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.1 $" 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 55options P1003_1B_SEMAPHORE # p1003.1b semaphore support 56 57options USERCONF # userconf(4) support 58#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 59options SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 60 61# Enable experimental buffer queue strategy for better responsiveness under 62# high disk I/O load. Use it with caution - it's not proven to be stable yet. 63#options BUFQ_READPRIO 64#options BUFQ_PRIOCSCAN 65 66# Old 4.4BSD/emips kgdb options 67#options KGDB # support for kernel gdb 68#options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600) 69#options KGDB_DEV="15*256+0" # device for kernel gdb 70 71options NTP # network time protocol 72 73 74# Filesystem options 75file-system FFS # fast filesystem with user and group quotas 76file-system MFS # memory-based filesystem 77file-system NFS # Sun NFS-compatible filesystem (client) 78file-system LFS # Log-based filesystem (still experimental) 79file-system CD9660 # ISO 9660 + Rock Ridge file system 80file-system MSDOSFS # MS-DOS file system 81file-system FDESC # /dev/fd 82file-system KERNFS # /kern (kernel informational filesystem) 83file-system NULLFS # loopback file system 84file-system OVERLAY # overlay file system 85file-system PROCFS # /proc 86file-system UMAPFS # NULLFS + uid and gid remapping 87file-system UNION 88file-system PTYFS # /dev/pts/N support 89file-system TMPFS # Efficient memory file-system 90file-system UDF # experimental - OSTA UDF CD/DVD file-system 91 92options NFSSERVER # Sun NFS-compatible filesystem (server) 93options QUOTA # UFS quotas 94options FFS_EI # FFS Endian Independant support 95#options FFS_NO_SNAPSHOT # No FFS snapshot support 96#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 97 98# Networking options 99options INET # Internet protocols 100options INET6 # IPV6 101#options IPSEC # IP security 102#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 103#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 104#options IPSEC_DEBUG # debug for IP security 105#options GATEWAY # IP packet forwarding 106#options MROUTING # Multicast routing support 107#options PIM # Protocol Independent Multicast 108#options ISO # OSI networking 109#options TPIP # TPIP 110#options EON # OSI tunneling over IP 111#options NETATALK # AppleTalk networking protocols 112options PPP_BSDCOMP # BSD-Compress compression support for PPP 113options PPP_DEFLATE # Deflate compression support for PPP 114options PPP_FILTER # Active filter support for PPP (requires bpf) 115options PFIL_HOOKS # pfil(9) packet filter hooks 116options IPFILTER_LOG # ipmon(8) log support 117options IPFILTER_LOOKUP # ippool(8) support 118#options IPFILTER_DEFAULT_BLOCK # block all packets by default 119#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 120 121#options ALTQ # Manipulate network interfaces' output queues 122#options ALTQ_BLUE # Stochastic Fair Blue 123#options ALTQ_CBQ # Class-Based Queueing 124#options ALTQ_CDNR # Diffserv Traffic Conditioner 125#options ALTQ_FIFOQ # First-In First-Out Queue 126#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 127#options ALTQ_HFSC # Hierarchical Fair Service Curve 128#options ALTQ_LOCALQ # Local queueing discipline 129#options ALTQ_PRIQ # Priority Queueing 130#options ALTQ_RED # Random Early Detection 131#options ALTQ_RIO # RED with IN/OUT 132#options ALTQ_WFQ # Weighted Fair Queueing 133 134# NetBSD backwards compatibility 135#options COMPAT_10 # NetBSD 1.0, (needed for X on 386?) 136#options COMPAT_11 # NetBSD 1.1, EXEC_ELF_NOTELESS 137options COMPAT_12 # NetBSD 1.2 reboot(), EXEC_ELF_NOTELESS 138options COMPAT_13 # NetBSD 1.3 139options COMPAT_14 # NetBSD 1.4 140options COMPAT_15 # NetBSD 1.5 141options COMPAT_16 # NetBSD 1.6 142options COMPAT_20 # NetBSD 2.0 143options COMPAT_30 # NetBSD 3.0 compatibility. 144options COMPAT_386BSD_MBRPART # recognize old partition ID 145#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 146options COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 147 148# Workstation console options 149#options FONT_BOLD8x16 150#options FONT_GALLANT12x22 151 152#options WSEMUL_VT100 153#options WS_KERNEL_FG=WSCOL_GREEN 154#options WS_KERNEL_BG=WSCOL_BLACK 155 156# Disable kernel security levels. Needed for X with a PX or PXG. 157#options INSECURE 158 159# emips specific 160options HZ=16 # RTC rate required, uses timecounter 161 162options NFS_BOOT_DHCP # superset of BOOTP 163options NFS_BOOT_RWSIZE=1024 164 165config netbsd root on ? type ? 166config nfsnetbsd root on ? type nfs 167mainbus0 at root 168cpu* at mainbus0 169 170## Peripheral Bus Support (for devices to attach to) 171## ---------------------------------------------------------------------------- 172 173# eMIPS systems 174ebus0 at mainbus0 175eclock* at ebus0 addr ? # clock 176dz* at ebus0 addr ? # usart 177enic* at ebus0 addr ? # ethernet 178ace* at ebus0 addr ? # disk 179eflash* at ebus0 addr ? # flash memory 180icap* at ebus0 addr ? # ICAP interface 181evga* at ebus0 addr ? # eVGA graphics 182pstwo* at ebus0 addr ? # PS2 mouse and kbd 183acns* at ebus0 addr ? # AC97 audio 184epio* at ebus0 addr ? # GPIO interface 185gpio* at epio? 186lcd* at ebus0 addr ? # lcd display 187 188 189######################################################################### 190# Pseudo-devices # 191######################################################################### 192 193pseudo-device loop 1 # network loopback 194pseudo-device sl # serial-line IP ports 195pseudo-device ppp # serial-line IP ports 196pseudo-device pppoe # PPP over Ethernet (RFC 2516) 197pseudo-device pty # pseudo-terminals 198pseudo-device bpfilter # packet filter ports 199#pseudo-device carp # Common Address Redundancy Protocol 200pseudo-device ipfilter # IP filter, NAT 201#pseudo-device gre # generic L3 over IP tunnel 202pseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 203#pseudo-device faith # IPv[46] tcp relay translation i/f 204pseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 205pseudo-device vlan # IEEE 802.1q encapsulation 206pseudo-device bridge # simple inter-network bridging 207#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 208pseudo-device agr # IEEE 802.3ad link aggregation 209 210pseudo-device vnd # virtual disk ick 211#options VND_COMPRESSION # compressed vnd(4) 212pseudo-device ccd 4 # concatenated disks 213#pseudo-device cgd 4 # cryptographic disk devices 214#pseudo-device raid 8 # RAIDframe disk driver 215#options RAID_AUTOCONFIG # auto-configuration of RAID components 216# Options to enable various other RAIDframe RAID types. 217#options RF_INCLUDE_EVENODD=1 218#options RF_INCLUDE_RAID5_RS=1 219#options RF_INCLUDE_PARITYLOGGING=1 220#options RF_INCLUDE_CHAINDECLUSTER=1 221#options RF_INCLUDE_INTERDECLUSTER=1 222#options RF_INCLUDE_PARITY_DECLUSTERING=1 223#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 224pseudo-device fss # file system snapshot device 225 226pseudo-device rnd # /dev/random and in-kernel generator 227pseudo-device clockctl # user control of clock subsystem 228pseudo-device ksyms # /dev/ksyms 229#pseudo-device pf # PF packet filter 230#pseudo-device pflog # PF log if 231