GENERIC revision 1.2
11.2Sbouyer# $NetBSD: GENERIC,v 1.2 2011/03/06 17:08:22 bouyer Exp $ 21.1Spooka# 31.1Spooka# GENERIC machine description file 41.1Spooka# 51.1Spooka# This machine description file is used to generate the default NetBSD 61.1Spooka# kernel. The generic kernel does not include all options, subsystems 71.1Spooka# and device drivers, but should be useful for most applications. 81.1Spooka# 91.1Spooka# The machine description file can be customised for your specific 101.1Spooka# machine to reduce the kernel size and improve its performance. 111.1Spooka# 121.1Spooka# For further information on compiling NetBSD kernels, see the config(8) 131.1Spooka# man page. 141.1Spooka# 151.1Spooka# For further information on hardware support for this architecture, see 161.1Spooka# the intro(4) man page. For further information about kernel options 171.1Spooka# for this architecture, see the options(4) man page. For an explanation 181.1Spooka# of each device driver in this file see the section 4 man page for the 191.1Spooka# device. 201.1Spooka 211.1Spookainclude "arch/emips/conf/std.emips" 221.1Spooka 231.1Spookaoptions INCLUDE_CONFIG_FILE # embed config file in kernel binary 241.1Spooka 251.2Sbouyer#ident "GENERIC-$Revision: 1.2 $" 261.1Spooka 271.1Spookamaxusers 64 281.1Spooka 291.1Spookaoptions MIPS1 # R2000/R3000 CPUs 301.1Spookaoptions NOFPU # No FPU 311.1Spookaoptions SOFTFLOAT # emulate FPU insn 321.1Spooka 331.1Spooka# Support eMIPS-based systems 341.1Spookaoptions XILINX_ML40X # Xilinx Ml401/2 dev boards 351.1Spookaoptions XS_BEE3 # MSR/BeCube BEE3 system 361.1Spooka 371.1Spooka# Standard system options 381.1Spookaoptions DDB # in-kernel debugger 391.1Spookaoptions DDB_HISTORY_SIZE=100 # enable history editing in DDB 401.1Spookaoptions DDB_ONPANIC=1 # enter debugger on panic 411.1Spooka#options DIAGNOSTIC # extra kernel debugging checks 421.1Spooka#options DEBUG # extra kernel debugging support 431.1Spookaoptions COMPAT_43 # compatibility with 4.3BSD binaries 441.1Spookaoptions KTRACE # system call tracing support 451.1Spooka#options SYSTRACE # system call vetting via systrace(1) 461.1Spooka 471.1Spookaoptions SYSVMSG # System V-like message queues 481.1Spookaoptions SYSVSEM # System V-like semaphores 491.1Spooka#options SEMMNI=10 # number of semaphore identifiers 501.1Spooka#options SEMMNS=60 # number of semaphores in system 511.1Spooka#options SEMUME=10 # max number of undo entries per process 521.1Spooka#options SEMMNU=30 # number of undo structures in system 531.1Spookaoptions SYSVSHM # System V-like memory sharing 541.1Spooka#options SHMMAXPGS=1024 # 1024 pages is the default 551.1Spookaoptions P1003_1B_SEMAPHORE # p1003.1b semaphore support 561.1Spooka 571.1Spookaoptions USERCONF # userconf(4) support 581.1Spooka#options PIPE_SOCKETPAIR # smaller, but slower pipe(2) 591.1Spookaoptions SYSCTL_INCLUDE_DESCR # Include sysctl descriptions in kernel 601.1Spooka 611.1Spooka# Enable experimental buffer queue strategy for better responsiveness under 621.1Spooka# high disk I/O load. Use it with caution - it's not proven to be stable yet. 631.1Spooka#options BUFQ_READPRIO 641.1Spooka#options BUFQ_PRIOCSCAN 651.1Spooka 661.1Spooka# Old 4.4BSD/emips kgdb options 671.1Spooka#options KGDB # support for kernel gdb 681.1Spooka#options KGDB_DEVRATE=19200 # kernel gdb port rate (default 9600) 691.1Spooka#options KGDB_DEV="15*256+0" # device for kernel gdb 701.1Spooka 711.1Spookaoptions NTP # network time protocol 721.1Spooka 731.1Spooka 741.1Spooka# Filesystem options 751.1Spookafile-system FFS # fast filesystem with user and group quotas 761.1Spookafile-system MFS # memory-based filesystem 771.1Spookafile-system NFS # Sun NFS-compatible filesystem (client) 781.1Spookafile-system LFS # Log-based filesystem (still experimental) 791.1Spookafile-system CD9660 # ISO 9660 + Rock Ridge file system 801.1Spookafile-system MSDOSFS # MS-DOS file system 811.1Spookafile-system FDESC # /dev/fd 821.1Spookafile-system KERNFS # /kern (kernel informational filesystem) 831.1Spookafile-system NULLFS # loopback file system 841.1Spookafile-system OVERLAY # overlay file system 851.1Spookafile-system PROCFS # /proc 861.1Spookafile-system UMAPFS # NULLFS + uid and gid remapping 871.1Spookafile-system UNION 881.1Spookafile-system PTYFS # /dev/pts/N support 891.1Spookafile-system TMPFS # Efficient memory file-system 901.1Spookafile-system UDF # experimental - OSTA UDF CD/DVD file-system 911.1Spooka 921.1Spookaoptions NFSSERVER # Sun NFS-compatible filesystem (server) 931.2Sbouyeroptions QUOTA # legacy UFS quotas 941.2Sbouyeroptions QUOTA2 # new, in-filesystem UFS quotas 951.1Spookaoptions FFS_EI # FFS Endian Independant support 961.1Spooka#options FFS_NO_SNAPSHOT # No FFS snapshot support 971.1Spooka#options UFS_DIRHASH # UFS Large Directory Hashing - Experimental 981.1Spooka 991.1Spooka# Networking options 1001.1Spookaoptions INET # Internet protocols 1011.1Spookaoptions INET6 # IPV6 1021.1Spooka#options IPSEC # IP security 1031.1Spooka#options IPSEC_ESP # IP security (encryption part; define w/IPSEC) 1041.1Spooka#options IPSEC_NAT_T # IPsec NAT traversal (NAT-T) 1051.1Spooka#options IPSEC_DEBUG # debug for IP security 1061.1Spooka#options GATEWAY # IP packet forwarding 1071.1Spooka#options MROUTING # Multicast routing support 1081.1Spooka#options PIM # Protocol Independent Multicast 1091.1Spooka#options ISO # OSI networking 1101.1Spooka#options TPIP # TPIP 1111.1Spooka#options EON # OSI tunneling over IP 1121.1Spooka#options NETATALK # AppleTalk networking protocols 1131.1Spookaoptions PPP_BSDCOMP # BSD-Compress compression support for PPP 1141.1Spookaoptions PPP_DEFLATE # Deflate compression support for PPP 1151.1Spookaoptions PPP_FILTER # Active filter support for PPP (requires bpf) 1161.1Spookaoptions PFIL_HOOKS # pfil(9) packet filter hooks 1171.1Spookaoptions IPFILTER_LOG # ipmon(8) log support 1181.1Spookaoptions IPFILTER_LOOKUP # ippool(8) support 1191.1Spooka#options IPFILTER_DEFAULT_BLOCK # block all packets by default 1201.1Spooka#options TCP_DEBUG # Record last TCP_NDEBUG packets with SO_DEBUG 1211.1Spooka 1221.1Spooka#options ALTQ # Manipulate network interfaces' output queues 1231.1Spooka#options ALTQ_BLUE # Stochastic Fair Blue 1241.1Spooka#options ALTQ_CBQ # Class-Based Queueing 1251.1Spooka#options ALTQ_CDNR # Diffserv Traffic Conditioner 1261.1Spooka#options ALTQ_FIFOQ # First-In First-Out Queue 1271.1Spooka#options ALTQ_FLOWVALVE # RED/flow-valve (red-penalty-box) 1281.1Spooka#options ALTQ_HFSC # Hierarchical Fair Service Curve 1291.1Spooka#options ALTQ_LOCALQ # Local queueing discipline 1301.1Spooka#options ALTQ_PRIQ # Priority Queueing 1311.1Spooka#options ALTQ_RED # Random Early Detection 1321.1Spooka#options ALTQ_RIO # RED with IN/OUT 1331.1Spooka#options ALTQ_WFQ # Weighted Fair Queueing 1341.1Spooka 1351.1Spooka# NetBSD backwards compatibility 1361.1Spooka#options COMPAT_10 # NetBSD 1.0, (needed for X on 386?) 1371.1Spooka#options COMPAT_11 # NetBSD 1.1, EXEC_ELF_NOTELESS 1381.1Spookaoptions COMPAT_12 # NetBSD 1.2 reboot(), EXEC_ELF_NOTELESS 1391.1Spookaoptions COMPAT_13 # NetBSD 1.3 1401.1Spookaoptions COMPAT_14 # NetBSD 1.4 1411.1Spookaoptions COMPAT_15 # NetBSD 1.5 1421.1Spookaoptions COMPAT_16 # NetBSD 1.6 1431.1Spookaoptions COMPAT_20 # NetBSD 2.0 1441.1Spookaoptions COMPAT_30 # NetBSD 3.0 compatibility. 1451.1Spookaoptions COMPAT_386BSD_MBRPART # recognize old partition ID 1461.1Spooka#options TCP_COMPAT_42 # 4.2BSD TCP/IP bug compat. Not recommended. 1471.1Spookaoptions COMPAT_BSDPTY # /dev/[pt]ty?? ptys. 1481.1Spooka 1491.1Spooka# Workstation console options 1501.1Spooka#options FONT_BOLD8x16 1511.1Spooka#options FONT_GALLANT12x22 1521.1Spooka 1531.1Spooka#options WSEMUL_VT100 1541.1Spooka#options WS_KERNEL_FG=WSCOL_GREEN 1551.1Spooka#options WS_KERNEL_BG=WSCOL_BLACK 1561.1Spooka 1571.1Spooka# Disable kernel security levels. Needed for X with a PX or PXG. 1581.1Spooka#options INSECURE 1591.1Spooka 1601.1Spooka# emips specific 1611.1Spookaoptions HZ=16 # RTC rate required, uses timecounter 1621.1Spooka 1631.1Spookaoptions NFS_BOOT_DHCP # superset of BOOTP 1641.1Spookaoptions NFS_BOOT_RWSIZE=1024 1651.1Spooka 1661.1Spookaconfig netbsd root on ? type ? 1671.1Spookaconfig nfsnetbsd root on ? type nfs 1681.1Spookamainbus0 at root 1691.1Spookacpu* at mainbus0 1701.1Spooka 1711.1Spooka## Peripheral Bus Support (for devices to attach to) 1721.1Spooka## ---------------------------------------------------------------------------- 1731.1Spooka 1741.1Spooka# eMIPS systems 1751.1Spookaebus0 at mainbus0 1761.1Spookaeclock* at ebus0 addr ? # clock 1771.1Spookadz* at ebus0 addr ? # usart 1781.1Spookaenic* at ebus0 addr ? # ethernet 1791.1Spookaace* at ebus0 addr ? # disk 1801.1Spookaeflash* at ebus0 addr ? # flash memory 1811.1Spookaicap* at ebus0 addr ? # ICAP interface 1821.1Spookaevga* at ebus0 addr ? # eVGA graphics 1831.1Spookapstwo* at ebus0 addr ? # PS2 mouse and kbd 1841.1Spookaacns* at ebus0 addr ? # AC97 audio 1851.1Spookaepio* at ebus0 addr ? # GPIO interface 1861.1Spookagpio* at epio? 1871.1Spookalcd* at ebus0 addr ? # lcd display 1881.1Spooka 1891.1Spooka 1901.1Spooka######################################################################### 1911.1Spooka# Pseudo-devices # 1921.1Spooka######################################################################### 1931.1Spooka 1941.1Spookapseudo-device loop 1 # network loopback 1951.1Spookapseudo-device sl # serial-line IP ports 1961.1Spookapseudo-device ppp # serial-line IP ports 1971.1Spookapseudo-device pppoe # PPP over Ethernet (RFC 2516) 1981.1Spookapseudo-device pty # pseudo-terminals 1991.1Spookapseudo-device bpfilter # packet filter ports 2001.1Spooka#pseudo-device carp # Common Address Redundancy Protocol 2011.1Spookapseudo-device ipfilter # IP filter, NAT 2021.1Spooka#pseudo-device gre # generic L3 over IP tunnel 2031.1Spookapseudo-device gif # IPv[46] over IPv[46] tunnel (RFC1933) 2041.1Spooka#pseudo-device faith # IPv[46] tcp relay translation i/f 2051.1Spookapseudo-device stf # 6to4 IPv6 over IPv4 encapsulation 2061.1Spookapseudo-device vlan # IEEE 802.1q encapsulation 2071.1Spookapseudo-device bridge # simple inter-network bridging 2081.1Spooka#options BRIDGE_IPF # bridge uses IP/IPv6 pfil hooks too 2091.1Spookapseudo-device agr # IEEE 802.3ad link aggregation 2101.1Spooka 2111.1Spookapseudo-device vnd # virtual disk ick 2121.1Spooka#options VND_COMPRESSION # compressed vnd(4) 2131.1Spookapseudo-device ccd 4 # concatenated disks 2141.1Spooka#pseudo-device cgd 4 # cryptographic disk devices 2151.1Spooka#pseudo-device raid 8 # RAIDframe disk driver 2161.1Spooka#options RAID_AUTOCONFIG # auto-configuration of RAID components 2171.1Spooka# Options to enable various other RAIDframe RAID types. 2181.1Spooka#options RF_INCLUDE_EVENODD=1 2191.1Spooka#options RF_INCLUDE_RAID5_RS=1 2201.1Spooka#options RF_INCLUDE_PARITYLOGGING=1 2211.1Spooka#options RF_INCLUDE_CHAINDECLUSTER=1 2221.1Spooka#options RF_INCLUDE_INTERDECLUSTER=1 2231.1Spooka#options RF_INCLUDE_PARITY_DECLUSTERING=1 2241.1Spooka#options RF_INCLUDE_PARITY_DECLUSTERING_DS=1 2251.1Spookapseudo-device fss # file system snapshot device 2261.1Spooka 2271.1Spookapseudo-device rnd # /dev/random and in-kernel generator 2281.1Spookapseudo-device clockctl # user control of clock subsystem 2291.1Spookapseudo-device ksyms # /dev/ksyms 2301.1Spooka#pseudo-device pf # PF packet filter 2311.1Spooka#pseudo-device pflog # PF log if 232